public interface IStyleableAdditionProvider
Skin or Styleable that use a StyleableAdditionBase.
This is needed because we do not know which has the StyleableAdditionBase, it might either be the Styleable itself or, in case it is a
Control its Skin.| Modifier and Type | Method and Description |
|---|---|
<TStyleableAddition extends StyleableAdditionBase> |
getStyleableAddition(Class<TStyleableAddition> clazz)
Provides the
StyleableAdditionBase for the desired class. |
<TStyleableAddition extends StyleableAdditionBase> Optional<TStyleableAddition> getStyleableAddition(Class<TStyleableAddition> clazz)
StyleableAdditionBase for the desired class.TStyleableAddition - type of the StyleableAdditionBase.clazz - the Class for which the skin addition should be returned.StyleableAdditionBase that is attached or Optional.empty() if the desired element is not supported.Copyright © 2017 Saxonia Systems AG. All rights reserved.