|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI
javax.swing.plaf.metal.MetalComboBoxUI
com.jgoodies.looks.plastic.PlasticComboBoxUI
public final class PlasticComboBoxUI
The JGoodies Plastic Look and Feel implementation of ComboBoxUI.
Has the same height as text fields - unless you change the renderer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalComboBoxUI |
|---|
javax.swing.plaf.metal.MetalComboBoxUI.MetalComboBoxLayoutManager, javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup, javax.swing.plaf.metal.MetalComboBoxUI.MetalPropertyChangeListener |
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
|---|
javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager, javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler, javax.swing.plaf.basic.BasicComboBoxUI.ItemHandler, javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler, javax.swing.plaf.basic.BasicComboBoxUI.ListDataHandler, javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler |
| Field Summary |
|---|
| Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
|---|
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener |
| Constructor Summary | |
|---|---|
PlasticComboBoxUI()
|
|
| Method Summary | |
|---|---|
protected javax.swing.JButton |
createArrowButton()
Creates and answers the arrow button that is to be used in the combo box. |
protected javax.swing.ComboBoxEditor |
createEditor()
Creates the editor that is to be used in editable combo boxes. |
protected java.awt.LayoutManager |
createLayoutManager()
Creates a layout manager for managing the components which make up the combo box. |
protected javax.swing.plaf.basic.ComboPopup |
createPopup()
|
java.beans.PropertyChangeListener |
createPropertyChangeListener()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
Overriden to correct the combobox height. |
protected boolean |
isToolBarComboBox(javax.swing.JComponent c)
Checks and answers if this combo is in a tool bar. |
void |
update(java.awt.Graphics g,
javax.swing.JComponent c)
|
| Methods inherited from class javax.swing.plaf.metal.MetalComboBoxUI |
|---|
configureEditor, editablePropertyChanged, getBaseline, layoutComboBox, paint, paintCurrentValue, paintCurrentValueBackground, removeListeners, unconfigureEditor |
| Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
|---|
addEditor, configureArrowButton, createFocusListener, createItemListener, createKeyListener, createListDataListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlasticComboBoxUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected javax.swing.ComboBoxEditor createEditor()
createEditor in class javax.swing.plaf.metal.MetalComboBoxUIprotected javax.swing.plaf.basic.ComboPopup createPopup()
createPopup in class javax.swing.plaf.metal.MetalComboBoxUIpublic java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class javax.swing.plaf.metal.MetalComboBoxUIprotected javax.swing.JButton createArrowButton()
Overridden to use a button that can have a pseudo 3D effect.
createArrowButton in class javax.swing.plaf.metal.MetalComboBoxUIprotected java.awt.LayoutManager createLayoutManager()
Overriden to use a layout that has a fixed width arrow button.
createLayoutManager in class javax.swing.plaf.metal.MetalComboBoxUI
public void update(java.awt.Graphics g,
javax.swing.JComponent c)
update in class javax.swing.plaf.ComponentUIprotected boolean isToolBarComboBox(javax.swing.JComponent c)
c - the component to check
public java.beans.PropertyChangeListener createPropertyChangeListener()
createPropertyChangeListener in class javax.swing.plaf.metal.MetalComboBoxUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||