|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.DefaultListModel
fr.esrf.tangoatk.core.AEntityList
fr.esrf.tangoatk.core.CommandList
fr.esrf.tangoatk.core.CommandGroup
public class CommandGroup
The CommandGroup contains only the commands with no input and no output argument :
they are all "VoidVoidCommand"s.
When execute() is called, all the commands of the group are called asynchronously.
When all the asynchronous calls are finished the "EndExecutionListeners" are
informed.
CommandList
| Field Summary | |
|---|---|
protected EventSupport |
propChanges
|
| Fields inherited from class fr.esrf.tangoatk.core.AEntityList |
|---|
errorListeners, factory, filter, refresher, refresherListeners, refreshInterval, selectedItem, setErrorListeners, synchronizedPeriod, traceUnexpected |
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
CommandGroup()
Creates a new CommandGroup instance, and
instanciates its command factory. |
|
| Method Summary | |
|---|---|
void |
addEndGroupExecutionListener(IEndGroupExecutionListener l)
|
void |
execute()
|
java.lang.String |
getVersion()
|
protected void |
publishEndExecution(java.util.List result)
|
void |
removeEndGroupExecutionListener(IEndGroupExecutionListener l)
|
void |
setFilter(IEntityFilter filter)
setFilter to filter out which IEntities
should be added to the list and which should not be added. |
| Methods inherited from class fr.esrf.tangoatk.core.AEntityList |
|---|
add, add, add, addErrorListener, addRefresherListener, addSetErrorListener, clearRefresherListener, finalize, fireRefresherStepEvent, get, get, getFilter, getRefreshInterval, getSelectedItem, isRefresherStarted, refresh, remove, removeErrorListener, removeRefresherListener, removeSetErrorListener, setRefresher, setRefreshInterval, setSelectedItem, setSynchronizedPeriod, setTraceUnexpected, startRefresher, stopRefresher |
| Methods inherited from class javax.swing.DefaultListModel |
|---|
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fr.esrf.tangoatk.core.IEntityCollection |
|---|
add, add, get, get, remove, size |
| Methods inherited from interface fr.esrf.tangoatk.core.IRefreshee |
|---|
refresh |
| Methods inherited from interface javax.swing.ListModel |
|---|
addListDataListener, getElementAt, getSize, removeListDataListener |
| Methods inherited from interface fr.esrf.tangoatk.core.IEntityList |
|---|
clear, contains, elementAt, get, getElementAt, getSize, indexOf, size |
| Field Detail |
|---|
protected EventSupport propChanges
| Constructor Detail |
|---|
public CommandGroup()
CommandGroup instance, and
instanciates its command factory.
| Method Detail |
|---|
public void setFilter(IEntityFilter filter)
IEntityListsetFilter to filter out which IEntities
should be added to the list and which should not be added.
setFilter in interface ICommandGroupsetFilter in interface IEntityListsetFilter in class AEntityListfilter - an IEntityFilter valueIEntityFilterpublic void addEndGroupExecutionListener(IEndGroupExecutionListener l)
addEndGroupExecutionListener in interface ICommandGrouppublic void removeEndGroupExecutionListener(IEndGroupExecutionListener l)
removeEndGroupExecutionListener in interface ICommandGroupprotected void publishEndExecution(java.util.List result)
public void execute()
execute in interface ICommandGrouppublic java.lang.String getVersion()
getVersion in interface IEntityListgetVersion in class CommandList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||