Package com.spinyowl.legui.theme
Class AbstractTheme<T extends Component>
java.lang.Object
com.spinyowl.legui.theme.AbstractTheme<T>
- Direct Known Subclasses:
FlatComponentTheme
This interface defines method which can be used to change theme only for provided component.
Children and parent components should not be changed by this method.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractTheme
public AbstractTheme()
-
-
Method Details
-
apply
Used to apply theme only for component and not apply for child components. Applies changes only for current class part and not for parent part.- Parameters:
component- component to apply theme.
-
applyAll
Used to apply theme for component and for all children of this component. Should be reimplemented for components that contains other child components.- Parameters:
component- component to apply theme.
-