KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > metal > MetalComboBoxButton

javax.swing.plaf.metal
Class MetalComboBoxButton

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.AbstractButton
                  extended by javax.swing.JButton
                      extended by javax.swing.plaf.metal.MetalComboBoxButton
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants
See Also:
Source Code, XMLEncoder, MetalComboBoxButton

protected JComboBox comboBox
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[463]Populate a combo box from vector
By Anonymous on 2004/06/23 10:01:50  Rate
Vector v = new Vector (  ) ; 
 v.add ( "One" ) ; 
 v.add ( "Two" ) ; 
 v.add ( "Three" ) ; 
 JComboBox c = new JComboBox ( v ) ;


protected Icon comboIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final JComboBox getComboBox()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Icon getComboIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean iconOnly
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isFocusTraversable()
See Also:
Component.setFocusable(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean isIconOnly()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected JList listBox
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MetalComboBoxButton(JComboBox cb,
                           Icon i,
                           boolean onlyIcon,
                           CellRendererPane pane,
                           JList list)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MetalComboBoxButton(JComboBox cb,
                           Icon i,
                           CellRendererPane pane,
                           JList list)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paintComponent(Graphics g)
See Also:
ComponentUI, JComponent.paint(java.awt.Graphics)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected CellRendererPane rendererPane
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void setComboBox(JComboBox cb)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void setComboIcon(Icon i)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setEnabled(boolean enabled)
See Also:
Component.isLightweight(), Component.isEnabled(), AbstractButton
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void setIconOnly(boolean isIconOnly)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags