Class AbstractContainer<C extends Container<C,S>, S extends ControlStyle<S>>
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElementWithProperties
ch.nolix.system.style.stylable.AbstractStylableElement<C>
ch.nolix.system.webgui.main.AbstractControl<C,S>
ch.nolix.system.control.container.AbstractContainer<C,S>
- Type Parameters:
C- the type of aAbstractContainerS- the type of theControlStyles of aAbstractContainer
- All Implemented Interfaces:
FluentMutableMultiTokenHolder<C>, FluentMutableOptionalIdHolder<C>, MultiTokenHolder, OptionalIdHolder, Clearable, Resettable, EmptinessRequestable, ControlComponent<Control<?,?>>, GuiComponent<IWebGui<?>>, LayerComponent<ILayer>, TypeRequestable, Container<C, S>, AttributesRepresentable, Element, SpecificationRepresentable, MutableElement, StylableElement<C>, PresenceSettable<C>, SizeAdjustableRectangle<C>, HtmlGetter, Control<C, S>, IUserInputCell<C>, PresenceRequestable
- Direct Known Subclasses:
AbstractLinearContainer, Grid, SingleContainer, TabContainer
public abstract class AbstractContainer<C extends Container<C,S>, S extends ControlStyle<S>>
extends AbstractControl<C,S>
implements Container<C,S>
- Author:
- Silvan Wyss
-
Field Summary
Fields inherited from class AbstractControl
DEFAULT_CURSOR_ICON, DEFAULT_PRESENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ContainerRolegetRole()final Stringfinal booleanhasRole()final booleanfinal voidfinal voidrunHtmlEvent(String htmlEvent) final CsetRole(ContainerRole role) final CsetUserInput(String userInput) Methods inherited from class AbstractControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getHtml, getInternalId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOptionalStoredChildControlByInternalId, getPresence, getStoredChildStylableElements, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, internalRemoveControlParent, internalSetControlParent, isCollapsed, isInvisible, isVisible, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, removeParentLayerFromGui, setCollapsed, setCursorIcon, setInvisible, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidth, setVisibility, setVisibleMethods inherited from class AbstractStylableElement
addToken, getId, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setIdMethods inherited from class AbstractMutableElementWithProperties
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, toStringMethods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface Control
editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalStoredChildControlByInternalId, getStoredChildControls, getStoredStructureControls, getStoredStyle, hasInternalId, internalRemoveControlParent, internalSetControlParent, registerHtmlElementEventsAt, removeParentLayerFromGui, setCursorIconMethods inherited from interface ControlComponent
belongsToControl, getStoredParentControlMethods inherited from interface EmptinessRequestable
containsAny, isEmptyMethods inherited from interface FluentMutableMultiTokenHolder
addToken, removeToken, removeTokensMethods inherited from interface FluentMutableOptionalIdHolder
removeId, setIdMethods inherited from interface GuiComponent
belongsToGui, getStoredParentGuiMethods inherited from interface HtmlGetter
getHtmlMethods inherited from interface LayerComponent
belongsToLayer, getStoredParentLayerMethods inherited from interface MultiTokenHolder
getTokensMethods inherited from interface MutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface OptionalIdHolder
getId, getIdInSingleQuotes, hasId, hasIdMethods inherited from interface PresenceRequestable
getPresence, isCollapsed, isInvisible, isVisibleMethods inherited from interface PresenceSettable
setCollapsed, setInvisible, setVisibility, setVisibleMethods inherited from interface Resettable
resetMethods inherited from interface SizeAdjustableRectangle
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidthMethods inherited from interface SpecificationRepresentable
getSpecification, hasEqualSpecificationAsElement, toFormatedStringMethods inherited from interface StylableElement
getStoredChildStylableElements, resetStyleRecursivelyMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Constructor Details
-
AbstractContainer
public AbstractContainer()
-
-
Method Details
-
getOptionalJavaScriptUserInputFunction
-
getRole
-
getUserInput
- Specified by:
getUserInputin interfaceIUserInputCell<C extends Container<C,S>>
-
hasRole
-
hasRole
- Specified by:
hasRolein interfaceStylableElement<C extends Container<C,S>> - Parameters:
role-- Returns:
- true if the current
StylableElementhas the given role, false otherwise
-
removeRole
public final void removeRole()- Specified by:
removeRolein interfaceContainer<C extends Container<C,S>, S extends ControlStyle<S>>
-
runHtmlEvent
- Specified by:
runHtmlEventin interfaceControl<C extends Container<C,S>, S extends ControlStyle<S>>
-
setRole
-
setUserInput
- Specified by:
setUserInputin interfaceIUserInputCell<C extends Container<C,S>>
-