Class ComponentWithAdapterFactory<C extends Controller<F>, F extends AdapterFactory<A>, A>
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElementWithProperties
ch.nolix.system.style.stylable.AbstractStylableElement<IComponent>
ch.nolix.system.webgui.main.AbstractControl<IComponent, IComponentStyle>
ch.nolix.system.webapplication.component.ComponentWithAdapterFactory<C,F,A>
- Type Parameters:
C- the type of theControllerof aComponentWithAdapterFactory.F- the type of theAdapterFactoryof aComponentWithAdapterFactory.A- is the typoe of the adapters of theAdapterFactoryof aComponentWithAdapterFactory.
- All Implemented Interfaces:
FluentMutableMultiTokenHolder<IComponent>, FluentMutableOptionalIdHolder<IComponent>, MultiTokenHolder, OptionalIdHolder, Resettable, AlivenessRequestable, ControlComponent<Control<?,?>>, GuiComponent<IWebGui<?>>, LayerComponent<ILayer>, Rebuildable, Refreshable, TypeRequestable, AttributesRepresentable, Element, SpecificationRepresentable, MutableElement, StylableElement<IComponent>, IComponent, PresenceSettable<IComponent>, SizeAdjustableRectangle<IComponent>, HtmlGetter, Control<IComponent, IComponentStyle>, IUserInputCell<IComponent>, PresenceRequestable
public abstract class ComponentWithAdapterFactory<C extends Controller<F>, F extends AdapterFactory<A>, A>
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 ExtendedIterable<Control<?, ?>> 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, 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 AlivenessRequestable
isOutdatedMethods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface Control
editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalStoredChildControlByInternalId, getStoredStructureControls, getStoredStyle, hasInternalId, internalRemoveControlParent, internalSetControlParent, removeParentLayerFromGui, setCursorIconMethods inherited from interface ControlComponent
belongsToControl, getStoredParentControlMethods 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 IComponent
getRefreshTriggerMethods 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
-
Method Details
-
getOptionalJavaScriptUserInputFunction
- Specified by:
getOptionalJavaScriptUserInputFunctionin interfaceControl<C extends Controller<F>, F extends AdapterFactory<A>>
-
getStoredChildControls
- Specified by:
getStoredChildControlsin interfaceControl<C extends Controller<F>, F extends AdapterFactory<A>>
-
getUserInput
- Specified by:
getUserInputin interfaceIUserInputCell<C extends Controller<F>>
-
hasRole
- Specified by:
hasRolein interfaceStylableElement<C extends Controller<F>>- Parameters:
role-- Returns:
- true if the current
StylableElementhas 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 interfaceControl<C extends Controller<F>, F extends AdapterFactory<A>>
-
runHtmlEvent
- Specified by:
runHtmlEventin interfaceControl<C extends Controller<F>, F extends AdapterFactory<A>>
-
setUserInput
- Specified by:
setUserInputin interfaceIUserInputCell<C extends Controller<F>>
-