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, unload
public java.lang.String[] getColors()
getColors
in interface Skin
getColors
in class AbstractSkin
public java.lang.Object getResource(java.lang.Object key)
getResource
in interface Skin
getResource
in class AbstractSkin
key
- Description of Parameterpublic void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults
in interface Skin
initComponentDefaults
in class AbstractSkin
protected 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