com.monad.homerun.control
Class ControlSpec

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

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

ControlSpec is a description of a control-like entity, which can be an individual object control, all controls belonging to an object, an object filter with an individual control (or all), or an individual action rule, where the implied control is 'apply'/'perform'. Used in control Panels.

See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_TYPE
           
static java.lang.String FILTER_TYPE
           
static java.lang.String OBJECT_TYPE
           
 
Constructor Summary
ControlSpec()
           
ControlSpec(java.lang.String type, java.lang.String category, java.lang.String selector, java.lang.String control)
           
 
Method Summary
 java.lang.String getCategory()
          Returns the category of the control specifier
 java.lang.String getControl()
          Returns the name of the control
 java.lang.String getSelector()
          Returns the specifier selector
 java.lang.String getType()
          Returns the type of the control specifier
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_TYPE

public static final java.lang.String OBJECT_TYPE
See Also:
Constant Field Values

ACTION_TYPE

public static final java.lang.String ACTION_TYPE
See Also:
Constant Field Values

FILTER_TYPE

public static final java.lang.String FILTER_TYPE
See Also:
Constant Field Values
Constructor Detail

ControlSpec

public ControlSpec()

ControlSpec

public ControlSpec(java.lang.String type,
                   java.lang.String category,
                   java.lang.String selector,
                   java.lang.String control)
Method Detail

getType

public java.lang.String getType()
Returns the type of the control specifier

Returns:
the spec type

getCategory

public java.lang.String getCategory()
Returns the category of the control specifier

Returns:
the control specifier category

getSelector

public java.lang.String getSelector()
Returns the specifier selector

Returns:
the selector, which is the name of an object or action rule

getControl

public java.lang.String getControl()
Returns the name of the control

Returns:
the control name, where '*' signifies all controls


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