|
||||||||||
| 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.jgoodies.looks.plastic.PlasticLookAndFeel
com.jgoodies.looks.plastic.Plastic3DLookAndFeel
org.tentackle.plaf.tlooks.TLooksLookAndFeel
public class TLooksLookAndFeel
Extended JGoodies Look-And-Feel for Tentackle.
| Field Summary |
|---|
| Fields inherited from class com.jgoodies.looks.plastic.PlasticLookAndFeel |
|---|
BORDER_STYLE_KEY, DEFAULT_THEME_KEY, HIGH_CONTRAST_FOCUS_ENABLED_KEY, IS_3D_KEY, TAB_STYLE_DEFAULT_VALUE, TAB_STYLE_KEY, TAB_STYLE_METAL_VALUE |
| Constructor Summary | |
|---|---|
TLooksLookAndFeel()
|
|
| Method Summary | |
|---|---|
void |
configureTLooksLookAndFeel()
|
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 |
getTLooksDescription()
|
static String |
getTLooksName()
|
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. |
protected Object |
loadLooksIcon(String name)
Loads an icon. |
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. |
| Methods inherited from class com.jgoodies.looks.plastic.Plastic3DLookAndFeel |
|---|
installDefaultThemes, is3DEnabled |
| Methods inherited from class com.jgoodies.looks.plastic.PlasticLookAndFeel |
|---|
createMyDefaultTheme, createTheme, getControl, getControlDarkShadow, getControlHighlight, getDisabledIcon, getFocusColor, getFontPolicy, getHighContrastFocusColorsEnabled, getInstalledThemes, getInternalFrameBorder, getMenuItemBackground, getMenuItemSelectedBackground, getMenuItemSelectedForeground, getMicroLayoutPolicy, getPaletteBorder, getPlasticTheme, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSimpleInternalFrameBackground, getSimpleInternalFrameForeground, getTabStyle, getTitleTextColor, getTitleTextFont, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initialize, initSystemColorDefaults, installTheme, isSelectTextOnKeyboardFocusGained, set3DEnabled, setFontPolicy, setHighContrastFocusColorsEnabled, setMicroLayoutPolicy, setPlasticTheme, setSelectTextOnKeyboardFocusGained, setTabStyle, uninitialize |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, 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 TLooksLookAndFeel()
| Method Detail |
|---|
public void configureTLooksLookAndFeel()
public static String getTLooksName()
public static String getTLooksDescription()
public String getName()
javax.swing.plaf.metal.MetalLookAndFeel"Metal".
getName in class com.jgoodies.looks.plastic.Plastic3DLookAndFeelpublic String getDescription()
javax.swing.plaf.metal.MetalLookAndFeel"The Java(tm) Look and Feel".
getDescription in class com.jgoodies.looks.plastic.Plastic3DLookAndFeelpublic String getID()
javax.swing.plaf.metal.MetalLookAndFeel"Metal".
getID in class com.jgoodies.looks.plastic.Plastic3DLookAndFeelprotected 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.jgoodies.looks.plastic.PlasticLookAndFeeltable - 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.jgoodies.looks.plastic.Plastic3DLookAndFeeltable - the UIDefaults to add the values toprotected Object loadLooksIcon(String name)
name - the icon name
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 | |||||||||