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, hasData
public ListSelectionController(ZAction action, javax.swing.JList list)
public void setActivationMode(ActivationMode activationMode)
public boolean isEnabled()
isEnabled
in class ListDataController
public boolean hasSelection()
public boolean hasSingleSelection()
public boolean hasMultipleSelection()
public int getSelectionCount()
public static boolean hasSingleSelection(javax.swing.ListSelectionModel model)
TableSelectionController
public static boolean hasMultipleSelection(javax.swing.ListSelectionModel model)
TableSelectionController
public static int getSelectionCount(javax.swing.ListSelectionModel model)
TableSelectionController
Copyright © 2014 EsprIT-Systems. All Rights Reserved.