|
|||||||||
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
com.birosoft.liquid.LiquidLookAndFeel
public class LiquidLookAndFeel
The Liquid look and feel. There's a special property to switch the support for rounded windows of internal frames on or off: Use Liquidlookandfeel.roundedWindows = false to turn this support off. It causes slower rendering especially in the case of dragging the internal frame. By default it is tuned on. Another property sets whether the windows look and feel should be used for the file chooser: xplookandfeel.windowslfforfilechooser= true If set to true it'll be used. Currently this leads to a black border around the icons. By default this option is disabled.
Field Summary | |
---|---|
protected static boolean |
defaultRowBackgroundMode
|
protected static javax.swing.UIDefaults |
uiDefaults
|
Constructor Summary | |
---|---|
LiquidLookAndFeel()
This constructor installs the Liquid Look and Feel with the default color theme. |
Method Summary | |
---|---|
protected static boolean |
areStipplesUsed()
|
static java.awt.Color |
getBackgroundColor()
|
static java.awt.Color |
getButtonBackground()
|
static javax.swing.plaf.ColorUIResource |
getControl()
|
static java.awt.Color |
getDarkControl()
used for SliderUI Ticks |
java.lang.String |
getDescription()
Return a one line description of this look and feel implementation, e.g. |
static java.awt.Color |
getDesktopColor()
|
java.lang.String |
getID()
Return a string that identifies this look and feel. |
static java.awt.Color |
getLightControl()
|
java.lang.String |
getName()
Return a short string that identifies this look and feel, e.g. |
boolean |
getSupportsWindowDecorations()
|
static java.awt.Color |
getWindowBackground()
|
protected static java.awt.Color |
getWindowTitleInactiveForeground()
|
protected void |
initClassDefaults(javax.swing.UIDefaults table)
Initializes the uiClassID to BasicComponentUI mapping. |
protected void |
initComponentDefaults(javax.swing.UIDefaults table)
Initializes the default values for many ui widgets and puts them in the given ui defaults table. |
protected void |
initSystemColorDefaults(javax.swing.UIDefaults table)
Initializes the system colors. |
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. |
static javax.swing.ImageIcon |
loadIcon(java.lang.String file,
java.lang.Object invoker)
Loads an image icon. |
static javax.swing.ImageIcon |
loadIconImmediately(java.lang.String file,
java.lang.Object invoker)
Loads an image icon immediately. |
static void |
setDefaultRowBackgroundMode(boolean b)
This method will be used for setting background mode of gui elements which have rows (tables, lists, combos...). |
static void |
setDefaultTableBackgroundMode(boolean b)
Deprecated. Table rows are not only gui elements which use different colors for row background. |
static void |
setLiquidDecorations(boolean b)
This method will be used for setting windows decorations |
static void |
setStipples(boolean b)
|
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
---|
createAudioAction, getAudioActionMap, getDefaults, initialize, loadSystemColors, playSound, uninitialize |
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 javax.swing.UIDefaults uiDefaults
protected static boolean defaultRowBackgroundMode
Constructor Detail |
---|
public LiquidLookAndFeel()
Method Detail |
---|
public java.lang.String getID()
getID
in class javax.swing.LookAndFeel
public java.lang.String getName()
getName
in class javax.swing.LookAndFeel
public static javax.swing.plaf.ColorUIResource getControl()
public java.lang.String getDescription()
getDescription
in class javax.swing.LookAndFeel
public boolean isNativeLookAndFeel()
isNativeLookAndFeel
in class javax.swing.LookAndFeel
public final boolean isSupportedLookAndFeel()
isSupportedLookAndFeel
in class javax.swing.LookAndFeel
public boolean getSupportsWindowDecorations()
getSupportsWindowDecorations
in class javax.swing.LookAndFeel
protected void initClassDefaults(javax.swing.UIDefaults table)
initClassDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
table
- The ui defaults table.protected void initSystemColorDefaults(javax.swing.UIDefaults table)
initSystemColorDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
table
- The ui defaults table.protected void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
table
- The ui defaults table.public static javax.swing.ImageIcon loadIcon(java.lang.String file, java.lang.Object invoker)
file
- The image file name.invoker
- The refence of the invoking class, whose classloader will be
used for loading the image.public static javax.swing.ImageIcon loadIconImmediately(java.lang.String file, java.lang.Object invoker)
file
- The image file name.invoker
- The refence of the invoking class, whose classloader will be
used for loading the image.public static java.awt.Color getLightControl()
public static java.awt.Color getDarkControl()
public static java.awt.Color getBackgroundColor()
public static java.awt.Color getDesktopColor()
protected static java.awt.Color getWindowTitleInactiveForeground()
public static java.awt.Color getWindowBackground()
public static java.awt.Color getButtonBackground()
public static void setDefaultTableBackgroundMode(boolean b)
public static void setDefaultRowBackgroundMode(boolean b)
public static void setLiquidDecorations(boolean b)
protected static boolean areStipplesUsed()
public static void setStipples(boolean b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |