fi.hut.tml.xsmiles.gui.components.swing
Class SwingSelectManyCompact

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.general.ComponentBase
      extended byfi.hut.tml.xsmiles.gui.components.swing.SwingStylableComponent
          extended byfi.hut.tml.xsmiles.gui.components.swing.SwingSelectBase
              extended byfi.hut.tml.xsmiles.gui.components.swing.SwingSelectOne
                  extended byfi.hut.tml.xsmiles.gui.components.swing.SwingSelectOneCompact
                      extended byfi.hut.tml.xsmiles.gui.components.swing.SwingSelectManyCompact
All Implemented Interfaces:
java.util.EventListener, java.awt.ItemSelectable, javax.swing.event.ListSelectionListener, XComponent, XSelect, XSelectMany, XSelectOne

public class SwingSelectManyCompact
extends SwingSelectOneCompact
implements XSelectMany

Select Many compact mode

Author:
Mikko Honkala

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingSelectOneCompact
list, scrollPane
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingSelectOne
selectComponent
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingStylableComponent
HELPKEY
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
content, currentFont, currentZoom, defaultBGColor, defaultFont, defaultSize, fInputMode, hintText, style
 
Constructor Summary
SwingSelectManyCompact()
           
 
Method Summary
 void clearSelection()
           
protected  int getListSelectionModel()
           
 int[] getSelectedIndices()
           
 void setSelected(java.lang.Object o, boolean b)
           
 void setSelectedIndices(int[] indices)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingSelectOneCompact
addSelection, createComponent, getAddableComponent, getContentComponent, getDefaultBackgroundColor, getMinimumSize, getSelectedIndex, getSizableComponent, getStylableComponent, removeAll, removeSelection, setSelected, setSelectedIndex, valueChanged
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingSelectOne
getSelectedObjects, init, notifyChange
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingSelectBase
addItemListener, removeItemListener
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.swing.SwingStylableComponent
addHelpListener, createHint, getFormatter, isCaption, removeHelpListener, setBackground, setHintRecursively, setHintText, sizeComponent
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
addActionListener, addFocusListener, addMouseListener, getComponent, getDefaultSize, getEnabled, getHeight, getPreferredSize, getSize, 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

SwingSelectManyCompact

public SwingSelectManyCompact()
Method Detail

getListSelectionModel

protected int getListSelectionModel()
Overrides:
getListSelectionModel in class SwingSelectOneCompact

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