sk.uniba.euromath.editor.widgets
Class InsertListChooser.IlItemData

java.lang.Object
  extended by sk.uniba.euromath.editor.widgets.InsertListChooser.IlItemData
Enclosing class:
InsertListChooser

protected class InsertListChooser.IlItemData
extends Object

Contains information on insertlist's comboboxes. Caches value when the combobox gets disposed.

Author:
Martin Vysny

Field Summary
protected  int _selectedIndex
          Here the index is stored when combobox is disposed.
protected  Combo combo
          Combobox reference.
protected  DisplayableNameListImpl<NewElementRule> comboItems
          Combobox items.
 
Constructor Summary
protected InsertListChooser.IlItemData(Combo combo, DisplayableNameListImpl<NewElementRule> comboItems)
          Constructor.
 
Method Summary
 int getSelectionIndex()
          Returns index of selected name list item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

combo

protected final Combo combo
Combobox reference.


comboItems

protected final DisplayableNameListImpl<NewElementRule> comboItems
Combobox items.


_selectedIndex

protected int _selectedIndex
Here the index is stored when combobox is disposed.

Constructor Detail

InsertListChooser.IlItemData

protected InsertListChooser.IlItemData(Combo combo,
                                       DisplayableNameListImpl<NewElementRule> comboItems)
Constructor.

Parameters:
combo - reference to combobox
comboItems - items displayed in the combobox.
Method Detail

getSelectionIndex

public int getSelectionIndex()
Returns index of selected name list item.

Returns:
index to comboItems list.


Copyright © 2003-2006 null. All Rights Reserved.