|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.stanford.hci.dtools.statechart.model.ModelElement
edu.stanford.hci.dtools.deviceeditor.components.IOComponent
edu.stanford.hci.dtools.deviceeditor.components.InputComponent
public abstract class InputComponent
d.tools interface representing all devices which can provide input to the system. This includes buttons, sliders, etc.
This software is distributed under the BSD License.
| Field Summary |
|---|
| Fields inherited from class edu.stanford.hci.dtools.deviceeditor.components.IOComponent |
|---|
CONNECTION_PROP, CONTINUOUS_RANGE_MAX, CONTINUOUS_RANGE_MIN, HARDWARE_PROP, HIGHLIGHT_PROP, IMAGE_PROP, LOCATION_PROP, SIZE_PROP, SOCKET_PROP |
| Constructor Summary | |
|---|---|
InputComponent()
|
|
InputComponent(InputComponent copy)
|
|
InputComponent(java.lang.String name,
java.lang.String image,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimensions,
java.lang.String hardware)
|
|
| Method Summary | |
|---|---|
abstract java.util.ArrayList<EventConditional> |
generateEvents()
|
abstract EventConditional |
getDefaultEvent(java.util.ArrayList<EventConditional> possibleInputs)
|
java.lang.Object |
getPropertyValue(java.lang.Object propertyId)
Return the property value for the given propertyId, or null. |
abstract boolean |
hasEvent(EventConditional e)
returns true if this inputcomponent has a matching event |
void |
setPropertyValue(java.lang.Object propertyId,
java.lang.Object value)
Set the property value for the given property id. |
abstract void |
update(java.lang.Object[] arguments)
Updates the component state based on incoming messages |
| Methods inherited from class edu.stanford.hci.dtools.statechart.model.ModelElement |
|---|
addPropertyChangeListener, getEditableValue, isPropertySet, removePropertyChangeListener, resetPropertyValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputComponent(java.lang.String name,
java.lang.String image,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimensions,
java.lang.String hardware)
public InputComponent()
public InputComponent(InputComponent copy)
| Method Detail |
|---|
public java.lang.Object getPropertyValue(java.lang.Object propertyId)
The property view uses the IDs from the IPropertyDescriptors array to obtain the value of the corresponding properties.
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcegetPropertyValue in class IOComponentIOComponent.descriptors,
IOComponent.getPropertyDescriptors()
public void setPropertyValue(java.lang.Object propertyId,
java.lang.Object value)
The property view uses the IDs from the IPropertyDescriptors array to set the values of the corresponding properties.
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcesetPropertyValue in class IOComponentIOComponent.descriptors,
IOComponent.getPropertyDescriptors()public abstract boolean hasEvent(EventConditional e)
public abstract EventConditional getDefaultEvent(java.util.ArrayList<EventConditional> possibleInputs)
public abstract java.util.ArrayList<EventConditional> generateEvents()
public abstract void update(java.lang.Object[] arguments)
arguments - arguments of the OSC message received
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||