>>> And a last question: >>> could be useful (for my applications using this component) to add the >>> visual part of this component to a custom extension of the TerraTheme >> I don't understand the question - can you clarify? >I've seen that in the constructor of TerraTheme, there is a >registration for all Pivot Standard GUI components, like: > componentSkinMap.put(Accordion.class, TerraAccordionSkin.class); > componentSkinMap.put(ActivityIndicator.class, >TerraActivityIndicatorSkin.class); > componentSkinMap.put(Alert.class, TerraAlertSkin.class);
We don't currently support "theming" components that are defined outside of org.apache.pivot.wtk. For example, the charting components do not have "Terra" skins - they simply have Pivot/JFree skins. We may consider adding such support in the future, but for now, since we only have one theme, I'd suggest just hard-coding your component/skin association (as is done in the charting components).