|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.wcb.autohome.implementations.Macro
Filename: $Id: Macro.java,v 1.3 2004/02/28 00:21:49 wbogaardt Exp $ Abstract: This class is a serialized place holder for a Macro object it there for has elements that are needed for the IMacro interface which is handled by the GUI. $Log: Macro.java,v $ Revision 1.3 2004/02/28 00:21:49 wbogaardt fixed formating to be compliant with sun coding convention Revision 1.2 2003/10/10 21:39:07 wbogaardt modified macro triggers to use calendar in stead of strings
| Constructor Summary | |
Macro()
Default Constructor which automatically sets the macro name to Macro1 |
|
Macro(IMacro newO)
Clone constructor using the interface |
|
Macro(java.lang.String n,
java.lang.String desc,
int d,
java.util.Vector evt)
Full constructor to allow building of the macro |
|
| Method Summary | |
int |
getDelay()
Delay in minutes before macro starts executing. |
java.lang.String |
getDescription()
Description of the macro for user reference only. |
java.util.Vector |
getEvents()
The associated modules and their actions to take for the macro. |
java.lang.String |
getMacroName()
Simple accessor for the name of the macro |
void |
print()
Print routine for debugging |
void |
setDelay(int dly)
This is the delay in minutes from when the macro is executed. |
void |
setDescription(java.lang.String desc)
This is a description of from a users standpoint this description can be a phase used to describe the purpose of this macro. |
void |
setEvents(java.util.Vector ev)
This is a vector of Modules and their actions which are wraped in a X10Events object. |
void |
setMacroName(java.lang.String name)
The name of the macro this gets used to assign a macro to a trigger. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Macro(java.lang.String n,
java.lang.String desc,
int d,
java.util.Vector evt)
n - Name of the macrodesc - brief description of the macrod - Delay in minutes for the macroevt - Vector of MacroEvent objectspublic Macro()
public Macro(IMacro newO)
newO - The IMacro interface to clone this object.| Method Detail |
public void print()
public void setMacroName(java.lang.String name)
setMacroName in interface IMacroname - - name of the macropublic void setDescription(java.lang.String desc)
setDescription in interface IMacrodesc - - string description of macropublic void setDelay(int dly)
setDelay in interface IMacrodly - - delay in minutespublic void setEvents(java.util.Vector ev)
setEvents in interface IMacroev - - of objects related to X10Eventspublic java.lang.String getMacroName()
getMacroName in interface IMacropublic java.lang.String getDescription()
getDescription in interface IMacropublic int getDelay()
getDelay in interface IMacropublic java.util.Vector getEvents()
getEvents in interface IMacro
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||