Interface PerspectiveItem
-
- All Known Subinterfaces:
PerspectiveActionItem,PerspectiveItemWithIcon,PerspectiveSectionItem
public interface PerspectiveItemInterface that represents a perspective item.- Since:
- 6.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserMessagegetDescription()Returns the description of this item.intgetId()Returns the id of this item.UserMessagegetLabel(Locale aLocale)Returns the label of this item.PerspectiveItemgetParent()Returns the parent item of this item.PerspectiveItemTypegetType()Returns the type of this item.booleanisAncestorOf(PerspectiveItem anItem)Returns true only if this item is an ancestor of the item specified as parameter.
-
-
-
Method Detail
-
getId
int getId()
Returns the id of this item.
-
getType
PerspectiveItemType getType()
Returns the type of this item.
-
getParent
PerspectiveItem getParent()
Returns the parent item of this item.
-
getLabel
UserMessage getLabel(Locale aLocale)
Returns the label of this item.
-
getDescription
UserMessage getDescription()
Returns the description of this item.
-
isAncestorOf
boolean isAncestorOf(PerspectiveItem anItem)
Returns true only if this item is an ancestor of the item specified as parameter. (An item is not considered as an ancestor of itself).
-
-