|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColumnControlPopup
Encapsulates the popup component which is the delegate for all popup visuals, used by a ColumnControlButton.
For now, this class a simple extraction of what a ColumnControl needs. Usage will drive further evolution.
| Nested Class Summary | |
|---|---|
static interface |
ColumnControlPopup.ActionGroupable
Interface indicating support for grouping of menu actions. |
static interface |
ColumnControlPopup.ActionGrouper
Splits and returns a List of actions into sub-lists. |
| Method Summary | |
|---|---|
void |
addAdditionalActionItems(List<? extends Action> actions)
Adds additional actions to the popup. |
void |
addVisibilityActionItems(List<? extends AbstractActionExt> actions)
Adds items corresponding to the column's visibility actions. |
void |
applyComponentOrientation(ComponentOrientation o)
Applies the specified component orientation to all internal widgets. |
void |
removeAll()
Removes all items from the popup. |
void |
toggleVisibility(JComponent owner)
Toggles the popup's visibility. |
| Methods inherited from interface org.jdesktop.swingx.plaf.UIDependent |
|---|
updateUI |
| Method Detail |
|---|
void toggleVisibility(JComponent owner)
owner - the JComponent which triggered the visibility change, typically
a ColumnControlButton.void applyComponentOrientation(ComponentOrientation o)
o - the componentOrientation to apply to all internal widgets.Container.applyComponentOrientation(ComponentOrientation).void removeAll()
void addVisibilityActionItems(List<? extends AbstractActionExt> actions)
Each Action in the list is a stateAction,
its selected property bound to a column's
visible property, that is toggling the selected will
toggle the column's visibility (if the action is enabled).
The Actions name property is bound to
the column's title.
actions - List of AbstractActionExt to add.void addAdditionalActionItems(List<? extends Action> actions)
actions - List of Actions to add to the popup.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||