VirtualSpace Actions and Java methods
VirtualSpace Actions and Java methods
UI components with click action events, typically buttons or menu items, have a VS Action property listed under Action
in the Property Editor. For common interactions between components and Java methods, create a vsAction
in your VirtualSpace and connect the vsAction
to your Java method.
Creating a vsAction on a UI component through the component’s properties view
With the vsAction
selected in the VirtualSpace Editor, search the Property Editor
for the Connectors section; here, in the value field of the OnVSAction
property, click the more …
menu and select a Java method
or create a new method
.
Create or assign a Java method to a vsAction in the properties view of the VirtualSpace editor
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.