|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.incors.plaf.kunststoff.KunststoffLookAndFeel
org.tentackle.plaf.tplastic.TPlasticLookAndFeel
public class TPlasticLookAndFeel
Extended Tentackle Kunststoff Look-And-Feel.
Notice that Kunststoff is a discontinued project. The recommended plaf is TLooks.
| Constructor Summary | |
|---|---|
TPlasticLookAndFeel()
|
|
| Method Summary | |
|---|---|
protected void |
createDefaultTheme()
Ensures the current MetalTheme is non-null. |
String |
getDescription()
Returns a short description of this look and feel. |
String |
getID()
Returns an identifier for this look and feel. |
String |
getName()
Returns the name of this look and feel. |
static String |
getTPlasticDescription()
|
static String |
getTPlasticName()
|
protected void |
initClassDefaults(UIDefaults table)
Populates table with mappings from uiClassID to
the fully qualified name of the ui class. |
protected void |
initComponentDefaults(UIDefaults table)
Populates table with the defaults for metal. |
boolean |
isFocusAnimated()
Retrievs the current setting for the focus animation. |
ImageIcon |
loadImageIcon(String name)
Loads an image icon for the look and feel. |
static void |
setCurrentTheme(MetalTheme theme)
|
void |
setFocusAnimated(boolean flag)
Configures the animated keyboard focus for non-text components that can grab the keyboard focus, such as comboboxes, radio buttons or check boxes. |
void |
uninitialize()
Uninitializes the look and feel. |
| Methods inherited from class com.incors.plaf.kunststoff.KunststoffLookAndFeel |
|---|
getBackgroundGradientShadow, getComponentGradientColorReflection, getComponentGradientColorShadow, getTextComponentGradientColorReflection, getTextComponentGradientColorShadow, initSystemColorDefaults, isNativeLookAndFeel, isSupportedLookAndFeel, putDefault, setCurrentGradientTheme |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TPlasticLookAndFeel()
| Method Detail |
|---|
public static String getTPlasticName()
public static String getTPlasticDescription()
public String getName()
javax.swing.plaf.metal.MetalLookAndFeel"Metal".
getName in class com.incors.plaf.kunststoff.KunststoffLookAndFeelpublic String getDescription()
javax.swing.plaf.metal.MetalLookAndFeel"The Java(tm) Look and Feel".
getDescription in class com.incors.plaf.kunststoff.KunststoffLookAndFeelpublic String getID()
javax.swing.plaf.metal.MetalLookAndFeel"Metal".
getID in class com.incors.plaf.kunststoff.KunststoffLookAndFeelprotected void createDefaultTheme()
javax.swing.plaf.metal.MetalLookAndFeelMetalTheme is non-null. This is
a cover method for getCurrentTheme.
createDefaultTheme in class com.incors.plaf.kunststoff.KunststoffLookAndFeelMetalLookAndFeel.getCurrentTheme()public static void setCurrentTheme(MetalTheme theme)
public void uninitialize()
javax.swing.plaf.basic.BasicLookAndFeelUIManager when
the look and feel is uninstalled. For example,
UIManager.setLookAndFeel invokes this when the look and
feel is changed.
Subclasses may choose to free up some resources here.
uninitialize in class BasicLookAndFeelLookAndFeel.initialize(),
UIManager.setLookAndFeel(javax.swing.LookAndFeel)protected void initClassDefaults(UIDefaults table)
javax.swing.plaf.metal.MetalLookAndFeeltable with mappings from uiClassID to
the fully qualified name of the ui class. MetalLookAndFeel registers an entry for each of the classes in
the package javax.swing.plaf.metal that are named
MetalXXXUI. The string XXX is one of Swing's uiClassIDs. For
the uiClassIDs that do not have a class in metal, the
corresponding class in javax.swing.plaf.basic is
used. For example, metal does not have a class named "MetalColorChooserUI", as such, javax.swing.plaf.basic.BasicColorChooserUI is used.
initClassDefaults in class com.incors.plaf.kunststoff.KunststoffLookAndFeeltable - the UIDefaults instance the entries are
added toBasicLookAndFeel.initClassDefaults(javax.swing.UIDefaults)protected void initComponentDefaults(UIDefaults table)
javax.swing.plaf.metal.MetalLookAndFeeltable with the defaults for metal.
initComponentDefaults in class com.incors.plaf.kunststoff.KunststoffLookAndFeeltable - the UIDefaults to add the values to
public ImageIcon loadImageIcon(String name)
throws MissingResourceException
TentackleLookAndFeelPlafGlobal.
It allows each look and feel to provide its own icon set.
loadImageIcon in interface TentackleLookAndFeelname - the icon's name (without extension like gif or png!)
MissingResourceException - if no such iconpublic void setFocusAnimated(boolean flag)
TentackleLookAndFeel
setFocusAnimated in interface TentackleLookAndFeelflag - the boolean value which is true to enable the animation, false to turn it offpublic boolean isFocusAnimated()
TentackleLookAndFeel
isFocusAnimated in interface TentackleLookAndFeel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||