DESY ACOP Beans Home
com.cosylab.gui.components
Class SimpleComboBox.DropComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
com.cosylab.gui.components.SimpleComboBox.SimpleComboBoxUI
com.cosylab.gui.components.SimpleComboBox.DropComboBoxUI
- Direct Known Subclasses:
- ColorEditor.ColorEditorUI
- Enclosing class:
- SimpleComboBox
public static class SimpleComboBox.DropComboBoxUI
- extends SimpleComboBox.SimpleComboBoxUI
This extension of SimpleComboBoxUI uses the standard right-side arrow
button to activate the drop-down list.
- Version:
- $id$
- Author:
- Jernej Kamenik
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dropButton
protected ArrowButton dropButton
SimpleComboBox.DropComboBoxUI
public SimpleComboBox.DropComboBoxUI()
getDropButton
protected SimpleButton getDropButton()
calculatePreferredSize
protected java.awt.Dimension calculatePreferredSize()
- Overrides:
calculatePreferredSize
in class SimpleComboBox.SimpleComboBoxUI
calculateRendererCellRectangle
protected java.awt.Rectangle calculateRendererCellRectangle()
- Overrides:
calculateRendererCellRectangle
in class SimpleComboBox.SimpleComboBoxUI
calculateLayout
protected void calculateLayout()
- Overrides:
calculateLayout
in class SimpleComboBox.SimpleComboBoxUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- This method has been overriden to implement the uninstallation of
the additional button.
- Overrides:
uninstallUI
in class SimpleComboBox.SimpleComboBoxUI
- Parameters:
c
- JComponent- See Also:
ComponentUI.uninstallUI(JComponent)
installUI
public void installUI(javax.swing.JComponent c)
- Description copied from class:
SimpleComboBox.SimpleComboBoxUI
- Installs this UI to the supplied SimpleComboBox
- Overrides:
installUI
in class SimpleComboBox.SimpleComboBoxUI
- Parameters:
c
- JComponent must be an instance of SimpleComboBox- See Also:
ComponentUI.installUI(JComponent)
Copyright © 2010. All Rights Reserved.