| Using the Symbol Editor > Using More Features of the Symbol Editor > Working with Interactors > Creating a Push Interactor |
Creating a Push Interactor |
INDEX
PREVIOUS
NEXT
|
A push interactor is used to change the appearance of one or more objects when a mouse event occurs. By default, a Push interactor intercepts three mouse events: PRESSED, RELEASED and CLICKED. Depending on whether the mouse is over the symbol or out of the symbol, when the event occurs, the following values that represent the state that the object are passed to conditions:
These events fulfill conditions attached to one or more objects in the symbol. An example is a button that changes color when clicked. To add a push interactor to a symbol, do the following:
click. This parameter holds the string value of the mouse event.
When you run this symbol in Preview mode, the Shape object changes color when it is clicked.
| Note |
| You do not have to customize all three automatic push conditions. Delete the conditions you do not use. |
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |