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 getType(): String
Parameters:
  • No parameters
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
abstract fun getMenuItems(): MutableList
Parameters:
  • No parameters
open fun getOrder(): Int
Parameters:
  • No parameters
open fun setOrder(order: Int)
Parameters:
  • order: Int