@Service(value=org.tentackle.swing.plaf.TentackleLookAndFeel.class) public class TSubstanceLookAndFeel extends org.jvnet.substance.skin.SubstanceModerateLookAndFeel implements TentackleLookAndFeel
| Modifier and Type | Field and Description |
|---|---|
protected static MetalTheme |
currentTheme |
BUTTON_NO_MIN_SIZE_PROPERTY, BUTTON_OPEN_SIDE_PROPERTY, BUTTON_PAINT_NEVER_PROPERTY, BUTTON_SHAPER_PROPERTY, BUTTON_SIDE_PROPERTY, COLORIZATION_FACTOR, COMBO_BOX_POPUP_FLYOUT_ORIENTATION, COMBO_POPUP_PROTOTYPE, CORNER_RADIUS, currentKeyboardFocusManager, FLAT_PROPERTY, FOCUS_KIND, focusOwnerChangeListener, HEAP_STATUS_TRACE_FILE, localeChangeListeners, MENU_GUTTER_FILL_KIND, name, PASSWORD_ECHO_PER_CHAR, PLUGIN_XML, SCROLL_PANE_BUTTONS_POLICY, SHOW_EXTRA_WIDGETS, skin, SKIN_PROPERTY, skinChangeListeners, SUBSTANCE_FONT_POLICY_KEY, TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION, TABBED_PANE_CLOSE_BUTTONS_PROPERTY, TABBED_PANE_CLOSE_CALLBACK, TABBED_PANE_CONTENT_BORDER_KIND, TRACE_FILE, TREE_SMART_SCROLL_ANIMATION_KIND, USE_THEMED_DEFAULT_ICONS, WATERMARK_VISIBLE, WINDOW_MODIFIED| Constructor and Description |
|---|
TSubstanceLookAndFeel() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureTSubstanceLookAndFeel() |
String |
getDescription() |
String |
getID() |
Color |
getMandatoryColor() |
String |
getName() |
static String |
getTSubstanceDescription() |
static String |
getTSubstanceName() |
Color |
getUnselectedMandatoryColor() |
protected void |
initClassDefaults(UIDefaults table)
overridden to install special TSubstance UI
|
protected void |
initComponentDefaults(UIDefaults table) |
boolean |
isFocusAnimated()
Retrievs the current setting for the focus animation.
|
boolean |
isNativeLookAndFeel() |
boolean |
isSupportedLookAndFeel() |
ImageIcon |
loadImageIcon(String name)
Implements TentackleLookAndFeel.
|
void |
loadTentackleExtraColors() |
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 |
setMandatoryColor(Color mandatoryColor) |
void |
setUnselectedMandatoryColor(Color unselectedMandatoryColor) |
void |
uninitialize()
UIManager.setLookAndFeel calls this method just before we're
replaced by a new default look and feel.
|
__org__jvnet__substance__SubstanceLookAndFeel__initClassDefaults, getAllSkins, getAllTabCloseListeners, getAllTabCloseListeners, getCurrentSkin, getCurrentSkin, getDecorationType, getDefaults, getDisabledIcon, getFontPolicy, getImmediateDecorationType, getLabelBundle, getLabelBundle, getLocaleListeners, getSupportsWindowDecorations, getTitlePaneComponent, initialize, initPluginsIfNecessary, isCurrentLookAndFeel, isToUseConstantThemesOnDialogs, registerLocaleChangeListener, registerSkinChangeListener, registerTabCloseChangeListener, registerTabCloseChangeListener, resetLabelBundle, setDecorationType, setFontPolicy, setLabelBundleClassLoader, setSkin, setSkin, setToUseConstantThemesOnDialogs, setWidgetVisible, unregisterLocaleChangeListener, unregisterSkinChangeListener, unregisterTabCloseChangeListener, unregisterTabCloseChangeListenercreateAudioAction, getAudioActionMap, initSystemColorDefaults, loadSystemColors, playSoundgetDesktopPropertyValue, getDisabledSelectedIcon, getLayoutStyle, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorderprotected static MetalTheme currentTheme
public void configureTSubstanceLookAndFeel()
public void loadTentackleExtraColors()
loadTentackleExtraColors in interface TentackleLookAndFeelpublic Color getMandatoryColor()
getMandatoryColor in interface TentackleLookAndFeelpublic void setMandatoryColor(Color mandatoryColor)
setMandatoryColor in interface TentackleLookAndFeelpublic Color getUnselectedMandatoryColor()
getUnselectedMandatoryColor in interface TentackleLookAndFeelpublic void setUnselectedMandatoryColor(Color unselectedMandatoryColor)
setUnselectedMandatoryColor in interface TentackleLookAndFeelpublic static String getTSubstanceName()
public static String getTSubstanceDescription()
public String getName()
getName in class org.jvnet.substance.SubstanceLookAndFeelpublic String getDescription()
getDescription in class org.jvnet.substance.SubstanceLookAndFeelpublic String getID()
getID in class org.jvnet.substance.SubstanceLookAndFeelpublic boolean isNativeLookAndFeel()
isNativeLookAndFeel in class org.jvnet.substance.SubstanceLookAndFeelpublic boolean isSupportedLookAndFeel()
isSupportedLookAndFeel in class org.jvnet.substance.SubstanceLookAndFeelpublic static void setCurrentTheme(MetalTheme theme)
theme - the themepublic void uninitialize()
uninitialize in class org.jvnet.substance.SubstanceLookAndFeelprotected void initClassDefaults(UIDefaults table)
initClassDefaults in class org.jvnet.substance.SubstanceLookAndFeelprotected void initComponentDefaults(UIDefaults table)
initComponentDefaults in class org.jvnet.substance.SubstanceLookAndFeelpublic ImageIcon loadImageIcon(String name) throws MissingResourceException
loadImageIcon in interface TentackleLookAndFeelMissingResourceExceptionpublic 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 TentackleLookAndFeelTentackle - distributed, domain- and model-driven