MutablePresentationModel, PresentationModelpublic class CommandPanelPresentationModel extends java.lang.Object implements MutablePresentationModel
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CommandPanelPresentationModel.Builder |
|
static class |
CommandPanelPresentationModel.LayoutKind |
Enumerates the available layout kinds.
|
public static CommandPanelPresentationModel.Builder builder()
public CommandButtonPresentationState getCommandPresentationState()
public void setCommandPresentationState(CommandButtonPresentationState commandPresentationState)
public java.lang.Integer getCommandIconDimension()
public void setCommandIconDimension(java.lang.Integer commandIconDimension)
public int getMaxColumns()
public void setMaxColumns(int maxColumns)
public int getMaxRows()
public void setMaxRows(int maxRows)
public CommandPanelPresentationModel.LayoutKind getLayoutKind()
public void setLayoutKind(CommandPanelPresentationModel.LayoutKind layoutKind)
public boolean isToShowGroupLabels()
public void setToShowGroupLabels(boolean toShowGroupLabels)
public int getCommandHorizontalAlignment()
public boolean isMenu()
public CommandButtonPresentationModel.PopupOrientationKind getPopupOrientationKind()
public void addChangeListener(javax.swing.event.ChangeListener l)
l - Change listener to add.removeChangeListener(ChangeListener)public void removeChangeListener(javax.swing.event.ChangeListener l)
l - Change listener to remove.addChangeListener(ChangeListener)