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

@Extensible
public abstract class OrchidMenuItem extends Prioritized implements ModularPageListItem<L, I>

since: v1.0.0 public abstract

Fields

OrchidContext context final

String type final
Field Annotations:
@Getter

OrchidPage page
Field Annotations:
@Setter

int order
Field Annotations:
@Getter,
@Setter,
@Option,
@IntDefault(
    value=0),
@Description(
    value="By default, menu items are rendered in the order in which they are declared, but the ordering can be changed by setting the order on any individual menu item. A higher value for order will render that menu item earlier in the list.")

Constructors

OrchidMenuItem(OrchidContext context, String type, int priority) public

Parameters:

Methods

void canBeUsedOnPage(OrchidPage containingPage, OrchidMenu menu, List<E> possibleMenuItems, List<E> currentMenuItems) public

Parameters:
List<E> getMenuItems() abstract public