Shuttle
A Shuttle is a user interface element used in the Browse and Collect Pattern. It is used to move entries from one table to another table to select the entries.
● availableListId
Determines the Id of the list that contains the available keys.
● behavior
This property can take the following values and is represented by enumeration type WDShuttleBehavior:
○ add. Add or remove items.
○ move. Move items up or down.
● enableAddButtons
Determines whether the add buttons are enabled.
● enableRemoveButtons
Determines whether the remove buttons are enabled.
● selectedListId
Determines the ID of the list that contains the selected keys.
● showAllButtons
Determines whether the all buttons (both remove all button and addallbutton) are visible.
● vertical
Determines whether the Shuttle is arranged vertically or horizontally.
Name |
Interface |
Type |
Initial Value |
Bindable |
availableListId |
IWDShuttle |
String |
|
not_bindable |
behavior |
IWDShuttle |
WDShuttleBehavior |
add |
bindable |
enableAddButtons |
IWDShuttle |
boolean |
true |
bindable |
enableRemoveButtons |
IWDShuttle |
boolean |
true |
bindable |
enabled |
IWDUIElement |
boolean |
true |
bindable |
selectedListId |
IWDShuttle |
String |
|
not_bindable |
showAllButtons |
IWDShuttle |
boolean |
true |
bindable |
tooltip |
IWDUIElement |
String (TranslatableText) |
|
bindable |
vertical |
IWDShuttle |
boolean |
true |
bindable |
visible |
IWDUIElement |
WDVisibility |
Visible |
bindable |
· onAdd (boolean all)
This event is triggered if the user presses an add button. The parameter determines whether the add all button has been pressed.
· onRemove (boolean all)
This event is triggered if the user presses a remove button. The parameter indicates whether the remove all button has been pressed.