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

@Getter,
@Setter
public class OrchidMenuItemImpl extends Object

public

Fields

OrchidContext context final

String alias

List children

OrchidPage page

String anchor

String title

boolean isSeparator

Comparator indexComparator

Constructors

OrchidMenuItemImpl(OrchidContext context, String title, OrchidIndex index) public

Parameters:
OrchidMenuItemImpl(OrchidContext context, String title, List<E> pages) public

Parameters:
  • OrchidContext context
  • @NonNull
    String title
  • @NonNull
    List pages
OrchidMenuItemImpl(OrchidContext context, List<E> menuItems, String title) public

Parameters:
  • OrchidContext context
  • @NonNull
    List menuItems
  • @NonNull
    String title
OrchidMenuItemImpl(OrchidContext context, String title, OrchidPage page) public

Parameters:
OrchidMenuItemImpl(OrchidContext context, OrchidPage page) public

Parameters:
OrchidMenuItemImpl(OrchidContext context, String dividerTitle) public

Parameters:
OrchidMenuItemImpl(OrchidContext context) public

Parameters:

Methods

String getTitle() public

List<E> getChildren() public

OrchidPage getPage() public

void isSeparator() public

void isActivePage(OrchidPage page) public

Parameters:
void isActive(OrchidPage page) public

Parameters:
void hasActivePage(OrchidPage page) public

Parameters:
String activeClass(OrchidPage page) public

Parameters:
String activeClass(OrchidPage page, String className) public

Parameters:
void isHasChildren() public

void hasChildren() public