fi.hut.tml.xsmiles.gui.components
Interface XSelect

All Superinterfaces:
XComponent
All Known Subinterfaces:
XSelectMany, XSelectOne
All Known Implementing Classes:
AWTSelectBase, AWTSelectManyCompact, AWTSelectOne, AWTSelectOneCompact, HaviSelectBase, HaviSelectManyCompact, HaviSelectOne, HaviSelectOneCompact, SwingSelectBase, SwingSelectManyCompact, SwingSelectOne, SwingSelectOneCompact, SwingSelectOneMinimal

public interface XSelect
extends XComponent

Base interface for selectOne & selectMany

Author:
Mikko Honkala

Method Summary
 void addItemListener(java.awt.event.ItemListener il)
           
 void addSelection(java.lang.Object o)
           
 int getSelectedIndex()
           
 void removeAll()
           
 void removeItemListener(java.awt.event.ItemListener il)
           
 void removeSelection(java.lang.Object o)
           
 void setSelected(java.lang.Object o)
           
 void setSelectedIndex(int index)
           
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.components.XComponent
addActionListener, addFocusListener, addHelpListener, addMouseListener, getComponent, getEnabled, getHeight, getSize, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBackground, setBounds, setEnabled, setFocus, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom
 

Method Detail

setSelected

public void setSelected(java.lang.Object o)

getSelectedIndex

public int getSelectedIndex()

setSelectedIndex

public void setSelectedIndex(int index)

addSelection

public void addSelection(java.lang.Object o)

removeSelection

public void removeSelection(java.lang.Object o)

removeAll

public void removeAll()

addItemListener

public void addItemListener(java.awt.event.ItemListener il)

removeItemListener

public void removeItemListener(java.awt.event.ItemListener il)


X-Smiles 1.2