Class AbstractLinearContainer<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElement
ch.nolix.system.style.stylable.AbstractStylableElement<C>
ch.nolix.system.webgui.main.Control<C,S>
ch.nolix.system.webcontainercontrol.container.AbstractContainer<C,S>
ch.nolix.system.webcontainercontrol.linearcontainer.AbstractLinearContainer<C,S>
- Type Parameters:
C- is the type of aAbstractLinearContainer.S- is the type of theILinearContainerStyles of aAbstractLinearContainer.
- All Implemented Interfaces:
IFluentMutableMultiTokenHolder<C>, IFluentMutableOptionalIdHolder<C>, IMultiTokenHolder, IOptionalIdHolder, Linkable, LinkedRequestable, TypeRequestable, Clearable, Resettable, EmptinessRequestable, IHtmlGetter, IElement, IStructureElement, IMutableElement, ISizeAdjustableBox<C>, PresenceRequestable, PresenceSettable<C>, IStylableElement<C>, IContainer<C,S>, ILinearContainer<C, S>, IControl<C, S>, IUserInputCell<C>
- Direct Known Subclasses:
FloatContainer, HorizontalStack, VerticalStack
public abstract class AbstractLinearContainer<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
extends AbstractContainer<C,S>
implements ILinearContainer<C,S>
- Author:
- Silvan Wyss
-
Field Summary
Fields inherited from class Control
DEFAULT_CURSOR_ICON, DEFAULT_PRESENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CaddControl(IControl<?, ?> control) final CaddControls(IContainer<? extends IControl<?, ?>> controls) final CaddControls(IControl<?, ?>... controls) final voidclear()Removes the elements of the currentClearable.final IContainer<IControl<?, ?>> final booleanisEmpty()final voidfinal voidremoveControl(IControl<?, ?> control) Methods inherited from class AbstractContainer
getOptionalJavaScriptUserInputFunction, getRole, getUserInput, hasRole, hasRole, removeRole, runHtmlEvent, setRole, setUserInputMethods inherited from class Control
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getHtml, 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, setCollapsed, setCursorIcon, setInvisible, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidth, setVisibility, setVisibleMethods inherited from class AbstractStylableElement
addToken, getChildStructureElements, getId, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setIdMethods inherited from class AbstractMutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toStringMethods inherited from interface EmptinessRequestable
containsAnyMethods inherited from interface IContainer
getRole, hasRole, removeRole, setRoleMethods inherited from interface IControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalJavaScriptUserInputFunction, getOptionalStoredChildControlByInternalId, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, internalSetParentControl, internalSetParentLayer, 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 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 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
-
Constructor Details
-
AbstractLinearContainer
public AbstractLinearContainer()
-
-
Method Details
-
addControl
- Specified by:
addControlin interfaceILinearContainer<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
-
addControls
- Specified by:
addControlsin interfaceILinearContainer<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
-
addControls
- Specified by:
addControlsin interfaceILinearContainer<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
-
clear
-
getStoredChildControls
- Specified by:
getStoredChildControlsin interfaceIControl<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
-
isEmpty
public final boolean isEmpty()- Specified by:
isEmptyin interfaceEmptinessRequestable- Returns:
- true if
EmptinessRequestabledoes not contain an element, false otherwise.
-
registerHtmlElementEventsAt
- Specified by:
registerHtmlElementEventsAtin interfaceIControl<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
-
removeControl
- Specified by:
removeControlin interfaceILinearContainer<C extends ILinearContainer<C,S>, S extends ILinearContainerStyle<S>>
-