Interface IButton
- All Superinterfaces:
IControl<IButton, IButtonStyle>, IElement, IFluentMutableMultiTokenHolder<IButton>, IFluentMutableOptionalIdHolder<IButton>, IFluentMutableTextHolder<IButton>, IHtmlGetter, IMultiTokenHolder, IMutableElement, IOptionalIdHolder, ISizeAdjustableBox<IButton>, IStructureElement, IStylableElement<IButton>, ITextHolder, IUserInputCell<IButton>, Linkable, LinkedRequestable, PresenceRequestable, PresenceSettable<IButton>, Resettable, TypeRequestable
- All Known Implementing Classes:
Button
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptiongetRole()booleanhasRole()voidvoidvoidvoidvoidsetLeftMouseButtonPressAction(Runnable leftMouseButtonPressAction) setLeftMouseButtonPressAction(Consumer<IButton> leftMouseButtonPressAction) setLeftMouseButtonRelaseAction(Runnable leftMouseButtonReleaseAction) setLeftMouseButtonRelaseAction(Consumer<IButton> leftMouseButtonReleaseAction) setRole(ButtonRole role) Methods inherited from interface IControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalJavaScriptUserInputFunction, getOptionalStoredChildControlByInternalId, getStoredChildControls, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, internalSetParentControl, internalSetParentLayer, registerHtmlElementEventsAt, runHtmlEvent, setCursorIconMethods inherited from interface IElement
getAttributes, getSpecification, toFormatedString, toXmlMethods inherited from interface IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensMethods inherited from interface IFluentMutableOptionalIdHolder
removeId, setIdMethods inherited from interface IFluentMutableTextHolder
setTextMethods inherited from interface IHtmlGetter
getHtmlMethods inherited from interface IMultiTokenHolder
getTokensMethods inherited from interface IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, addOrChangeAttributes, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface IOptionalIdHolder
getId, getIdInQuotes, hasId, hasIdMethods inherited from interface ISizeAdjustableBox
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidthMethods inherited from interface IStructureElement
getChildStructureElementsMethods inherited from interface IStylableElement
getStoredChildStylableElements, hasRole, resetStyleRecursivelyMethods inherited from interface ITextHolder
getTextMethods inherited from interface IUserInputCell
getUserInput, setUserInputMethods inherited from interface LinkedRequestable
getStoredLinkedObjects, isLinkedTo, isLinkedToAnObjectMethods inherited from interface PresenceRequestable
getPresence, isCollapsed, isInvisible, isVisibleMethods inherited from interface PresenceSettable
setCollapsed, setInvisible, setVisibility, setVisibleMethods inherited from interface Resettable
resetMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Method Details
-
getRole
ButtonRole getRole() -
hasRole
boolean hasRole() -
pressLeftMouseButton
void pressLeftMouseButton() -
releaseLeftMouseButton
void releaseLeftMouseButton() -
removeLeftMouseButtonPressAction
void removeLeftMouseButtonPressAction() -
removeLeftMouseButtonReleaseAction
void removeLeftMouseButtonReleaseAction() -
removeRole
void removeRole() -
setLeftMouseButtonPressAction
-
setLeftMouseButtonPressAction
-
setLeftMouseButtonRelaseAction
-
setLeftMouseButtonRelaseAction
-
setRole
-