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

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
                  extended byfi.hut.tml.xsmiles.gui.components.awt.AWTSelectOneCompact
                      extended byfi.hut.tml.xsmiles.gui.components.awt.AWTSelectManyCompact
All Implemented Interfaces:
java.util.EventListener, java.awt.event.ItemListener, java.awt.ItemSelectable, XComponent, XSelect, XSelectMany, XSelectOne

public class AWTSelectManyCompact
extends AWTSelectOneCompact
implements XSelectMany

Select Many compact mode

Author:
Mikko Honkala, juha awt mod

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTSelectOneCompact
list, multiple
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTSelectOne
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, style
 
Constructor Summary
AWTSelectManyCompact()
           
 
Method Summary
 void clearSelection()
           
 int[] getSelectedIndices()
           
 void setSelected(java.lang.Object o, boolean b)
           
 void setSelectedIndices(int[] indices)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTSelectOneCompact
addSelection, createComponent, getDefaultBackgroundColor, getMinimumSize, getSelectedIndex, itemStateChanged, removeAll, removeSelection, setSelected, setSelectedIndex
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTSelectOne
getSelectedObjects, init, notifyChange
 
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, getDefaultSize, getEnabled, getFormatter, getHeight, 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
 

Constructor Detail

AWTSelectManyCompact

public AWTSelectManyCompact()
Method Detail

setSelected

public void setSelected(java.lang.Object o,
                        boolean b)
Specified by:
setSelected in interface XSelectMany
Parameters:
o - The object to set
b - The value to set it as

clearSelection

public void clearSelection()
Specified by:
clearSelection in interface XSelectMany

getSelectedIndices

public int[] getSelectedIndices()
Specified by:
getSelectedIndices in interface XSelectMany

setSelectedIndices

public void setSelectedIndices(int[] indices)
Specified by:
setSelectedIndices in interface XSelectMany


X-Smiles 1.2