public class DruCheckboxListPanel extends DruGCPanel implements ListDisplay, LabelActor
Modifier and Type | Field and Description |
---|---|
(package private) DCheckboxList |
dList |
(package private) ListWatcher |
listWatcher |
(package private) boolean |
multiple |
(package private) int |
nrow |
(package private) static long |
serialVersionUID |
(package private) java.lang.String |
toggleAction |
actionRelay, methodName
infoReceiver, SCROLLABLE
Constructor and Description |
---|
DruCheckboxListPanel() |
DruCheckboxListPanel(int nr) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.ArrayList<java.lang.Object> |
getAllItems() |
int[] |
getCheckedIndexes() |
java.util.ArrayList<java.lang.Object> |
getCheckedItems() |
java.lang.Object |
getLastSelected() |
int[] |
getSelectedIndexes() |
java.lang.Object |
getSelectedItem() |
java.util.ArrayList<java.lang.Object> |
getSelectedItems() |
java.lang.String |
getSelectedName() |
boolean |
hasActiveSelected() |
void |
labelAction(java.lang.String s,
boolean b) |
void |
selectAll() |
void |
selectAt(int i) |
void |
setBg(java.awt.Color c) |
void |
setCellRenderer(DruListCellRenderer obj) |
void |
setCheckedIndexes(int[] inds) |
void |
setItems(java.util.ArrayList<? extends java.lang.Object> obal) |
void |
setItems(java.lang.String[] sa) |
void |
setListWatcher(ListWatcher lw) |
void |
setMultiple() |
void |
setSelected(int[] ia) |
void |
setSelected(java.lang.String[] sa) |
void |
setToggleAction(java.lang.String ta) |
void |
updateDisplay() |
action, action, action, action, action, action, action, disableRelaying, getAction, getActionRelay, hasAction, hasRelay, performAction, performAction, setAction, setActionMethod, setActionRelay, setMethodName, unstoredValueChange, valueChange, valueChange, valueChange, valueChange, valueChange
addBorder, addCardPanel, addDComponent, addDComponent, addEtchedBorder, addMenu, addPanel, addPanel, addRaw, addSingleDComponent, addSunkenBorder, addTitledBorder, exportInfo, getBg, getGUIPeer, getID, getInfo, getInfoReceiver, getLocation, getPreferredSize, getTip, getTitle, getXYLocationOnScreen, mouseButtonPressed, postApply, removeAll, removeDComponent, removePanel, repaint, revalidate, seForegroundColor, setBackgroundColor, setBorderLayout, setColors, setColors, setEmptyBorder, setEtchedBorder, setEtchedUpBorder, setFallbackBackgroundColor, setFallbackForegroundColor, setFg, setFlowCenter, setFlowLayout, setFlowLeft, setFlowRight, setGridLayout, setID, setInfo, setInfoReceiver, setPreferredSize, setPreferredSize, setSingle, setSunkenBorder, setTip, setTitle, setTitleInfo, setTooltipTarget, toString, validate
static final long serialVersionUID
int nrow
DCheckboxList dList
ListWatcher listWatcher
java.lang.String toggleAction
boolean multiple
public DruCheckboxListPanel()
public DruCheckboxListPanel(int nr)
public void setItems(java.lang.String[] sa)
public void setItems(java.util.ArrayList<? extends java.lang.Object> obal)
setItems
in interface ListDisplay
public void setSelected(java.lang.String[] sa)
public void setSelected(int[] ia)
public void selectAll()
public java.util.ArrayList<java.lang.Object> getAllItems()
public java.util.ArrayList<java.lang.Object> getSelectedItems()
public void updateDisplay()
updateDisplay
in interface Display
public java.lang.Object getSelectedItem()
public java.lang.String getSelectedName()
public void labelAction(java.lang.String s, boolean b)
labelAction
in interface LabelActor
public void setToggleAction(java.lang.String ta)
public void clear()
public void selectAt(int i)
public java.util.ArrayList<java.lang.Object> getCheckedItems()
public int[] getCheckedIndexes()
public void setCheckedIndexes(int[] inds)
public java.lang.Object getLastSelected()
public boolean hasActiveSelected()
public void setListWatcher(ListWatcher lw)
public int[] getSelectedIndexes()
public void setCellRenderer(DruListCellRenderer obj)
public void setMultiple()
Copyright © 2013. All Rights Reserved.