public class ListSelectionController extends ListDataController
| Constructor and Description |
|---|
ListSelectionController(ZAction action,
javax.swing.JList list) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSelectionCount() |
static int |
getSelectionCount(javax.swing.ListSelectionModel model)
Used also by
TableSelectionController |
boolean |
hasMultipleSelection() |
static boolean |
hasMultipleSelection(javax.swing.ListSelectionModel model)
Used also by
TableSelectionController |
boolean |
hasSelection() |
boolean |
hasSingleSelection() |
static boolean |
hasSingleSelection(javax.swing.ListSelectionModel model)
Used also by
TableSelectionController |
boolean |
isEnabled() |
void |
setActivationMode(ActivationMode activationMode) |
getAction, getList, hasDatapublic ListSelectionController(ZAction action, javax.swing.JList list)
public void setActivationMode(ActivationMode activationMode)
public boolean isEnabled()
isEnabled in class ListDataControllerpublic boolean hasSelection()
public boolean hasSingleSelection()
public boolean hasMultipleSelection()
public int getSelectionCount()
public static boolean hasSingleSelection(javax.swing.ListSelectionModel model)
TableSelectionControllerpublic static boolean hasMultipleSelection(javax.swing.ListSelectionModel model)
TableSelectionControllerpublic static int getSelectionCount(javax.swing.ListSelectionModel model)
TableSelectionControllerCopyright © 2014 EsprIT-Systems. All Rights Reserved.