Class CommandPanelPresentationModel
- java.lang.Object
-
- org.pushingpixels.flamingo.api.common.model.CommandPanelPresentationModel
-
- All Implemented Interfaces:
ChangeAware,MutablePresentationModel,PresentationModel
public class CommandPanelPresentationModel extends java.lang.Object implements MutablePresentationModel, ChangeAware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandPanelPresentationModel.Builderstatic classCommandPanelPresentationModel.LayoutKindEnumerates the available layout kinds.
-
Method Summary
-
-
-
Method Detail
-
builder
public static CommandPanelPresentationModel.Builder builder()
-
getCommandPresentationState
public CommandButtonPresentationState getCommandPresentationState()
-
setCommandPresentationState
public void setCommandPresentationState(CommandButtonPresentationState commandPresentationState)
-
getCommandIconDimension
public java.lang.Integer getCommandIconDimension()
-
setCommandIconDimension
public void setCommandIconDimension(java.lang.Integer commandIconDimension)
-
getMaxColumns
public int getMaxColumns()
-
setMaxColumns
public void setMaxColumns(int maxColumns)
-
getMaxRows
public int getMaxRows()
-
setMaxRows
public void setMaxRows(int maxRows)
-
getLayoutKind
public CommandPanelPresentationModel.LayoutKind getLayoutKind()
-
setLayoutKind
public void setLayoutKind(CommandPanelPresentationModel.LayoutKind layoutKind)
-
isToShowGroupLabels
public boolean isToShowGroupLabels()
-
setToShowGroupLabels
public void setToShowGroupLabels(boolean toShowGroupLabels)
-
getCommandHorizontalAlignment
public int getCommandHorizontalAlignment()
-
isMenu
public boolean isMenu()
-
getPopupOrientationKind
public CommandButtonPresentationModel.PopupOrientationKind getPopupOrientationKind()
-
addChangeListener
public void addChangeListener(javax.swing.event.ChangeListener l)
Description copied from interface:ChangeAwareAdds the specified change listener to track changes to the underlying source.- Specified by:
addChangeListenerin interfaceChangeAware- Parameters:
l- Change listener to add.- See Also:
ChangeAware.removeChangeListener(ChangeListener)
-
removeChangeListener
public void removeChangeListener(javax.swing.event.ChangeListener l)
Description copied from interface:ChangeAwareRemoves the specified change listener from tracking changes to the underlying source.- Specified by:
removeChangeListenerin interfaceChangeAware- Parameters:
l- Change listener to remove.- See Also:
ChangeAware.removeChangeListener(ChangeListener)
-
-