borland Packages  Class Hierarchy  jbcl.control Package  Index 

LookAndFeelComboBox component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----com.sun.java.swing.JComponent
                           +----com.sun.java.swing.JComboBox
                                   +----borland.jbcl.control.LookAndFeelComboBox

About the LookAndFeelComboBox component

Variables  Constructors  Properties  Methods  Event Listeners

Implements BlackBox, Accessible, ListDataListener, ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener

The LookAndFeelComboBox allows the user to change the look-and-feel style of the user interface at runtime. When the user selects a look-and-feel style using the combo box, the selectedItemChanged() method is called, which sets the look and feel of the user interface to the one selected by the user.


LookAndFeelComboBox variables

Variables implemented in this class

Variables implemented in com.sun.java.swing.JComboBox

Variables implemented in com.sun.java.swing.JComponent

Variables implemented in java.awt.Component

LookAndFeelComboBox constructors

LookAndFeelComboBox properties

*Read-only properties **Write-only properties

Properties implemented in com.sun.java.swing.JComboBox

Properties implemented in com.sun.java.swing.JComponent

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

LookAndFeelComboBox methods

Methods implemented in this class

Methods implemented in com.sun.java.swing.JComboBox

Methods implemented in com.sun.java.swing.JComponent

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

LookAndFeelComboBox event listeners


LookAndFeelComboBox variables

lafi

  protected UIManager.LookAndFeelInfo[] lafi

LookAndFeelComboBox constructors

LookAndFeelComboBox()

  public LookAndFeelComboBox()
Creates a LookAndFeelComboBox. The selected look-and-feel item in the combo box is the current look and feel of the user interface.

LookAndFeelComboBox methods

findTopParent()

  protected Component findTopParent()
Returns the topmost parent component of the LookAndFeelComboBox. For example, if the combo box is in a group box that is in a DecoratedFrame, the parent of the combo box is the group box, whose parent is the DecoratedFrame. So the DecoratedFrame is the topmost parent. The search up the parent chain continues until the component that has no parent is reached.

selectedItemChanged()

  protected void selectedItemChanged()
When the user selects a look-and-feel style in the combo box, the selectedItemChanged() method is called, which sets the look and feel of the user interface to the style selected by the user.

Overrides: com.sun.java.swing.JComboBox.selectedItemChanged()


LookAndFeelComboBox event listeners

This component is a source for the following event sets. For information on the standard AWT event sets, see Standard Java events.

action

 public void addActionListener(java.awt.event.ActionListener )
 public void removeActionListener(java.awt.event.ActionListener )

ancestor

 public void addAncestorListener(com.sun.java.swing.event.AncestorListener )
 public void removeAncestorListener(com.sun.java.swing.event.AncestorListener )

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener )
 public synchronized void removeComponentListener(java.awt.event.ComponentListener )

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener )
 public void removeContainerListener(java.awt.event.ContainerListener )

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener )
 public synchronized void removeFocusListener(java.awt.event.FocusListener )

item

 public void addItemListener(java.awt.event.ItemListener )
 public void removeItemListener(java.awt.event.ItemListener )

key

 public synchronized void addKeyListener(java.awt.event.KeyListener )
 public synchronized void removeKeyListener(java.awt.event.KeyListener )

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener )
 public synchronized void removeMouseListener(java.awt.event.MouseListener )

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener )
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener )

propertyChange

 public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener )
 public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener )

vetoableChange

 public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener )
 public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener )