In package com.eden.orchid.api.theme.menus

class com.eden.orchid.api.theme.menus.OrchidMenuFactory

Constructors

constructor(context: OrchidContext, type: String, priority: Int)
Parameters:

Methods

open fun setSubmenuTitle(submenuTitle: String)
Parameters:
  • submenuTitle: String
open fun getType(): String
Parameters:
  • No parameters
open fun setAllData(allData: MutableMap)
Parameters:
  • allData: MutableMap
open fun setPage(page: OrchidPage)
Parameters:
open fun canBeUsedOnPage(containingPage: OrchidPage, menu: OrchidMenu, possibleMenuItems: MutableList, currentMenuItems: MutableList): Boolean
Parameters:
  • containingPage: OrchidPage
  • menu: OrchidMenu
  • possibleMenuItems: MutableList
  • currentMenuItems: MutableList
open fun setAsSubmenu(asSubmenu: Boolean)
Parameters:
  • asSubmenu: Boolean
open fun getAllData(): MutableMap
Parameters:
  • No parameters
abstract fun getMenuItems(): MutableList
Parameters:
  • No parameters
open fun isAsSubmenu(): Boolean
Parameters:
  • No parameters
open fun getSubmenuTitle(): String
Parameters:
  • No parameters
open fun getOrder(): Int
Parameters:
  • No parameters
open fun setOrder(order: Int)
Parameters:
  • order: Int