net.officefloor.demo.macrolist
Interface MacroListListener


public interface MacroListListener

Listener to actions on the MacroList.

Author:
Daniel Sagenschneider

Method Summary
 void macroAdded(MacroItem item, int index)
          Indicates a Macro was added to the MacroList.
 void macroRemoved(MacroItem item, int index)
          Indicates a Macro was removed from the MacroList.
 

Method Detail

macroAdded

void macroAdded(MacroItem item,
                int index)
Indicates a Macro was added to the MacroList.

Parameters:
item - MacroItem containing the added Macro.
index - Index of the added MacroItem.

macroRemoved

void macroRemoved(MacroItem item,
                  int index)
Indicates a Macro was removed from the MacroList.

Parameters:
item - MacroItem containing the removed Macro.
index - Index that the MacroItem previous had before being removed.


Copyright © 2005-2012. All Rights Reserved.