fi.hut.tml.xsmiles.gui.components.awt
Class AWTSelectOne

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.general.ComponentBase
      extended byfi.hut.tml.xsmiles.gui.components.awt.AWTStylableComponent
          extended byfi.hut.tml.xsmiles.gui.components.awt.AWTSelectBase
              extended byfi.hut.tml.xsmiles.gui.components.awt.AWTSelectOne
All Implemented Interfaces:
java.awt.ItemSelectable, XComponent, XSelect, XSelectOne
Direct Known Subclasses:
AWTSelectOneCompact

public abstract class AWTSelectOne
extends AWTSelectBase
implements XSelectOne, java.awt.ItemSelectable

textinput line

Author:
Mikko Honkala, Juha Vierinen

Field Summary
protected  java.awt.Component selectComponent
           
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTStylableComponent
hiddenFrame
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
content, currentFont, currentZoom, defaultBGColor, defaultFont, defaultSize, fInputMode, hintText, minSize, style
 
Constructor Summary
AWTSelectOne()
           
 
Method Summary
abstract  java.awt.Component createComponent()
           
 java.lang.Object[] getSelectedObjects()
          method from itemselectable interface
 void init()
           
protected  void notifyChange(java.lang.Object item, int status)
          notify a change to listeners, called internally
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTSelectBase
addItemListener, removeItemListener
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTStylableComponent
addHelpListener, createHint, getHiddenFrame, getPreferredSize, isCaption, removeHelpListener, setBackground, setHintRecursively, setHintText, sizeComponent
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
addActionListener, addFocusListener, addMouseListener, getAddableComponent, getComponent, getDefaultBackgroundColor, getDefaultSize, getEnabled, getFormatter, getHeight, getMinimumSize, getSizableComponent, getSize, getStylableComponent, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeMouseListener, setBounds, setDefaultSize, setEnabled, setFocus, setFont, setForeground, setInputMode, setStyle, setVisible, setZoom, sizeComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.components.XSelect
addItemListener, addSelection, getSelectedIndex, removeAll, removeItemListener, removeSelection, setSelected, setSelectedIndex
 
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
 
Methods inherited from interface java.awt.ItemSelectable
addItemListener, removeItemListener
 

Field Detail

selectComponent

protected java.awt.Component selectComponent
Constructor Detail

AWTSelectOne

public AWTSelectOne()
Method Detail

init

public void init()
Overrides:
init in class AWTStylableComponent

createComponent

public abstract java.awt.Component createComponent()

notifyChange

protected void notifyChange(java.lang.Object item,
                            int status)
notify a change to listeners, called internally


getSelectedObjects

public java.lang.Object[] getSelectedObjects()
method from itemselectable interface

Specified by:
getSelectedObjects in interface java.awt.ItemSelectable


X-Smiles 1.2