org.indi.objects
Class LightVector

java.lang.Object
  extended by org.indi.objects.Object<T>
      extended by org.indi.objects.Vector
          extended by org.indi.objects.LightVector
All Implemented Interfaces:
java.io.Serializable

public class LightVector
extends Vector

An indi vector hosting indi lights

Author:
Dirk Hünniger
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.indi.objects.Vector
device, group, label, name, permission, state, timeout, timestamp
 
Fields inherited from class org.indi.objects.Object
children, message, transferType
 
Constructor Summary
LightVector(java.lang.String device, java.lang.String name, State state, double timeout, java.lang.String timestamp, java.lang.String message)
          class constructor
LightVector(java.lang.String device, java.lang.String name, java.lang.String timestamp)
          class constructor
LightVector(java.lang.String device, java.lang.String name, java.lang.String label, java.lang.String group, State state, Permission permission, double timeout, java.lang.String timestamp, java.lang.String message)
          class constructor
 
Method Summary
protected  java.lang.String getType()
           
 
Methods inherited from class org.indi.objects.Vector
add, getChlidren, getDateFormat, getDevice, getEndTag, getGroup, getName, getStartTag, getState, getXML, getXML, hashCode, oEquals, permissionToString, setState, update
 
Methods inherited from class org.indi.objects.Object
equals, getChildren, getMessage, getTransferType, setTransferType, treeEquals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightVector

public LightVector(java.lang.String device,
                   java.lang.String name,
                   java.lang.String timestamp)
class constructor

Parameters:
device - the name of the device this LightVector is associated with
name - the name of this LightVector
timestamp - the timestamp to be transferred along with this LightVector.

LightVector

public LightVector(java.lang.String device,
                   java.lang.String name,
                   java.lang.String label,
                   java.lang.String group,
                   State state,
                   Permission permission,
                   double timeout,
                   java.lang.String timestamp,
                   java.lang.String message)
class constructor

Parameters:
device - the name of the device this LightVector is associated with
name - the name of this LightVector
label - the label to be used for this LightVector by a GUI
group - the group this vector belongs to
state - the State this vector is in
permission - the permissions the user has to change the properties of this vector
timeout - the worst case time it takes for a property of this vector to change
timestamp - the timestamp to be sent along with this vector
message - a message to be sent along with this vector

LightVector

public LightVector(java.lang.String device,
                   java.lang.String name,
                   State state,
                   double timeout,
                   java.lang.String timestamp,
                   java.lang.String message)
class constructor

Parameters:
device - the name of the device this LightVector is associated with
name - the name of this LightVector
state - the State this vector is in
timeout - the worst case time it takes for a property of this vector to change
timestamp - the timestamp to be sent along with this vector
message - a message to be sent along with this vector
Method Detail

getType

protected java.lang.String getType()
Specified by:
getType in class Vector


Copyright © 2008. All Rights Reserved.