fi.hut.tml.xsmiles.gui.components.havi
Class HaviSelectManyCompact

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.general.ComponentBase
      extended byfi.hut.tml.xsmiles.gui.components.havi.HaviStylableComponent
          extended byfi.hut.tml.xsmiles.gui.components.havi.HaviSelectBase
              extended byfi.hut.tml.xsmiles.gui.components.havi.HaviSelectOne
                  extended byfi.hut.tml.xsmiles.gui.components.havi.HaviSelectOneCompact
                      extended byfi.hut.tml.xsmiles.gui.components.havi.HaviSelectManyCompact
All Implemented Interfaces:
java.util.EventListener, org.ftv.ui.event.HItemListener, java.awt.ItemSelectable, XComponent, XSelect, XSelectMany, XSelectOne

public class HaviSelectManyCompact
extends HaviSelectOneCompact
implements XSelectMany

Select Many compact mode

Author:
Mikko Honkala, juha awt mod

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviSelectOne
multiple, selectComponent
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
content, currentFont, currentZoom, defaultBGColor, defaultFont, defaultSize, fInputMode, hintText, style
 
Constructor Summary
HaviSelectManyCompact()
           
 
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.havi.HaviSelectOneCompact
addSelection, createComponent, currentItemChanged, getAddableComponent, getContentComponent, getDefaultBackgroundColor, getListSelectionModel, getMinimumSize, getSelectedIndex, getSizableComponent, getStylableComponent, removeAll, removeSelection, selectionChanged, setSelected, setSelectedIndex
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviSelectOne
getSelectedObjects, notifyChange
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviSelectBase
addItemListener, removeItemListener
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviStylableComponent
setBackground
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
addActionListener, addFocusListener, addHelpListener, addMouseListener, getComponent, getDefaultSize, getEnabled, getFormatter, getHeight, getPreferredSize, getSize, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBounds, setDefaultSize, setEnabled, setFocus, setFont, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom, sizeComponent, 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

HaviSelectManyCompact

public HaviSelectManyCompact()
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