SORTIE Java Interface  1
Public Member Functions | Private Attributes | List of all members
sortie.gui.components.SORTIEComboBox< T > Class Template Reference

Improves the basic combo box by allowing the popup area to be bigger than the box itself. More...

Inheritance diagram for sortie.gui.components.SORTIEComboBox< T >:

Public Member Functions

 SORTIEComboBox ()
 
 SORTIEComboBox (final T items[])
 
 SORTIEComboBox (ComboBoxModel< T > aModel)
 
void doLayout ()
 
Dimension getSize ()
 

Private Attributes

boolean layingOut = false
 

Detailed Description

Improves the basic combo box by allowing the popup area to be bigger than the box itself.

I got this from http://www.jroller.com/santhosh/entry/make_jcombobox_popup_wide_enough which got it from the following bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4618607

The only problem is that it doesn't auto-resize after new items are added.

Author
Lora Murphy (kind of!)

Constructor & Destructor Documentation

◆ SORTIEComboBox() [1/3]

◆ SORTIEComboBox() [2/3]

◆ SORTIEComboBox() [3/3]

sortie.gui.components.SORTIEComboBox< T >.SORTIEComboBox ( ComboBoxModel< T >  aModel)

Member Function Documentation

◆ doLayout()

void sortie.gui.components.SORTIEComboBox< T >.doLayout ( )

◆ getSize()

Dimension sortie.gui.components.SORTIEComboBox< T >.getSize ( )

Member Data Documentation

◆ layingOut

boolean sortie.gui.components.SORTIEComboBox< T >.layingOut = false
private

The documentation for this class was generated from the following file: