Class CompoundSkin
java.lang.Object
com.l2fprod.gui.plaf.skin.impl.AbstractSkin
com.l2fprod.gui.plaf.skin.CompoundSkin
- All Implemented Interfaces:
Skin
Assembles two skins to create a new one.
This can be used to combine features from two skins.
This can be used to combine features from two skins.
- Version:
- $Revision: 1.4 $, $Date: 2005/11/19 09:16:31 $
- Author:
- $Author: l2fprod $
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundSkin(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. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds a feature to the Colors attribute of the CompoundSkin objectString[]Gets the Colors attribute of the CompoundSkin objectgetResource(Object key) Gets the Resource attribute of the CompoundSkin objectvoidinitComponentDefaults(UIDefaults table) Methods inherited from class AbstractSkin
getButton, getFrame, getPersonality, getProgress, getScrollbar, getSeparator, getSlider, getSplitPane, getTab, unload
-
Constructor Details
-
CompoundSkin
-
-
Method Details
-
getColors
Gets the Colors attribute of the CompoundSkin object- Specified by:
getColorsin interfaceSkin- Overrides:
getColorsin classAbstractSkin- Returns:
- The Colors value
-
getResource
Gets the Resource attribute of the CompoundSkin object- Specified by:
getResourcein interfaceSkin- Overrides:
getResourcein classAbstractSkin- Parameters:
key- Description of Parameter- Returns:
- The Resource value
-
initComponentDefaults
- Specified by:
initComponentDefaultsin interfaceSkin- Overrides:
initComponentDefaultsin classAbstractSkin
-
addColors
-