edu.stanford.hci.dtools.deviceeditor.components
Class RangeEventConditional
java.lang.Object
edu.stanford.hci.dtools.deviceeditor.components.EventConditional
edu.stanford.hci.dtools.deviceeditor.components.RangeEventConditional
- All Implemented Interfaces:
- java.io.Serializable
public abstract class RangeEventConditional
- extends EventConditional
Abstract class which creates a conditional which returns true if a continuous value is between
two user-specified endpoints
This software is distributed under the
BSD License.
- Author:
- Bjoern Hartmann ( bjoern(AT)stanford.edu ), Michael Bernstein ( mbernst(AT)stanford.edu )
- See Also:
- Serialized Form
Constructor Summary |
RangeEventConditional(float min,
float max,
java.lang.String minLabel,
java.lang.String maxLabel)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RANGE_MIN
public static final java.lang.String RANGE_MIN
- See Also:
- Constant Field Values
RANGE_MAX
public static final java.lang.String RANGE_MAX
- See Also:
- Constant Field Values
RangeEventConditional
public RangeEventConditional(float min,
float max,
java.lang.String minLabel,
java.lang.String maxLabel)
initializePropertyDescriptors
public void initializePropertyDescriptors()
getEditableValue
public java.lang.Object getEditableValue()
getPropertyDescriptors
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.Object id)
setPropertyValue
public void setPropertyValue(java.lang.Object id,
java.lang.Object value)
isPropertySet
public boolean isPropertySet(java.lang.Object id)
resetPropertyValue
public void resetPropertyValue(java.lang.Object id)
hasParameters
public boolean hasParameters()
- Description copied from class:
EventConditional
- Returns true if the conditional has parameters that should be set in the property menu
- Specified by:
hasParameters
in class EventConditional
- Returns: