|
|||||||||
| 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
de.muntjak.tinylookandfeel.TinyComboBoxUI
public class TinyComboBoxUI
TinyComboBoxUI
| Nested Class Summary | |
|---|---|
class |
TinyComboBoxUI.TinyComboBoxLayoutManager
This inner class is marked "public" due to a compiler bug. |
class |
TinyComboBoxUI.TinyPropertyChangeListener
This inner class is marked "public" due to a compiler bug. |
| 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 | |
|---|---|
protected java.awt.Dimension |
cachedDisplaySize
|
protected boolean |
isDisplaySizeDirty
|
| 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 | |
|---|---|
TinyComboBoxUI()
|
|
| Method Summary | |
|---|---|
protected javax.swing.JButton |
createArrowButton()
|
protected javax.swing.ComboBoxEditor |
createEditor()
|
protected java.awt.LayoutManager |
createLayoutManager()
|
java.beans.PropertyChangeListener |
createPropertyChangeListener()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
protected void |
editablePropertyChanged(java.beans.PropertyChangeEvent e)
Deprecated. As of Java 2 platform v1.4. |
protected java.awt.Dimension |
getDisplaySize()
Copied from BasicComboBoxUI, because isDisplaySizeDirty was declared private!? |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
|
protected void |
installComponents()
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
protected java.awt.Rectangle |
rectangleForCurrentValue2()
|
protected void |
removeListeners()
Deprecated. As of Java 2 platform v1.4. |
| Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
|---|
addEditor, configureArrowButton, configureEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createPopup, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getInsets, getMaximumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean isDisplaySizeDirty
protected java.awt.Dimension cachedDisplaySize
| Constructor Detail |
|---|
public TinyComboBoxUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.basic.BasicComboBoxUIprotected javax.swing.ComboBoxEditor createEditor()
createEditor in class javax.swing.plaf.basic.BasicComboBoxUIprotected javax.swing.JButton createArrowButton()
createArrowButton in class javax.swing.plaf.basic.BasicComboBoxUIprotected void installComponents()
installComponents in class javax.swing.plaf.basic.BasicComboBoxUIpublic java.beans.PropertyChangeListener createPropertyChangeListener()
createPropertyChangeListener in class javax.swing.plaf.basic.BasicComboBoxUIprotected void editablePropertyChanged(java.beans.PropertyChangeEvent e)
protected java.awt.LayoutManager createLayoutManager()
createLayoutManager in class javax.swing.plaf.basic.BasicComboBoxUIprotected java.awt.Rectangle rectangleForCurrentValue2()
protected void removeListeners()
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class javax.swing.plaf.basic.BasicComboBoxUIc - the combo boxprotected java.awt.Dimension getDisplaySize()
For combo boxes with a non trivial number of items, it is recommended to use a prototype display value to significantly speed up the display size calculation.
getDisplaySize in class javax.swing.plaf.basic.BasicComboBoxUIJComboBox.setPrototypeDisplayValue(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||