|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wcb.autohome.AutoHomeSession org.wcb.autohome.AutoHomeAdminSession
Project: Home Automation Interface Filename: $Id: AutoHomeAdminSession.java,v 1.27 2004/06/09 18:52:34 wbogaardt Exp $ Abstract: Centralized backend for various components to send events to Serial port output. Also used to handle connection between manipulating files information.
Field Summary | |
static javax.swing.ImageIcon |
APPLIANCEICON
|
static javax.swing.ImageIcon |
APPLIANCEICON_OFF
|
static javax.swing.ImageIcon |
CAUTIONICON
|
static javax.swing.ImageIcon |
CLOCKICON
|
static javax.swing.ImageIcon |
DAYOFF
|
static javax.swing.ImageIcon |
DAYON
|
static javax.swing.ImageIcon |
DELETE_ROW_ICON
|
static javax.swing.ImageIcon |
INTERFACE_OFF
|
static javax.swing.ImageIcon |
INTERFACE_ON
|
static javax.swing.ImageIcon |
LIGHTICON
|
static javax.swing.ImageIcon |
LIGHTICON_OFF
|
static javax.swing.ImageIcon |
SUNRISE
|
static javax.swing.ImageIcon |
SUNSET
|
Fields inherited from class org.wcb.autohome.AutoHomeSession |
CURRENT_FILENAME, deviceFactory, gateway |
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 |
Method Summary | |
UIDefaultsLoader |
getAppProperties()
accessor to get the current application setting hashtable via the Property loader object to handle additonal features such as file saving |
javax.swing.JComboBox |
getAvailableMacroEvents(javax.swing.JComboBox comboBox)
This method takes a combo box object and inserts simply names of macros into its drop down list. |
static AutoHomeAdminSession |
getInstance()
This provides a single static class for the entire application. |
static AutoHomeAdminSession |
getInstance(java.lang.String dirname)
|
MessageInterface |
getMessageInterface()
returns a reference to the MessageInterface provided to this class. |
void |
initiateGUI()
|
void |
loadLastSettings()
Loads the last settings from the file properties file loader. |
void |
printMessage(java.lang.String messages)
simple method to print messages to gui or console |
void |
setAppProperties(java.util.Properties app)
|
void |
setMessageInterface(MessageInterface msg)
|
javax.swing.JComboBox |
setRenderedModules(javax.swing.JComboBox comp)
Takes in a JComboBox and adds items to its list as an Item object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static javax.swing.ImageIcon LIGHTICON
public static javax.swing.ImageIcon LIGHTICON_OFF
public static javax.swing.ImageIcon APPLIANCEICON
public static javax.swing.ImageIcon APPLIANCEICON_OFF
public static javax.swing.ImageIcon DAYON
public static javax.swing.ImageIcon DAYOFF
public static javax.swing.ImageIcon INTERFACE_ON
public static javax.swing.ImageIcon INTERFACE_OFF
public static javax.swing.ImageIcon SUNRISE
public static javax.swing.ImageIcon SUNSET
public static javax.swing.ImageIcon CLOCKICON
public static javax.swing.ImageIcon CAUTIONICON
public static javax.swing.ImageIcon DELETE_ROW_ICON
Method Detail |
public static AutoHomeAdminSession getInstance()
public static AutoHomeAdminSession getInstance(java.lang.String dirname)
public void initiateGUI()
public void setMessageInterface(MessageInterface msg)
public void printMessage(java.lang.String messages)
public MessageInterface getMessageInterface()
public UIDefaultsLoader getAppProperties()
public void setAppProperties(java.util.Properties app)
public void loadLastSettings()
public javax.swing.JComboBox setRenderedModules(javax.swing.JComboBox comp)
comp
- - Swing component that needs a list of items added to it.
public javax.swing.JComboBox getAvailableMacroEvents(javax.swing.JComboBox comboBox)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |