|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JList
wt.clients.widgets.ListSelectorList
ListSelectorList extends the JList to use the ListSelector model and overrides the setListData and implements type ahead
Nested Class Summary | |
(package private) class |
ListSelectorList.DefaultKeySelectionManager
Local Class : DefaultKeySelectionManager |
static interface |
ListSelectorList.KeySelectionManager
Interface that is to be implemented by all keySelectionManagers |
Nested classes inherited from class javax.swing.JList |
JList.AccessibleJList |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected ListSelectorList.KeySelectionManager |
keySelectionManager
|
Fields inherited from class javax.swing.JList |
HORIZONTAL_WRAP, VERTICAL, VERTICAL_WRAP |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ListSelectorList()
Constructs a List with a ListSelectorModel |
|
ListSelectorList(ListSelectorModel model)
Constructs a list with a given ListSelectorModel |
Method Summary | |
protected ListSelectorList.KeySelectionManager |
createDefaultKeySelectionManager()
Create a defaultKeyselectionManager |
ListSelectorList.KeySelectionManager |
getKeySelectionManager()
Returns the list's key-selection manager. |
boolean |
selectWithKeyChar(char keyChar)
Selects the list item that correponds to the specified keyboard character and returns true, if there is an item corresponding to that character. |
void |
setKeySelectionManager(ListSelectorList.KeySelectionManager aManager)
Sets the object that translates a keyboard character into a list selection. |
void |
setListData(Object[] obj)
Set a set of data in the list |
void |
setListData(Vector obj)
Set a set of data in the list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ListSelectorList.KeySelectionManager keySelectionManager
Constructor Detail |
public ListSelectorList()
public ListSelectorList(ListSelectorModel model)
Method Detail |
public void setListData(Object[] obj)
obj
- an array of objectspublic void setListData(Vector obj)
obj
- a Vector of objectsprotected ListSelectorList.KeySelectionManager createDefaultKeySelectionManager()
public boolean selectWithKeyChar(char keyChar)
keyChar
- a char, typically this is a keyboard key typed by the userpublic void setKeySelectionManager(ListSelectorList.KeySelectionManager aManager)
public ListSelectorList.KeySelectionManager getKeySelectionManager()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |