org.shetline.gui.laf
Class LookAndFeelUtil
java.lang.Object
org.shetline.gui.laf.LookAndFeelUtil
public class LookAndFeelUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BORDER_FOCUS
public static final String BORDER_FOCUS
- See Also:
- Constant Field Values
CELL_EDITOR_KEY
public static final String CELL_EDITOR_KEY
- See Also:
- Constant Field Values
INVERT_SELECTION_CLIENT_KEY
public static final String INVERT_SELECTION_CLIENT_KEY
- See Also:
- Constant Field Values
MINI_STYLE
public static final String MINI_STYLE
- See Also:
- Constant Field Values
SELECT_ON_FOCUS_GAIN_KEY
public static final String SELECT_ON_FOCUS_GAIN_KEY
- See Also:
- Constant Field Values
SELECT_ON_FOCUS_GAIN_CLIENT_KEY
public static final String SELECT_ON_FOCUS_GAIN_CLIENT_KEY
- See Also:
- Constant Field Values
SET_CARET_TO_START_ON_FOCUS_LOST_CLIENT_KEY
public static final String SET_CARET_TO_START_ON_FOCUS_LOST_CLIENT_KEY
- See Also:
- Constant Field Values
getColor
public static Color getColor(String key,
Color defaultColor)
getColor
public static Color getColor(String key,
boolean checkGeneric)
getColor
public static Color getColor(String key,
boolean checkGeneric,
Color defaultColor)
getInt
public static int getInt(String key,
int defaultValue)
getInsets
public static Insets getInsets(String key,
Insets defaultInsets)
fixMacKeyBindings
public static void fixMacKeyBindings(UIDefaults uiDefaults)
isToolBarButton
public static boolean isToolBarButton(AbstractButton b)
isTableCellEditor
public static boolean isTableCellEditor(JComponent c)
getParentBackground
public static Color getParentBackground(Component c)
isLeftToRight
public static boolean isLeftToRight(Component c)
isInEditableComboBox
public static boolean isInEditableComboBox(Component c)
setMiniStyle
public static void setMiniStyle(JComponent c)
setMiniStyle
public static void setMiniStyle(JComponent c,
boolean makeMini)
isMiniStyle
public static boolean isMiniStyle(Component c)
setBorderDrawsFocus
public static void setBorderDrawsFocus(AbstractButton b)
setBorderDrawsFocus
public static void setBorderDrawsFocus(AbstractButton b,
boolean drawsFocus)
getBorderDrawsFocus
public static boolean getBorderDrawsFocus(AbstractButton b)
isSelectOnFocusGainActive
public static boolean isSelectOnFocusGainActive(JTextComponent c)
getSelectOnFocusGainEnabled
public static Boolean getSelectOnFocusGainEnabled(JTextComponent c)
isSelectOnFocusGainEnabled
public static boolean isSelectOnFocusGainEnabled()