Klasse ItemMenuItem
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElement
ch.nolix.system.webgui.itemmenu.base.ItemMenuItem
- Alle implementierten Schnittstellen:
IIdHolder,Resettable,BlanknessRequestable,IElement,IMutableElement,Selectable,SelectionRequestable,IItemMenuItem<ItemMenuItem>
public final class ItemMenuItem
extends AbstractMutableElement
implements IItemMenuItem<ItemMenuItem>
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanstatic ItemMenuItemstatic ItemMenuItemfromSpecification(INode<?> specification) getId()getText()voidinternalSetParentMenu(IItemMenu<?, ?> parentMenu) booleanisBlank()booleanvoidreset()Resets the currentResettable.voidselect()voidunselect()static ItemMenuItemwithIdAndText(String id, String text) static ItemMenuItemwithIdAndTextAndSelectAction(String id, String text, Runnable selectAction) static ItemMenuItemwithIdAndTextAndSelectAction(String id, String text, Consumer<IItemMenuItem<?>> selectAction) static ItemMenuItemstatic ItemMenuItemwithTextAndSelectAction(String text, Runnable selectAction) static ItemMenuItemwithTextAndSelectAction(String text, Consumer<IItemMenuItem<?>> selectAction) Von Klasse geerbte Methoden ch.nolix.system.element.mutableelement.AbstractMutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toStringVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.base.IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.mandatoryattribute.IIdHolder
getIdInQuotes, hasIdVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.mutableelement.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecification
-
Felddetails
-
DEFAULT_SELECTION_FLAG
public static final boolean DEFAULT_SELECTION_FLAG- Siehe auch:
-
-
Methodendetails
-
createBlankItem
-
fromSpecification
-
withIdAndText
-
withIdAndTextAndSelectAction
public static ItemMenuItem withIdAndTextAndSelectAction(String id, String text, Runnable selectAction) -
withIdAndTextAndSelectAction
public static ItemMenuItem withIdAndTextAndSelectAction(String id, String text, Consumer<IItemMenuItem<?>> selectAction) -
withText
-
withTextAndSelectAction
-
withTextAndSelectAction
public static ItemMenuItem withTextAndSelectAction(String text, Consumer<IItemMenuItem<?>> selectAction) -
belongsToMenu
public boolean belongsToMenu()- Angegeben von:
belongsToMenuin SchnittstelleIItemMenuItem<ItemMenuItem>
-
getId
-
getText
- Angegeben von:
getTextin SchnittstelleIItemMenuItem<ItemMenuItem>
-
isBlank
public boolean isBlank()- Angegeben von:
isBlankin SchnittstelleBlanknessRequestable- Gibt zurück:
- true if
BlanknessRequestableis blank.
-
isSelected
public boolean isSelected()- Angegeben von:
isSelectedin SchnittstelleSelectionRequestable
-
reset
public void reset()Beschreibung aus Schnittstelle kopiert:ResettableResets the currentResettable.- Angegeben von:
resetin SchnittstelleResettable
-
select
public void select()- Angegeben von:
selectin SchnittstelleSelectable
-
unselect
public void unselect()- Angegeben von:
unselectin SchnittstelleSelectable
-