borland Packages  Class Hierarchy  jbcl.util Package  Index 

LookAndFeelManager component

java.lang.Object
   +----borland.jbcl.util.LookAndFeelManager

About the LookAndFeelManager component

Variables  Constructors  Properties  Methods  
The LookAndFeelManager is a utility that can be used to change the look-and-feel style of the user interface.

There are two ways to use change the look and feel of the user interface using the LookAndFeelManager. You can specify a look-and-feel style with the lookAndFeel property, or you can specify a component from which the LookAndFeelManager can obtain the look-and-feel style using the rootComponent property.


LookAndFeelManager variables

Variables implemented in this class

LookAndFeelManager constructors

LookAndFeelManager properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

LookAndFeelManager methods

Methods implemented in this class

Methods implemented in java.lang.Object


LookAndFeelManager variables

rootComponent

  protected transient Component rootComponent

LookAndFeelManager constructors

LookAndFeelManager()

  public LookAndFeelManager()
Constructs a LookAndFeelManager component.

LookAndFeelManager properties

lookAndFeel

 public LookAndFeel getLookAndFeel()
 public void setLookAndFeel(com.sun.java.swing.LookAndFeel lookAndFeel)
Determines the current look-and-feel style used by the user interface. Setting lookAndFeel changes the look-and-feel style of the UI to the specified style of the lookAndFeel parameter.

rootComponent

 public Component getRootComponent()
 public void setRootComponent(java.awt.Component rootComponent)
Determines the root component from which the look-and-feel style of the user interface is derived. Setting rootComponent changes the look-and-feel style of the UI to the same look-and-feel style of the component specified with the rootComponent parameter.

LookAndFeelManager methods

updateUI()

  public void updateUI()
Updates the user interface to the new look and feel. updateUI() is called whenever the lookAndFeel property is set or the rootComponent is set.