|
||||||||||
| 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
org.jvnet.substance.SubstanceLookAndFeel
org.jvnet.substance.skin.SubstanceModerateLookAndFeel
org.tentackle.plaf.tsubstance.TSubstanceLookAndFeel
public class TSubstanceLookAndFeel
| Field Summary | |
|---|---|
protected static MetalTheme |
currentTheme
|
| Fields inherited from class org.jvnet.substance.SubstanceLookAndFeel |
|---|
BACKGROUND_COMPOSITE, backgroundComposites, BORDER_ANIMATION_KIND, BORDER_PAINTER_PROPERTY, borderPainterChangeListeners, borderPainterPlugins, BUTTON_NO_MIN_SIZE_PROPERTY, BUTTON_OPEN_SIDE_PROPERTY, BUTTON_PAINT_NEVER_PROPERTY, BUTTON_SHAPER_PROPERTY, BUTTON_SIDE_PROPERTY, buttonShaperChangeListeners, COLORIZATION_FACTOR, COMBO_BOX_POPUP_FLYOUT_ORIENTATION, COMBO_POPUP_PROTOTYPE, componentPlugins, CONFIG_FILE, CORNER_RADIUS, currentKeyboardFocusManager, DEBUG_UI_MODE, ENABLE_INVERTED_THEMES, ENABLE_NEGATED_THEMES, FLAT_PROPERTY, FOCUS_KIND, focusOwnerChangeListener, GRADIENT_PAINTER_PROPERTY, gradientPainterChangeListeners, GRIP_PAINTER, HEAP_STATUS_PANEL, ignoreAnimationsSet, isDebugUiMode, localeChangeListeners, MENU_GUTTER_FILL_KIND, mixedThemes, NO_EXTRA_ELEMENTS, OVERLAY_PROPERTY, PAINT_ACTIVE_PROPERTY, painterPlugins, paramReader, PASSWORD_ECHO_PER_CHAR, PLUGIN_XML, SCROLL_PANE_BUTTONS_POLICY, shaperPlugins, skinChangeListeners, skinPlugins, SUBSTANCE_FONT_POLICY_KEY, TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION, TABBED_PANE_CLOSE_BUTTONS_PROPERTY, TABBED_PANE_CLOSE_CALLBACK, TABBED_PANE_CONTENT_BORDER_KIND, TABBED_PANE_TEXT_ALIGNMENT_KIND, TABBED_PANE_VERTICAL_ORIENTATION, TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS, THEME_PROPERTY, themeChangeListeners, themePlugins, TITLE_PAINTER_PROPERTY, titlePainterPlugins, toBleedWatermark, toEnableInvertedThemes, toEnableNegatedThemes, toShowExtraElements, toUseConstantThemesOnDialogs, TRACE_FILE, TREE_DECORATIONS_ANIMATION_KIND, TREE_SMART_SCROLL_ANIMATION_KIND, USE_THEMED_DEFAULT_ICONS, WATERMARK_IGNORE, WATERMARK_IMAGE_KIND, WATERMARK_IMAGE_OPACITY, WATERMARK_IMAGE_PROPERTY, WATERMARK_PROPERTY, WATERMARK_TO_BLEED, watermarkChangeListeners, watermarkPlugins, WINDOW_MODIFIED |
| Constructor Summary | |
|---|---|
TSubstanceLookAndFeel()
|
|
| Method Summary | |
|---|---|
void |
configureTSubstanceLookAndFeel()
|
String |
getDescription()
Return a one line description of this look and feel implementation, e.g. |
String |
getID()
Return a string that identifies this look and feel. |
String |
getName()
Return a short string that identifies this look and feel, e.g. |
static String |
getTSubstanceDescription()
|
static String |
getTSubstanceName()
|
protected void |
initClassDefaults(UIDefaults table)
overridden to install special TSubstance UI |
boolean |
isFocusAnimated()
Retrievs the current setting for the focus animation. |
boolean |
isNativeLookAndFeel()
If the underlying platform has a "native" look and feel, and this is an implementation of it, return true. |
boolean |
isSupportedLookAndFeel()
Return true if the underlying platform supports and or permits
this look and feel. |
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 org.jvnet.substance.skin.SubstanceModerateLookAndFeel |
|---|
initialize |
| Methods inherited from class org.jvnet.substance.SubstanceLookAndFeel |
|---|
__org__jvnet__substance__SubstanceLookAndFeel__initClassDefaults, addMixedTheme, addMixedTheme, addMixedThemeBy, getActiveColorScheme, getAllBorderPainters, getAllButtonShapers, getAllGradientPainters, getAllSkins, getAllTabCloseListeners, getAllTabCloseListeners, getAllThemes, getAllWatermarks, getBackgroundComposite, getCurrentBorderPainter, getCurrentBorderPainterName, getCurrentButtonShaper, getCurrentButtonShaperName, getCurrentDecorationPainter, getCurrentGradientPainter, getCurrentGradientPainterName, getCurrentHighlightPainter, getCurrentTextPainter, getCurrentThemeName, getCurrentWatermark, getCurrentWatermarkName, getDefaultColorScheme, getDefaults, getDisabledColorScheme, getFontPolicy, getImageWatermarkKind, getImageWatermarkOpacity, getLabelBundle, getLabelBundle, getLocaleListeners, getParamReader, getPlugins, getSupportsWindowDecorations, getTheme, getTitlePaneComponent, hasMixedThemes, hideMenuSearchPanels, ignoreAnimationsOnClass, ignoreAnimationsOnClass, initComponentDefaults, isDebugUiMode, isToUseConstantThemesOnDialogs, permanentlyHideHeapStatusPanel, permanentlyShowHeapStatusPanel, registerBorderPainterChangeListener, registerButtonShaperChangeListener, registerGradientPainterChangeListener, registerLocaleChangeListener, registerSkinChangeListener, registerTabCloseChangeListener, registerTabCloseChangeListener, registerThemeChangeListener, registerWatermarkChangeListener, removeMixedTheme, removeMixedThemeBy, resetLabelBundle, setBackgroundComposite, setCurrentBorderPainter, setCurrentBorderPainter, setCurrentButtonShaper, setCurrentButtonShaper, setCurrentDecorationPainter, setCurrentGradientPainter, setCurrentGradientPainter, setCurrentHighlightPainter, setCurrentTextPainter, setCurrentTheme, setCurrentTheme, setCurrentTheme, setCurrentWatermark, setCurrentWatermark, setDecorationType, setFontPolicy, setImageWatermarkKind, setImageWatermarkOpacity, setLabelBundleClassLoader, setSkin, setSkin, setToUseConstantThemesOnDialogs, showMenuSearchPanels, stopThreads, toBleedWatermark, toEnableInvertedThemes, toEnableNegatedThemes, toIgnoreAnimation, toShowExtraElements, unregisterBorderPainterChangeListener, unregisterButtonShaperChangeListener, unregisterGradientPainterChangeListener, unregisterLocaleChangeListener, unregisterSkinChangeListener, unregisterTabCloseChangeListener, unregisterTabCloseChangeListener, unregisterThemeChangeListener, unregisterWatermarkChangeListener |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, initSystemColorDefaults, loadSystemColors, playSound |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, getLayoutStyle, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static MetalTheme currentTheme
| Constructor Detail |
|---|
public TSubstanceLookAndFeel()
| Method Detail |
|---|
public void configureTSubstanceLookAndFeel()
public static String getTSubstanceName()
public static String getTSubstanceDescription()
public String getName()
javax.swing.LookAndFeel
getName in class org.jvnet.substance.skin.SubstanceModerateLookAndFeelpublic String getDescription()
javax.swing.LookAndFeel
getDescription in class org.jvnet.substance.SubstanceLookAndFeelpublic String getID()
javax.swing.LookAndFeel
getID in class org.jvnet.substance.skin.SubstanceModerateLookAndFeelpublic boolean isNativeLookAndFeel()
javax.swing.LookAndFeeltrue. For
example, when the underlying platform is Solaris running CDE
a CDE/Motif look and feel implementation would return true.
isNativeLookAndFeel in class org.jvnet.substance.SubstanceLookAndFeeltrue if this look and feel represents the underlying
platform look and feelpublic boolean isSupportedLookAndFeel()
javax.swing.LookAndFeeltrue if the underlying platform supports and or permits
this look and feel. This method returns false if the look
and feel depends on special resources or legal agreements that
aren't defined for the current platform.
isSupportedLookAndFeel in class org.jvnet.substance.SubstanceLookAndFeeltrue if this is a supported look and feelUIManager.setLookAndFeel(javax.swing.LookAndFeel)public static void setCurrentTheme(MetalTheme theme)
public void uninitialize()
uninitialize in class org.jvnet.substance.SubstanceLookAndFeelLookAndFeel.initialize(),
UIManager.setLookAndFeel(javax.swing.LookAndFeel)protected void initClassDefaults(UIDefaults table)
initClassDefaults in class org.jvnet.substance.SubstanceLookAndFeeltable - the UIDefaults instance the entries are
added toLookAndFeel,
BasicLookAndFeel.getDefaults()
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 | |||||||||