net.sourceforge.wohenchan
Class LanguageChooser.ComboModel
java.lang.Object
|
+--net.sourceforge.wohenchan.LanguageChooser.ComboModel
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.internal.SWTEventListener
- Enclosing class:
- LanguageChooser
- private class LanguageChooser.ComboModel
- extends java.lang.Object
- implements org.eclipse.swt.events.ModifyListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mm_selectedItem
java.lang.String mm_selectedItem
mm_items
java.lang.String[] mm_items
mm_isAutodetectOn
private boolean mm_isAutodetectOn
m_actionPerformedInUse
private boolean m_actionPerformedInUse
- Used to make sure that actionPerformed does not generate more
events for itself.
LanguageChooser.ComboModel
public LanguageChooser.ComboModel(java.lang.String[] items)
getSelectedItem
public java.lang.Object getSelectedItem()
- get the currently selected item.
- Returns:
- the currently selected item
setSelectedItem
public void setSelectedItem(java.lang.Object selectedItem)
- Set the currently selected item. This is a method which is
used by setAutodetectedChoice and should not be called
anywhere else. Use setAutodetectedChoice instead.
getElementAt
public java.lang.Object getElementAt(int i)
getSize
public int getSize()
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent evt)
- Specified by:
modifyText
in interface org.eclipse.swt.events.ModifyListener
toString
public java.lang.String toString()
- Here for debugging purposes
- Overrides:
toString
in class java.lang.Object
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent arg0)