|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.swing.CColumnControlButton.DefaultColumnControlPopup
public class CColumnControlButton.DefaultColumnControlPopup
A default implementation of ColumnControlPopup. It uses a JPopupMenu with MenuItems corresponding to the Actions as provided by the ColumnControlButton.
| Constructor Summary | |
|---|---|
CColumnControlButton.DefaultColumnControlPopup()
|
|
| Method Summary | |
|---|---|
void |
addAdditionalActionItems(List<? extends Action> actions)
|
protected void |
addItem(AbstractButton item)
|
protected void |
addItems(List<? extends Action> actions)
Here: creates and adds a menuItem to the popup for every Action in the list. |
protected void |
addSeparator()
adds a separator to the popup. |
void |
addVisibilityActionItems(List<? extends org.jdesktop.swingx.action.AbstractActionExt> actions)
|
void |
applyComponentOrientation(ComponentOrientation o)
|
protected JScrollPane |
createScroller()
Creates the scroll pane which houses the scrollable list. |
protected JPopupMenu |
getPopupMenu()
|
void |
removeAll()
|
void |
toggleVisibility(JComponent owner)
|
void |
updateUI()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CColumnControlButton.DefaultColumnControlPopup()
| Method Detail |
|---|
public void updateUI()
updateUI in interface org.jdesktop.swingx.table.ColumnControlPopuppublic void toggleVisibility(JComponent owner)
toggleVisibility in interface org.jdesktop.swingx.table.ColumnControlPopuppublic void applyComponentOrientation(ComponentOrientation o)
applyComponentOrientation in interface org.jdesktop.swingx.table.ColumnControlPopuppublic void removeAll()
removeAll in interface org.jdesktop.swingx.table.ColumnControlPopuppublic void addVisibilityActionItems(List<? extends org.jdesktop.swingx.action.AbstractActionExt> actions)
addVisibilityActionItems in interface org.jdesktop.swingx.table.ColumnControlPopuppublic void addAdditionalActionItems(List<? extends Action> actions)
addAdditionalActionItems in interface org.jdesktop.swingx.table.ColumnControlPopupprotected void addItems(List<? extends Action> actions)
actions - a list containing the actions to add to the popup.
Must not be null.protected void addSeparator()
protected void addItem(AbstractButton item)
item - the menuItem to add to the popup.protected JPopupMenu getPopupMenu()
protected JScrollPane createScroller()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||