Class SelectableNavigationItem

java.lang.Object
io.goobi.viewer.model.cms.CMSNavigationItem
io.goobi.viewer.model.cms.SelectableNavigationItem
All Implemented Interfaces:
Serializable, Comparable<CMSNavigationItem>

public class SelectableNavigationItem extends CMSNavigationItem
A CMSNavigationItem which can be selected and deselected. Used for selecting available NavigationItems to be used in the navigation menu
Author:
Florian Alpers
See Also:
  • Constructor Details

    • SelectableNavigationItem

      public SelectableNavigationItem()

      Constructor for SelectableNavigationItem.

    • SelectableNavigationItem

      public SelectableNavigationItem(CMSNavigationItem original)

      Constructor for SelectableNavigationItem.

      Parameters:
      original - a CMSNavigationItem object.
    • SelectableNavigationItem

      public SelectableNavigationItem(CMSPage cmsPage)

      Constructor for SelectableNavigationItem.

      Parameters:
      cmsPage - a CMSPage object.
    • SelectableNavigationItem

      public SelectableNavigationItem(String targetUrl, String label)

      Constructor for SelectableNavigationItem.

      Parameters:
      targetUrl - a String object.
      label - a String object.
  • Method Details

    • setSelected

      public void setSelected(boolean selected)

      Setter for the field selected.

      Parameters:
      selected - the selected to set
    • isSelected

      public boolean isSelected()

      isSelected.

      Returns:
      the selected