jbcl.control Package 

LookAndFeelComboBox component

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

About the LookAndFeelComboBox component

Variables  Constructors  Properties  Methods  Event Listeners

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

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 java.awt.Component

Variables implemented in javax.swing.JComboBox

Variables implemented in javax.swing.JComponent

LookAndFeelComboBox constructors

LookAndFeelComboBox properties

*Read-only properties **Write-only properties

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

Properties implemented in javax.swing.JComboBox

Properties implemented in javax.swing.JComponent

LookAndFeelComboBox methods

Methods implemented in this class

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

Methods implemented in javax.swing.JComboBox

Methods implemented in javax.swing.JComponent

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

addNotify()

  public void addNotify()
addNotify() is called whenever the LookAndFeelComboBox gets a parent. It populates the combo box with the installed look and feel styles.

Overrides: javax.swing.JComponent.addNotify()

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: javax.swing.JComboBox.selectedItemChanged()

updateUI()

  public void updateUI()
UpdateUI() is called whenever the selected look-and-feel style changes. It updates the user interface to the new look-and-feel style.

Overrides: javax.swing.JComboBox.updateUI()


LookAndFeelComboBox event listeners

This component is a source for the following event sets.

action

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

ancestor

 public void addAncestorListener(javax.swing.event.AncestorListener )
 public void removeAncestorListener(javax.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 synchronized void removeContainerListener(java.awt.event.ContainerListener )

focus

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

inputMethod

 public synchronized void addInputMethodListener(java.awt.event.InputMethodListener )
 public synchronized void removeInputMethodListener(java.awt.event.InputMethodListener )

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 )