public final class CompoundSkin extends AbstractSkin
| Constructor and Description |
|---|
CompoundSkin(Skin a,
Skin b)
Construct a new Skin by merging two skins.
If a feature is missing in the first skin, the second skin is used. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addColors(java.lang.String[] colors,
java.util.Vector v)
Adds a feature to the Colors attribute of the CompoundSkin object
|
java.lang.String[] |
getColors()
Gets the Colors attribute of the CompoundSkin object
|
java.lang.Object |
getResource(java.lang.Object key)
Gets the Resource attribute of the CompoundSkin object
|
void |
initComponentDefaults(javax.swing.UIDefaults table) |
getButton, getFrame, getPersonality, getProgress, getScrollbar, getSeparator, getSlider, getSplitPane, getTab, unloadpublic java.lang.String[] getColors()
getColors in interface SkingetColors in class AbstractSkinpublic java.lang.Object getResource(java.lang.Object key)
getResource in interface SkingetResource in class AbstractSkinkey - Description of Parameterpublic void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults in interface SkininitComponentDefaults in class AbstractSkinprotected void addColors(java.lang.String[] colors,
java.util.Vector v)
colors - The feature to be added to the Colors attributev - The feature to be added to the Colors attribute