public interface DockActionImportanceOrder
DockActionImportanceOrder is used by ButtonPanel to decide which
actions are more important than others. If there is not enough space, the actions
that are less important are moved to a menu.| Modifier and Type | Field and Description |
|---|---|
static PropertyKey<DockActionImportanceOrder> |
ORDER
A
PropertyKey used to set the order in the DockProperties |
| Modifier and Type | Method and Description |
|---|---|
void |
order(DockAction[] actions)
Sorts the actions by their important, the most important action
has to be at index
0, while the least important action
is at index actions.length-1. |
static final PropertyKey<DockActionImportanceOrder> ORDER
PropertyKey used to set the order in the DockPropertiesvoid order(DockAction[] actions)
0, while the least important action
is at index actions.length-1. This method must not add or remove
any actions from action, it must only rearrange the content of
actionsactions - the array of actions to sortCopyright © 2017 Docking Frames. All rights reserved.