|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.demo.macrolist.MacroList
public class MacroList
| Constructor Summary | |
|---|---|
MacroList(MacroIndexFactory indexFactory,
MacroListListener listener)
Initiate. |
|
| Method Summary | |
|---|---|
void |
addMacro(Macro macro)
Adds a Macro. |
MacroItem |
getItem(int index)
Obtains the MacroItem at the index within this list. |
void |
removeItem(int index)
Removes the MacroItem at the index from the list. |
int |
size()
Obtains the number of MacroItem instances within this list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacroList(MacroIndexFactory indexFactory,
MacroListListener listener)
indexFactory - MacroIndexFactory.listener - MacroListListener.| Method Detail |
|---|
public int size()
MacroItem instances within this list.
MacroItem instances within this list.
public MacroItem getItem(int index)
throws IndexOutOfBoundsException
MacroItem at the index within this list.
index - Index of the MacroItem to obtain.
MacroItem at the index.
IndexOutOfBoundsException - If index does not correspond with a MacroItem.
public void removeItem(int index)
throws IndexOutOfBoundsException
MacroItem at the index from the list.
index - Index of the MacroItem to remove.
IndexOutOfBoundsException - If index does not correspond with a MacroItem.public void addMacro(Macro macro)
RecordListenerMacro.
addMacro in interface RecordListenermacro - Macro.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||