Home » openjdk-7 » sun » swing » [javadoc | source]
sun.swing
public class: DefaultLookup [javadoc | source]
java.lang.Object
   sun.swing.DefaultLookup
DefaultLookup provides a way to customize the lookup done by the UIManager. The default implementation of DefaultLookup forwards the call to the UIManager.

WARNING: While this class is public, it should not be treated as public API and its API may change in incompatable ways between dot dot releases and even patch releases. You should not rely on this class even existing.

Method from sun.swing.DefaultLookup Summary:
get,   getBoolean,   getBoolean,   getBorder,   getBorder,   getColor,   getColor,   getDefault,   getIcon,   getIcon,   getInsets,   getInsets,   getInt,   getInt,   setDefaultLookup
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.swing.DefaultLookup Detail:
 public static Object get(JComponent c,
    ComponentUI ui,
    String key) 
 public static boolean getBoolean(JComponent c,
    ComponentUI ui,
    String key) 
 public static boolean getBoolean(JComponent c,
    ComponentUI ui,
    String key,
    boolean defaultValue) 
 public static Border getBorder(JComponent c,
    ComponentUI ui,
    String key) 
 public static Border getBorder(JComponent c,
    ComponentUI ui,
    String key,
    Border defaultValue) 
 public static Color getColor(JComponent c,
    ComponentUI ui,
    String key) 
 public static Color getColor(JComponent c,
    ComponentUI ui,
    String key,
    Color defaultValue) 
 public Object getDefault(JComponent c,
    ComponentUI ui,
    String key) 
 public static Icon getIcon(JComponent c,
    ComponentUI ui,
    String key) 
 public static Icon getIcon(JComponent c,
    ComponentUI ui,
    String key,
    Icon defaultValue) 
 public static Insets getInsets(JComponent c,
    ComponentUI ui,
    String key) 
 public static Insets getInsets(JComponent c,
    ComponentUI ui,
    String key,
    Insets defaultValue) 
 public static int getInt(JComponent c,
    ComponentUI ui,
    String key) 
 public static int getInt(JComponent c,
    ComponentUI ui,
    String key,
    int defaultValue) 
 public static  void setDefaultLookup(DefaultLookup lookup) 
    Sets the DefaultLookup instance to use for the current AppContext. Null implies the UIManager should be used.