API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.multi. MultiLookAndFeel View Source
Author(s)
Willie Walker
Since
Version
1.36 02/19/06
Serial
Hierarchy
 Object
      LookAndFeel
          MultiLookAndFeel
Implements
Subclasses
Description
public class MultiLookAndFeel
  A multiplexing look and feel that allows more than one UI to be associated with a component at the same time.
Constructors
public MultiLookAndFeel ()
Methods
Hide/Show inherited methods
publicstatic ComponentUI createUIs (ComponentUI mui, Vector uis, JComponent target)
  Creates the ComponentUI objects required to present the target component, placing the objects in the uis vector and returning the ComponentUI object that best represents the component's UI.
public UIDefaults getDefaults () [Overrides LookAndFeel]
  Creates, initializes, and returns the look and feel specific defaults.
public String getDescription () [Specified in LookAndFeel]
  Returns a one-line description of this look and feel.
publicstatic Object getDesktopPropertyValue (String systemPropertyName, Object fallbackValue) [Inherited From LookAndFeel]
  Returns the value of the specified system desktop property by invoking Toolkit.getDefaultToolkit().getDesktopProperty().
public Icon getDisabledIcon (JComponent component, Icon icon) [Inherited From LookAndFeel]
  Returns an Icon with a disabled appearance.
public Icon getDisabledSelectedIcon (JComponent component, Icon icon) [Inherited From LookAndFeel]
  Returns an Icon for use by disabled components that are also selected.
public String getID () [Specified in LookAndFeel]
  Returns a string, suitable for use by applications/services, that identifies this look and feel.
public LayoutStyle getLayoutStyle () [Inherited From LookAndFeel]
  Returns the LayoutStyle for this look and feel.
public String getName () [Specified in LookAndFeel]
  Returns a string, suitable for use in menus, that identifies this look and feel.
public boolean getSupportsWindowDecorations () [Inherited From LookAndFeel]
  Returns true if the LookAndFeel returned RootPaneUI instances support providing Window decorations in a JRootPane.
public void initialize () [Inherited From LookAndFeel]
  Initializes the look and feel.
publicstatic void installBorder (JComponent c, String defaultBorderName) [Inherited From LookAndFeel]
  Convenience method for setting a component's border property with a value from the defaults.
publicstatic void installColors (JComponent c, String defaultBgName, String defaultFgName) [Inherited From LookAndFeel]
  Convenience method for setting a component's foreground and background color properties with values from the defaults.
publicstatic void installColorsAndFont (JComponent c, String defaultBgName, String defaultFgName, String defaultFontName) [Inherited From LookAndFeel]
  Convenience method for setting a component's foreground, background and font properties with values from the defaults.
publicstatic void installProperty (JComponent c, String propertyName, Object propertyValue) [Inherited From LookAndFeel]
  Convenience method for installing a property with the specified name and value on a component if that property has not already been set by the developer.
public boolean isNativeLookAndFeel () [Specified in LookAndFeel]
  Returns false; this look and feel is not native to any platform.
public boolean isSupportedLookAndFeel () [Specified in LookAndFeel]
  Returns true; every platform permits this look and feel.
publicstatic void loadKeyBindings (InputMap retMap, Object keys) [Inherited From LookAndFeel]
  Populates an InputMap with the specified bindings.
publicstatic ComponentInputMap makeComponentInputMap (JComponent c, Object keys) [Inherited From LookAndFeel]
  Creates a ComponentInputMapUIResource from keys.
publicstatic Object makeIcon (Class<Object> baseClass, String gifFile) [Inherited From LookAndFeel]
  Creates and returns a UIDefault.LazyValue that loads an image.
publicstatic InputMap makeInputMap (Object keys) [Inherited From LookAndFeel]
  Creates a InputMapUIResource from keys.
publicstatic KeyBinding makeKeyBindings (Object keyBindingList) [Inherited From LookAndFeel]
  Convenience method for building an array of KeyBindings.
public void provideErrorFeedback (Component component) [Inherited From LookAndFeel]
  Invoked when the user attempts an invalid operation, such as pasting into an uneditable JTextField that has focus.
public String toString () [Inherited From LookAndFeel]
  Returns a string that displays and identifies this object's properties.
protectedstatic ComponentUI uisToArray (Vector uis)
  Creates an array, populates it with UI objects from the passed-in vector, and returns the array.
public void uninitialize () [Inherited From LookAndFeel]
  Uninitializes the look and feel.
publicstatic void uninstallBorder (JComponent c) [Inherited From LookAndFeel]
  Convenience method for uninstalling a border.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar