Enable Interaction
This property indicates whether objects are sensitive to user interaction. In
other words, it determines whether events that occur on the graphic representation of a symbol
are passed to the symbol conditions or update the value of a symbol parameter.
Parameters affected by user interaction should be mapped to data model properties.
Interactor Parameters
This section displays the list of parameters that are affected
by user interaction in the current symbol configuration, as well as their
current value. User interaction will only be enabled if the property Enable Interaction
is set in the object configuration.
Symbol Interaction
A symbol interactor detects and processes input from the
user on a symbol. This input is in the form of mouse events on the graphic representation
of the symbol.
An interactor does one of the following:
- Uses the mouse event to change the value of a parameter in the symbol.
- Passes the event to the object as a condition. This is used for Push and
Discrete interactors.
The different kinds of interaction available are:
- Discrete: Increments or decrements the value of a parameter by a specific
amount after a mouse click event.
- Push: Reacts to mouse BUTTON_UP, BUTTON_DOWN, and BUTTON_CLICKED events
on a symbol. This interactor sets the value of a string parameter to indicate
the new state that the symbol can display.
- Horizontal: Changes the value of a parameter when an object is clicked
and dragged horizontally.
- Vertical: Changes the value of a parameter when an object is clicked
and dragged vertically.
- Rotation: Changes the value of a parameter when an object is clicked
and rotated.
Discrete, Horizontal, Vertical and Rotation interactors work in the
same way. They respond to a mouse event by changing the value of a
symbol parameter. Push interactors use conditions to transform the object
clicked.