|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.wcb.autohome.implementations.X10Events
Filename: $Id: X10Events.java,v 1.7 2004/02/28 00:21:49 wbogaardt Exp $ Abstract: This is the events to take place when we are running the EventsDaemon It is also a type a wrapper or solution to the CM17A not being able to execute macros and in part run a set a programed timed events. These events are only associated on the Events Panel and should not be confused with the MacroEvent module which is for CM11A uploading of macro information. $Log: X10Events.java,v $ Revision 1.7 2004/02/28 00:21:49 wbogaardt fixed formating to be compliant with sun coding convention Revision 1.6 2004/02/24 23:16:19 wbogaardt fixed formating to be compliant with checkstyles Revision 1.5 2004/01/16 00:53:43 wbogaardt Fixed a very obscure bug with the Macro Panel that it didn't added new x10 devices to the drop down of available x10 device for the macro. Modified Macro triggers to change the events to integer verses strings cleaner this way. Revision 1.4 2004/01/15 21:05:20 wbogaardt major revamp of Modules and interfaces changes overall structure of how information is stored Revision 1.3 2003/12/12 23:17:36 wbogaardt javadoc comments refactored methods so they are more descriptive Revision 1.2 2003/10/10 18:39:12 wbogaardt changed date time information from a string to a calendar object
| Field Summary |
| Fields inherited from interface org.wcb.autohome.interfaces.X10DeviceConstants |
APPLIANCE_MODULE_OFF, APPLIANCE_MODULE_ON, BAUD, BAUD_RATE_ARRAY, BRIGHT_ACTION, BROWSER, CM11A_TRANSMITTER, CM17A_TRANSMITTER, CONNECT_ON_START, COUNTRY, DATA_BIT, DATA_BITS_ARRAY, DEVICE_ARRAY, DIM_ACTION, EMAIL_AUTHORIZE, EMAIL_FREQUENCY, EMAIL_FROM, EMAIL_PASSWORD, EMAIL_SMTP, EMAIL_TO, EMAIL_USERNAME, FALSE, HOUSE_CODES_ARRAY, INTERFACE_TYPE, LAMP_MODULE_OFF, LAMP_MODULE_ON, LANGUAGE, LAST_FILE, LOCALHOST, LOOK_AND_FEEL, MAC, METAL, MOTIF, OFF_ACTION, ON_ACTION, PARITY, PARITY_ARRAY, RECOVER_CM11A, RMI_HOST, SEPARATOR, SERIAL_PORT, SPEECH_ENGINE, STOP_BIT, STOP_BITS_ARRAY, TEST_TRANSMITTER, TIMER_EVENT, TRIGGER_EVENT, TRUE, USER_HOME, WINDOWS |
| Constructor Summary | |
X10Events()
Default constructor |
|
X10Events(IX10Events newO)
Cloning constructor |
|
X10Events(IX10Module iModule,
java.lang.String desc,
java.lang.String act,
java.util.Calendar time)
This creates the X10Event with the bar minimum parameters to make a functional event. |
|
| Method Summary | |
java.lang.String |
getAction()
Get the action type for the event this is a string of on, off, dim, or brighten |
java.lang.String |
getDescription()
Gets the description of the event |
boolean |
getFriday()
Get the Enable/disable value of the event for Friday |
IX10Module |
getModule()
The X10 Module associated with this event |
boolean |
getMonday()
Get the Enable/disable value of the event for Monday |
boolean |
getSaturday()
Get the Enable/disable value of the event for Saturday |
boolean |
getSunday()
Get the Enable/disable value of the event for Sunday |
boolean |
getThursday()
Get the Enable/disable value of the event for Thursday |
java.util.Calendar |
getTime()
The time of day to execute the event |
boolean |
getTuesday()
Get the Enable/disable value of the event for Tuesday |
boolean |
getWednesday()
Get the Enable/disable value of the event for Wednesday |
void |
print()
method to allow printing to console some information. |
void |
setAction(java.lang.String act)
actions to take when this event is scheduled for executing. |
void |
setDescription(java.lang.String desc)
User description for this event |
void |
setDeviceModule(IX10Module imodule)
Set the x10 module device to this event |
void |
setFriday(boolean f)
Enable Friday weekday to execute event |
void |
setMonday(boolean m)
Enable Monday weekday to execute event |
void |
setSaturday(boolean s)
Enable Saturday weekday to execute event |
void |
setSunday(boolean s)
Enable Sunday dates to execute event |
void |
setThursday(boolean t)
Enable Thursday weekday to execute event |
void |
setTime(java.util.Calendar time)
Set the time of the event |
void |
setTuesday(boolean t)
Enable Tuesday weekday to execute event |
void |
setWednesday(boolean w)
Enable Wednesday weekday to execute event |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public X10Events(IX10Module iModule,
java.lang.String desc,
java.lang.String act,
java.util.Calendar time)
iModule - X10 Module for the eventdesc - Description of the eventact - string action of the eventtime - time to execute the event.public X10Events()
public X10Events(IX10Events newO)
newO - Interface used to clone object| Method Detail |
public void print()
public void setDeviceModule(IX10Module imodule)
setDeviceModule in interface IX10Eventsimodule - The module device that this event will fire action on.public void setDescription(java.lang.String desc)
setDescription in interface IX10Eventsdesc - - descriptionpublic void setAction(java.lang.String act)
setAction in interface IX10Eventsact - - Value of actionpublic void setTime(java.util.Calendar time)
setTime in interface IX10Eventstime - Time to set the event to execute.public void setSunday(boolean s)
setSunday in interface IX10Eventss - enable/disable Sundaypublic void setMonday(boolean m)
setMonday in interface IX10Eventsm - enable/disable Mondaypublic void setTuesday(boolean t)
setTuesday in interface IX10Eventst - enable/disable Tuesdaypublic void setWednesday(boolean w)
setWednesday in interface IX10Eventsw - enable/disable Wednesdaypublic void setThursday(boolean t)
setThursday in interface IX10Eventst - enable/disable Thursdaypublic void setFriday(boolean f)
setFriday in interface IX10Eventsf - enable/disable Fridaypublic void setSaturday(boolean s)
setSaturday in interface IX10Eventss - enable/disable Saturdaypublic boolean getSunday()
getSunday in interface IX10Eventspublic boolean getMonday()
getMonday in interface IX10Eventspublic boolean getTuesday()
getTuesday in interface IX10Eventspublic boolean getWednesday()
getWednesday in interface IX10Eventspublic boolean getThursday()
getThursday in interface IX10Eventspublic boolean getFriday()
getFriday in interface IX10Eventspublic boolean getSaturday()
getSaturday in interface IX10Eventspublic IX10Module getModule()
getModule in interface IX10Eventspublic java.lang.String getDescription()
getDescription in interface IX10Eventspublic java.lang.String getAction()
getAction in interface IX10Eventspublic java.util.Calendar getTime()
getTime in interface IX10Events
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||