Klasse Layer
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<Layer>, IFluentMutableOptionalIdHolder<Layer>, IMultiTokenHolder, IOptionalIdHolder, IGuiComponent<IWebGui<?>>, TypeRequestable, Clearable, Resettable, EmptinessRequestable, IHtmlGetter, IElement, IStructureElement, IMutableElement, IBackgroundHolder<Layer>, IStylableElement<Layer>, ILayer<Layer>, IRootControlOwner<Layer>
- Autor:
- Silvan Wyss
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final IColorstatic final ContentAlignmentstatic final double -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanvoidclear()Removes the elements of the currentClearable.booleancontainsControl(IControl<?, ?> control) static LayerfromSpecification(INode<?> specification) getHtml()doublegetOptionalStoredControlByInternalId(String internalId) getRole()IContainer<? extends IStylableElement<?>> IContainer<IControl<?, ?>> IWebGui<?> IControl<?, ?> booleanbooleanhasInternalId(String internalId) booleanhasRole()booleanvoidinternalSetParentGui(IWebGui<?> parentGui) booleanisEmpty()voidvoidvoidprotected voidprotected voidsetBackground(IBackground background) setBackgroundColor(IColor backgroundColor) setBackgroundColorGradient(IColorGradient backgroundColorGradient) setBackgroundImage(IImage backgroundImage) setBackgroundImage(IImage backgroundImage, ImageApplication imageApplication) setContentAlignment(ContentAlignment contentAlignment) setOpacity(double opacity) setRootControl(IControl<?, ?> rootControl) Von Klasse geerbte Methoden AbstractStylableElement
addToken, asConcrete, getChildStructureElements, getId, getStructureSpecification, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setIdVon Klasse geerbte Methoden AbstractMutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toStringVon Schnittstelle geerbte Methoden EmptinessRequestable
containsAnyVon Schnittstelle geerbte Methoden IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensVon Schnittstelle geerbte Methoden IFluentMutableOptionalIdHolder
removeId, setIdVon Schnittstelle geerbte Methoden IMultiTokenHolder
getTokensVon Schnittstelle geerbte Methoden IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden IOptionalIdHolder
getId, getIdInQuotes, hasId, hasIdVon Schnittstelle geerbte Methoden IStructureElement
getChildStructureElements, getStructureSpecificationVon Schnittstelle geerbte Methoden IStylableElement
resetStyleRecursivelyVon Schnittstelle geerbte Methoden Resettable
resetVon Schnittstelle geerbte Methoden TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Felddetails
-
DEFAULT_OPACITY
public static final double DEFAULT_OPACITY- Siehe auch:
-
DEFAULT_BACKGROUND_COLOR
-
DEFAULT_CONTENT_POSITION
-
-
Konstruktordetails
-
Layer
public Layer()
-
-
Methodendetails
-
fromSpecification
-
belongsToGui
public boolean belongsToGui()- Angegeben von:
belongsToGuiin SchnittstelleIGuiComponent<IWebGui<?>>- Gibt zurück:
- true if the current
IGuiComponentbelongs to a GUI, false otherwise.
-
containsControl
- Angegeben von:
containsControlin SchnittstelleILayer<Layer>
-
clear
-
getBackground
- Angegeben von:
getBackgroundin SchnittstelleIBackgroundHolder<Layer>
-
getBackgroundColor
- Angegeben von:
getBackgroundColorin SchnittstelleIBackgroundHolder<Layer>
-
getBackgroundColorGradient
- Angegeben von:
getBackgroundColorGradientin SchnittstelleIBackgroundHolder<Layer>
-
getBackgroundImage
- Angegeben von:
getBackgroundImagein SchnittstelleIBackgroundHolder<Layer>
-
getBackgroundImageApplication
- Angegeben von:
getBackgroundImageApplicationin SchnittstelleIBackgroundHolder<Layer>
-
getBackgroundType
- Angegeben von:
getBackgroundTypein SchnittstelleIBackgroundHolder<Layer>
-
getContentAlignment
- Angegeben von:
getContentAlignmentin SchnittstelleILayer<Layer>
-
getCssRule
- Angegeben von:
getCssRulein SchnittstelleILayer<Layer>
-
getHtml
- Angegeben von:
getHtmlin SchnittstelleIHtmlGetter
-
getInternalId
- Angegeben von:
getInternalIdin SchnittstelleILayer<Layer>
-
getOpacity
public double getOpacity()- Angegeben von:
getOpacityin SchnittstelleILayer<Layer>
-
getOptionalStoredControlByInternalId
- Angegeben von:
getOptionalStoredControlByInternalIdin SchnittstelleIRootControlOwner<Layer>
-
getStoredControls
- Angegeben von:
getStoredControlsin SchnittstelleIRootControlOwner<Layer>
-
getStoredParentGui
- Angegeben von:
getStoredParentGuiin SchnittstelleIGuiComponent<IWebGui<?>>- Gibt zurück:
- the GUI of the current
IGuiComponent.
-
getStoredRootControl
- Angegeben von:
getStoredRootControlin SchnittstelleIRootControlOwner<Layer>
-
getRole
-
getStoredChildStylableElements
- Angegeben von:
getStoredChildStylableElementsin SchnittstelleIStylableElement<Layer>- Gibt zurück:
- the child
IStylableElements of the currentIStylableElement.
-
hasBackground
public boolean hasBackground()- Angegeben von:
hasBackgroundin SchnittstelleIBackgroundHolder<Layer>
-
hasInternalId
- Angegeben von:
hasInternalIdin SchnittstelleILayer<Layer>
-
hasRole
-
hasRole
- Angegeben von:
hasRolein SchnittstelleIStylableElement<Layer>- Parameter:
role-- Gibt zurück:
- true if the current
IStylableElementhas the given role, false otherwise.
-
internalSetParentGui
- Angegeben von:
internalSetParentGuiin SchnittstelleILayer<Layer>
-
isEmpty
public boolean isEmpty()- Angegeben von:
isEmptyin SchnittstelleEmptinessRequestable- Gibt zurück:
- true if
EmptinessRequestabledoes not contain an element, false otherwise.
-
removeBackground
public void removeBackground()- Angegeben von:
removeBackgroundin SchnittstelleIBackgroundHolder<Layer>
-
removeRole
public void removeRole() -
removeSelfFromGui
public void removeSelfFromGui()- Angegeben von:
removeSelfFromGuiin SchnittstelleILayer<Layer>
-
setBackground
-
setBackgroundColor
- Angegeben von:
setBackgroundColorin SchnittstelleIBackgroundHolder<Layer>
-
setBackgroundColorGradient
- Angegeben von:
setBackgroundColorGradientin SchnittstelleIBackgroundHolder<Layer>
-
setBackgroundImage
- Angegeben von:
setBackgroundImagein SchnittstelleIBackgroundHolder<Layer>
-
setBackgroundImage
- Angegeben von:
setBackgroundImagein SchnittstelleIBackgroundHolder<Layer>
-
setRootControl
- Angegeben von:
setRootControlin SchnittstelleIRootControlOwner<Layer>
-
setContentAlignment
- Angegeben von:
setContentAlignmentin SchnittstelleILayer<Layer>
-
setOpacity
- Angegeben von:
setOpacityin SchnittstelleILayer<Layer>
-
setRole
-
resetStylableElement
protected void resetStylableElement()- Angegeben von:
resetStylableElementin KlasseAbstractStylableElement<Layer>
-
resetStyle
protected void resetStyle()- Angegeben von:
resetStylein KlasseAbstractStylableElement<Layer>
-