Class Component<C extends Controller<S>, S>
java.lang.Object
ch.nolix.system.element.propertieselement.AbstractPropertiesElement
ch.nolix.system.style.stylable.AbstractStylableElement<IComponent>
ch.nolix.system.webgui.main.AbstractControl<IComponent, IComponentStyle>
ch.nolix.system.webapplication.component.Component<C,S>
- Type Parameters:
C- is the type of theControllerof aComponent.S- is the type of the application service of the parentIApplicationof the parent web client of the parent web client session of the parent root GUI of aComponent.
- All Implemented Interfaces:
IFluentMutableMultiTokenHolder<IComponent>, IFluentMutableOptionalIdHolder<IComponent>, IMultiTokenHolder, IOptionalIdHolder, Linkable, LinkedRequestable, TypeRequestable, Rebuildable, IRefreshableSubscriber, Refreshable, Resettable, AlivenessRequestable, IHtmlGetter, AttributesRepresentable, IElement, SpecificationRepresentable, IMutableElement, ISizeAdjustableBox<IComponent>, PresenceRequestable, PresenceSettable<IComponent>, IStylableElement<IComponent>, IComponent, IControl<IComponent, IComponentStyle>, IUserInputCell<IComponent>
public abstract class Component<C extends Controller<S>, S>
extends AbstractControl<IComponent, IComponentStyle>
implements IComponent
- Author:
- Silvan Wyss
-
Field Summary
Fields inherited from class AbstractControl
DEFAULT_CURSOR_ICON, DEFAULT_PRESENCE -
Method Summary
Modifier and TypeMethodDescriptionfinal IContainer<IControl<?, ?>> final Stringfinal booleanfinal booleanisAlive()final voidrebuild()Rebuilds the currentRebuildable.final voidrefresh()final voidfinal voidrunHtmlEvent(String htmlEvent) final IComponentsetUserInput(String userInput) Methods inherited from class AbstractControl
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, internalRemoveControlParent, internalSetControlParent, 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, getId, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setIdMethods inherited from class AbstractPropertiesElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, toStringMethods inherited from interface AlivenessRequestable
isOutdatedMethods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface IComponent
getRefreshTriggerMethods inherited from interface IControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalStoredChildControlByInternalId, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStructureControls, getStoredStyle, hasInternalId, internalRemoveControlParent, internalSetControlParent, setCursorIconMethods 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, 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 IStylableElement
getStoredChildStylableElements, resetStyleRecursivelyMethods 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 SpecificationRepresentable
getSpecification, hasEqualSpecificationAsElement, toFormatedStringMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Method Details
-
getOptionalJavaScriptUserInputFunction
- Specified by:
getOptionalJavaScriptUserInputFunctionin interfaceIControl<C extends Controller<S>, S>
-
getStoredChildControls
- Specified by:
getStoredChildControlsin interfaceIControl<C extends Controller<S>, S>
-
getUserInput
- Specified by:
getUserInputin interfaceIUserInputCell<C extends Controller<S>>
-
hasRole
- Specified by:
hasRolein interfaceIStylableElement<C extends Controller<S>>- Parameters:
role-- Returns:
- true if the current
IStylableElementhas the given role, false otherwise.
-
isAlive
public final boolean isAlive()- Specified by:
isAlivein interfaceAlivenessRequestable- Returns:
- true if the current
AlivenessRequestableis alive, false otherwise.
-
rebuild
public final void rebuild()Rebuilds the currentRebuildable.- Specified by:
rebuildin interfaceRebuildable
-
refresh
public final void refresh()- Specified by:
refreshin interfaceRefreshable
-
registerHtmlElementEventsAt
- Specified by:
registerHtmlElementEventsAtin interfaceIControl<C extends Controller<S>, S>
-
runHtmlEvent
- Specified by:
runHtmlEventin interfaceIControl<C extends Controller<S>, S>
-
setUserInput
- Specified by:
setUserInputin interfaceIUserInputCell<C extends Controller<S>>
-