|
||||||||||
| 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
org.tentackle.plaf.tmetal.TMetalLookAndFeel
public class TMetalLookAndFeel
Extended Tentackle Metal Look And Feel.
| Constructor Summary | |
|---|---|
TMetalLookAndFeel()
Creates a new instance of TMetalLookAndFeel |
|
| 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 |
getTMetalDescription()
|
static String |
getTMetalName()
|
protected void |
initClassDefaults(UIDefaults table)
overridden to install special TMetal UI |
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)
Implements TentackleLookAndFeel. |
static void |
setCurrentTheme(MetalTheme theme)
Sets the current color 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()
UIManager.setLookAndFeel calls this method just before we're replaced by a new default look and feel. |
| 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 TMetalLookAndFeel()
| Method Detail |
|---|
public static String getTMetalName()
public static String getTMetalDescription()
public String getName()
javax.swing.plaf.metal.MetalLookAndFeel"Metal".
getName in class MetalLookAndFeelpublic String getDescription()
javax.swing.plaf.metal.MetalLookAndFeel"The Java(tm) Look and Feel".
getDescription in class MetalLookAndFeelpublic String getID()
javax.swing.plaf.metal.MetalLookAndFeel"Metal".
getID in class MetalLookAndFeelprotected void createDefaultTheme()
javax.swing.plaf.metal.MetalLookAndFeelMetalTheme is non-null. This is
a cover method for getCurrentTheme.
createDefaultTheme in class MetalLookAndFeelMetalLookAndFeel.getCurrentTheme()public static void setCurrentTheme(MetalTheme theme)
public void uninitialize()
uninitialize in class BasicLookAndFeelBasicLookAndFeel.initialize()protected void initClassDefaults(UIDefaults table)
initClassDefaults in class MetalLookAndFeeltable - 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 MetalLookAndFeeltable - the UIDefaults to add the values to
public ImageIcon loadImageIcon(String name)
throws MissingResourceException
loadImageIcon in interface TentackleLookAndFeelname - the icon's name (without extension like gif or png!)
MissingResourceException - if no such iconpublic void setFocusAnimated(boolean flag)
setFocusAnimated in interface TentackleLookAndFeelflag - the boolean value which is true to enable the animation, false to turn it offpublic boolean isFocusAnimated()
isFocusAnimated in interface TentackleLookAndFeel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||