|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of the value represented by this widget.public interface ListWidget<T>
A ListWidget
is an InputWidget
where the value is a list of editable
elements.
SingleSelectWidget
,
MultiSelectWidget
,
Candidate
Method Summary | |
---|---|
void |
addCandidatesListener(CandidateListener listener)
Add the given CandidateListener to this ListWidget . |
java.util.List<Candidate> |
getCandidates()
Returns the candidates of this ListWidget . |
void |
removeCandidatesListener(CandidateListener listener)
Remove the given CandidateListener from this ListWidget . |
void |
setCandidates(java.util.List<Candidate> candidates)
Sets the cadidates of this ListWidget . |
Methods inherited from interface com.sysord.mad.widget.InputWidget |
---|
addEditableStateListener, isEditable, removeEditableStateListener, setEditable, setValue |
Methods inherited from interface com.sysord.mad.widget.OutputWidget |
---|
addValueListener, getValue, removeValueListener |
Methods inherited from interface com.sysord.mad.widget.Widget |
---|
accept, addCommand, addDisposeListener, addElementListener, addVisibilityListener, clone, dispose, executeCommand, getAdapter, getAdapter, getCommand, getConfig, getContextElement, getId, getLabel, getOwnerViewModel, getOwnerWidget, getType, getValuedSemanticElement, isVisible, removeCommand, removeDisposeListener, removeElementListener, removeVisibilityListener, setConfig, setLabel, setOwnerViewModel, setOwnerWidget, setValuedSemanticElement, setVisible |
Method Detail |
---|
void setCandidates(java.util.List<Candidate> candidates)
ListWidget
.candidate
is a possible value for this widget.
candidates
- The list of candidates to set.java.util.List<Candidate> getCandidates()
ListWidget
.candidate
is a possible value for this widget.
ListWidget
.void addCandidatesListener(CandidateListener listener)
CandidateListener
to this ListWidget
.
listener
- The CandidateListener
to add.void removeCandidatesListener(CandidateListener listener)
CandidateListener
from this ListWidget
.
listener
- The CandidateListener
to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |