com.monad.homerun.control
Class ControlPoint

java.lang.Object
  extended by com.monad.homerun.control.ControlPoint
All Implemented Interfaces:
java.io.Serializable

public class ControlPoint
extends java.lang.Object
implements java.io.Serializable

ControlPoint is an individual action of a control

See Also:
Serialized Form

Constructor Summary
ControlPoint()
           
ControlPoint(java.lang.String name, java.lang.String code, Specifier[] inputs)
           
 
Method Summary
 java.lang.String getCodeName()
          Returns the internal name of the control point
 Specifier[] getInputs()
          Returns the input specifiers for the control point
 java.lang.String getPointName()
          Returns the display name of the control point
 boolean hasInputs()
          Returns whether the control point requires inputs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlPoint

public ControlPoint()

ControlPoint

public ControlPoint(java.lang.String name,
                    java.lang.String code,
                    Specifier[] inputs)
Method Detail

getPointName

public java.lang.String getPointName()
Returns the display name of the control point

Returns:
the UI-appropriate name

getCodeName

public java.lang.String getCodeName()
Returns the internal name of the control point

Returns:
the internal name

hasInputs

public boolean hasInputs()
Returns whether the control point requires inputs

Returns:
true is point has inputs

getInputs

public Specifier[] getInputs()
Returns the input specifiers for the control point

Returns:
an array of input specifiers, length 0 if no inputs are defined


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.