Public Member Functions | |
| KeyModel (char ch) | |
| Object | getSelectedItem () |
| void | setSelectedItem (Object item) |
| Object | getElementAt (int index) |
| int | getSize () |
| void | addListDataListener (ListDataListener listener) |
| void | removeListDataListener (ListDataListener listener) |
Private Member Functions | |
| void | notifyListeners () |
Private Attributes | |
| EventListenerList | listeners |
| Character | mykey |
| tit.gui.widget.KeyboardLayoutEditor.KeyModel.KeyModel | ( | char | ch | ) |
Construct a new KeyModel.
| ch | This model's key. |
| void tit.gui.widget.KeyboardLayoutEditor.KeyModel.notifyListeners | ( | ) | [private] |
Notify all listeners.
| Object tit.gui.widget.KeyboardLayoutEditor.KeyModel.getSelectedItem | ( | ) |
Returns the selected key.
| void tit.gui.widget.KeyboardLayoutEditor.KeyModel.setSelectedItem | ( | Object | item | ) |
Changes the selected key.
| item | The new item. |
| Object tit.gui.widget.KeyboardLayoutEditor.KeyModel.getElementAt | ( | int | index | ) |
Gets an element from the list.
| index | The element's index. |
| int tit.gui.widget.KeyboardLayoutEditor.KeyModel.getSize | ( | ) |
Get the list's size.
| void tit.gui.widget.KeyboardLayoutEditor.KeyModel.addListDataListener | ( | ListDataListener | listener | ) |
Adds a ListDataListener to this model.
| listener | The listener to add. |
| void tit.gui.widget.KeyboardLayoutEditor.KeyModel.removeListDataListener | ( | ListDataListener | listener | ) |
Removes a ListDataListener from this model.
| listener | The listener to remove. |
EventListenerList tit.gui.widget.KeyboardLayoutEditor.KeyModel.listeners [private] |
This KeyModel's listeners.
Character tit.gui.widget.KeyboardLayoutEditor.KeyModel.mykey [private] |
My key.
1.5.1