org.wcb.plugins.beans
Class X10WebComponent

java.lang.Object
  extended byorg.wcb.plugins.beans.X10WebComponent

public class X10WebComponent
extends java.lang.Object


Field Summary
static java.lang.String COMMAND
           
static java.lang.String DESCRIPTION
           
static java.lang.String EXECUTE_BUTTON
           
static java.lang.String OFF_BUTTON
           
static java.lang.String ON_BUTTON
           
static java.lang.String X10_HOUSE_CODE
           
static java.lang.String X10_MODULE_ID
           
 
Constructor Summary
X10WebComponent()
           
 
Method Summary
 java.util.Vector getAllX10Modules()
          Gets a list of all the saved X10 modules.
 java.lang.String getIsPortConnected()
          If the serial port is active then return a printable string indicating connected.
 java.util.Vector getMacros()
          This will return a vector of X10Event these can be cast to the IX10Event interface
 java.lang.String getSavedSerialPort()
          Returns the string name of the saved serial port
 void processRequest(javax.servlet.http.HttpServletRequest request)
          Process request information when users do form submits based on this we will save the keys, save the file, read in a new directory's build.properties file or run the ANT build script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X10_HOUSE_CODE

public static java.lang.String X10_HOUSE_CODE

X10_MODULE_ID

public static java.lang.String X10_MODULE_ID

ON_BUTTON

public static java.lang.String ON_BUTTON

OFF_BUTTON

public static java.lang.String OFF_BUTTON

EXECUTE_BUTTON

public static java.lang.String EXECUTE_BUTTON

COMMAND

public static java.lang.String COMMAND

DESCRIPTION

public static java.lang.String DESCRIPTION
Constructor Detail

X10WebComponent

public X10WebComponent()
Method Detail

getAllX10Modules

public java.util.Vector getAllX10Modules()
Gets a list of all the saved X10 modules.

Returns:
Vector of IX10Module

getSavedSerialPort

public java.lang.String getSavedSerialPort()
Returns the string name of the saved serial port

Returns:
String of saved serial port name.

getIsPortConnected

public java.lang.String getIsPortConnected()
If the serial port is active then return a printable string indicating connected. Otherwise, return a printable string disconnected.

Returns:
String of "Connected" or "Disconnected"

getMacros

public java.util.Vector getMacros()
This will return a vector of X10Event these can be cast to the IX10Event interface

Returns:
a vector of IMacro objects

processRequest

public void processRequest(javax.servlet.http.HttpServletRequest request)
Process request information when users do form submits based on this we will save the keys, save the file, read in a new directory's build.properties file or run the ANT build script.

Parameters:
request - servlet form post request.


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.