Interface IStylableElement<E extends IStylableElement<E>>
- Type Parameters:
E- is the type of aIStylableElement.
- All Superinterfaces:
AttributesRepresentable, FluentMutableMultiTokenHolder<E>, FluentMutableOptionalIdHolder<E>, IElement, IMutableElement, MultiTokenHolder, OptionalIdHolder, Resettable, SpecificationRepresentable, TypeRequestable
- All Known Subinterfaces:
Control<C,S>, IAccordion, IButton, ICheckbox, IComponent, IContainer<C, S>, IDropdownMenu, IGrid, IHorizontalStack, IImageControl, IItemMenu<M, S>, ILabel, ILayer, ILinearContainer<C, S>, ILink, ISingleContainer, IStyleElement<E>, ITabContainer, ITextbox, IUploader, IValidationLabel, IVerticalStack, IWebGui<G>
- All Known Implementing Classes:
AbstractContainer, AbstractControl, AbstractItemMenu, AbstractLinearContainer, AbstractStylableElement, AbstractStyleElement, Button, Component, ComponentWithAdapterFactory, DropdownMenu, FloatContainer, Grid, HorizontalStack, ImageControl, Label, Layer, Link, SingleContainer, TabContainer, Textbox, Uploader, ValidationLabel, VerticalStack, WebGui
public interface IStylableElement<E extends IStylableElement<E>>
extends FluentMutableMultiTokenHolder<E>, FluentMutableOptionalIdHolder<E>, IMutableElement, TypeRequestable
A
IStylableElement is configurable and can contain other
IStylableElements.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionExtendedIterable<? extends IStylableElement<?>> booleanvoidResets the style of the currentIStylableElementand the style of the childIStylableElements of the currentIStylableElement.Methods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface FluentMutableMultiTokenHolder
addToken, removeToken, removeTokensMethods inherited from interface FluentMutableOptionalIdHolder
removeId, setIdMethods inherited from interface IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface MultiTokenHolder
getTokensMethods inherited from interface OptionalIdHolder
getId, getIdInSingleQuotes, hasId, hasIdMethods inherited from interface Resettable
resetMethods inherited from interface SpecificationRepresentable
getSpecification, hasEqualSpecificationAsElement, toFormatedStringMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Method Details
-
getStoredChildStylableElements
ExtendedIterable<? extends IStylableElement<?>> getStoredChildStylableElements()- Returns:
- the child
IStylableElements of the currentIStylableElement.
-
hasRole
- Parameters:
role-- Returns:
- true if the current
IStylableElementhas the given role, false otherwise.
-
resetStyleRecursively
void resetStyleRecursively()Resets the style of the currentIStylableElementand the style of the childIStylableElements of the currentIStylableElement.
-