Interface IStylableElement<E extends IStylableElement<E>>
- Type Parameters:
E- is the type of aIStylableElement.
- All Superinterfaces:
IElement, IFluentMutableMultiTokenHolder<E>, IFluentMutableOptionalIdHolder<E>, IMultiTokenHolder, IMutableElement, IOptionalIdHolder, IStructureElement, Resettable, TypeRequestable
- All Known Subinterfaces:
IAccordion, IButton, ICheckbox, IComponent, IContainer<C,S>, IControl<C, S>, IDropdownMenu, IGrid, IHorizontalStack, IImageControl, IItemMenu<M, S>, ILabel, ILayer<L>, ILinearContainer<C, S>, ILink, ISingleContainer, IStyleElement<E>, ITabContainer, ITextbox, IUploader, IValidationLabel, IVerticalStack, IWebGui<G>
- All Known Implementing Classes:
AbstractContainer, AbstractItemMenu, AbstractLinearContainer, AbstractStylableElement, AbstractStyleElement, Button, Component, ComponentWithAdapterFactory, Control, DropdownMenu, FloatContainer, Grid, HorizontalStack, ImageControl, Label, Layer, Link, SingleContainer, Textbox, Uploader, ValidationLabel, VerticalStack, WebGui
public interface IStylableElement<E extends IStylableElement<E>>
extends IFluentMutableMultiTokenHolder<E>, IFluentMutableOptionalIdHolder<E>, IMutableElement, IStructureElement, TypeRequestable
A
IStylableElement is configurable and can contain other
IStylableElements.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionIContainer<? extends IStylableElement<?>> booleanvoidResets the style of the currentIStylableElementand the style of the childIStylableElements of the currentIStylableElement.Methods inherited from interface IElement
getAttributes, getSpecification, toFormatedString, toXmlMethods inherited from interface IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensMethods inherited from interface IFluentMutableOptionalIdHolder
removeId, setIdMethods 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 IStructureElement
getChildStructureElementsMethods inherited from interface Resettable
resetMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Method Details
-
getStoredChildStylableElements
IContainer<? 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.
-