Klasse AbstractItemMenu<M extends IItemMenu<M,S>,S extends IItemMenuStyle<S>>
java.lang.Object
ch.nolix.system.element.mutableelement.MutableElement
ch.nolix.system.element.style.StylableElement<M>
ch.nolix.system.webgui.main.Control<M,S>
ch.nolix.system.webgui.itemmenu.base.AbstractItemMenu<M,S>
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<M>
,IFluentMutableOptionalIdHolder<M>
,IMultiTokenHolder
,IOptionalIdHolder
,Clearable
,Resettable
,EmptinessRequestable
,TypeRequestable
,Linkable
,LinkedRequestable
,IHtmlGetter
,IElement
,IStructureElement
,IMutableElement
,IStylableElement<M>
,Dimensionable<M>
,PresenceRequestable
,PresenceSettable<M>
,IItemMenu<M,
,S> IControl<M,
,S> IUserInputCell<M>
- Bekannte direkte Unterklassen:
DropdownMenu
public abstract class AbstractItemMenu<M extends IItemMenu<M,S>,S extends IItemMenuStyle<S>>
extends Control<M,S>
implements IItemMenu<M,S>
-
Feldübersicht
Von Klasse geerbte Felder ch.nolix.system.webgui.main.Control
DEFAULT_CURSOR_ICON, DEFAULT_PRESENCE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal M
final M
addItem
(IItemMenuItem<?> item, IItemMenuItem<?>... items) final M
addItemWithIdAndText
(String id, String text) final M
addItemWithIdAndTextAndSelectAction
(String id, String text, Runnable selectAction) final M
addItemWithIdAndTextAndSelectAction
(String id, String text, Consumer<IItemMenuItem<?>> selectAction) final M
addItemWithText
(String text, String... texts) final M
addItemWithTextAndSelectAction
(String text, Runnable selectAction) final M
addItemWithTextAndSelectAction
(String text, Consumer<IItemMenuItem<?>> selectAction) final boolean
final void
clear()
Removes the elements of the currentClearable
.final boolean
final boolean
final boolean
containsItemWithText
(String text) final boolean
final String
getIdByItemText
(String itemText) final IContainer
<IControl<?, ?>> final IContainer
<IItemMenuItem<?>> final IItemMenuItem
<?> final String
getTextByItemId
(String itemId) final String
final boolean
final void
final boolean
isEmpty()
final void
protected final void
final void
runHtmlEvent
(String htmlEvent) final M
final M
final M
selectItemById
(String id) final M
selectItemByText
(String text) final M
setSelectAction
(Runnable selectAction) final M
setSelectAction
(Consumer<IItemMenuItem<?>> selectAction) final M
setUserInput
(String userInput) Von Klasse geerbte Methoden ch.nolix.system.webgui.main.Control
belongsToControl, belongsToGui, belongsToLayer, createStyle, editStyle, getCssBuilder, getCssRules, getCursorIcon, getHtml, getHtmlBuilder, getInternalId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOptionalStoredChildControlByInternalId, getPresence, getStoredChildStylableElements, getStoredLinkedObjects, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, internalSetParentControl, internalSetParentLayer, isCollapsed, isInvisible, isLinkedTo, isLinkedToAnObject, isVisible, linkTo, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, resetStylableElement, resetStyle, setCollapsed, setCursorIcon, setInvisible, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidth, setVisibility, setVisible
Von Klasse geerbte Methoden ch.nolix.system.element.style.StylableElement
addToken, asConcrete, getChildStructureElements, getId, getStructureSpecification, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setId
Von Klasse geerbte Methoden ch.nolix.system.element.mutableelement.MutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toString
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.guiapi.canvasapi.Dimensionable
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidth
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.webguiapi.mainapi.IControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalJavaScriptUserInputFunction, getOptionalStoredChildControlByInternalId, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, internalSetParentControl, internalSetParentLayer, registerHtmlElementEventsAt, setCursorIcon
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IElement
getAttributes, getSpecification, toFormatedString, toXml
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.fluentmutablemultiattributeapi.IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokens
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.fluentmutableoptionalattributeapi.IFluentMutableOptionalIdHolder
removeId, setId
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.webapi.htmlapi.IHtmlGetter
getHtml
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.multiattributeapi.IMultiTokenHolder
getTokens
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.mutableelementapi.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecification
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.optionalattributeapi.IOptionalIdHolder
getId, getIdInQuotes, hasId, hasId
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IStructureElement
getChildStructureElements, getStructureSpecification
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.styleapi.IStylableElement
getStoredChildStylableElements, resetStyleRecursively
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.structurecontrolapi.linkingapi.LinkedRequestable
getStoredLinkedObjects, isLinkedTo, isLinkedToAnObject
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.guiapi.presenceapi.PresenceRequestable
getPresence, isCollapsed, isInvisible, isVisible
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.guiapi.presenceapi.PresenceSettable
setCollapsed, setInvisible, setVisibility, setVisible
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.statemutationapi.Resettable
reset
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.structureapi.typerequestapi.TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Konstruktordetails
-
AbstractItemMenu
public AbstractItemMenu()
-
-
Methodendetails
-
addBlankItem
- Angegeben von:
addBlankItem
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
addItemWithIdAndText
- Angegeben von:
addItemWithIdAndText
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
addItemWithIdAndTextAndSelectAction
- Angegeben von:
addItemWithIdAndTextAndSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
addItemWithIdAndTextAndSelectAction
public final M addItemWithIdAndTextAndSelectAction(String id, String text, Consumer<IItemMenuItem<?>> selectAction) - Angegeben von:
addItemWithIdAndTextAndSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
addItemWithText
- Angegeben von:
addItemWithText
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
addItemWithTextAndSelectAction
- Angegeben von:
addItemWithTextAndSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
addItemWithTextAndSelectAction
- Angegeben von:
addItemWithTextAndSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
blankItemIsSelected
public final boolean blankItemIsSelected()- Angegeben von:
blankItemIsSelected
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
clear
public final void clear()Beschreibung aus Schnittstelle kopiert:Clearable
Removes the elements of the currentClearable
. -
containsBlankItem
public final boolean containsBlankItem()- Angegeben von:
containsBlankItem
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
containsItemWithId
- Angegeben von:
containsItemWithId
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
containsItemWithText
- Angegeben von:
containsItemWithText
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
containsSelectedItem
public final boolean containsSelectedItem()- Angegeben von:
containsSelectedItem
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
getIdByItemText
- Angegeben von:
getIdByItemText
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
getStoredChildControls
- Angegeben von:
getStoredChildControls
in SchnittstelleIControl<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
getStoredItems
- Angegeben von:
getStoredItems
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
getStoredSelectedItem
- Angegeben von:
getStoredSelectedItem
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
getTextByItemId
- Angegeben von:
getTextByItemId
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
getUserInput
- Angegeben von:
getUserInput
in SchnittstelleIUserInputCell<M extends IItemMenu<M,
S>>
-
hasRole
- Angegeben von:
hasRole
in SchnittstelleIStylableElement<M extends IItemMenu<M,
S>> - Parameter:
role
-- Gibt zurück:
- true if the current
IStylableElement
has the given role.
-
isEmpty
public final boolean isEmpty()- Angegeben von:
isEmpty
in SchnittstelleEmptinessRequestable
- Gibt zurück:
- true if
EmptinessRequestable
does not contain an element.
-
removeSelectAction
public final void removeSelectAction()- Angegeben von:
removeSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
runHtmlEvent
- Angegeben von:
runHtmlEvent
in SchnittstelleIControl<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
selectBlankItem
- Angegeben von:
selectBlankItem
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
selectFirstItem
- Angegeben von:
selectFirstItem
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
selectItemById
- Angegeben von:
selectItemById
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
selectItemByText
- Angegeben von:
selectItemByText
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
setSelectAction
- Angegeben von:
setSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
setSelectAction
- Angegeben von:
setSelectAction
in SchnittstelleIItemMenu<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-
setUserInput
- Angegeben von:
setUserInput
in SchnittstelleIUserInputCell<M extends IItemMenu<M,
S>>
-
resetControl
protected final void resetControl()- Angegeben von:
resetControl
in KlasseControl<M extends IItemMenu<M,
S>, S extends IItemMenuStyle<S>>
-