|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdsto.dfc.swing.commands.AbstractCommand
dsto.dfc.swing.commands.AbstractMutableCommand
dsto.dfc.swing.panels.CmdPageLayoutPanel
public class CmdPageLayoutPanel
A Command that opens up a page layout dialog.
| Field Summary | |
|---|---|
protected PanelManager |
manager
|
| Fields inherited from class dsto.dfc.swing.commands.AbstractMutableCommand |
|---|
listeners |
| Fields inherited from class dsto.dfc.swing.commands.AbstractCommand |
|---|
displayName, icon |
| Fields inherited from interface dsto.dfc.swing.icons.Iconic |
|---|
NULL_ICON |
| Constructor Summary | |
|---|---|
CmdPageLayoutPanel(PanelManager manager)
Initializes variables. |
|
| Method Summary | |
|---|---|
void |
aboutToRemovePanel(PanelManagerEvent e)
Not Implemented. |
void |
execute()
Opens a Page Layout dialog. |
String |
getDescription()
Returns the description of this command. |
String |
getGroupInView(String viewName)
Assigns this command to the print group. |
char |
getMnemonic()
Returns the mnemonic for this command. |
String |
getName()
Returns the name of this command. |
PageFormat |
getPageFormat()
Returns the page format. |
boolean |
isInteractive()
Returns if this command is interactive. |
void |
panelAdded(PanelManagerEvent e)
Calls updateEnabled. |
void |
panelFloated(PanelManagerEvent e)
Not Implemented. |
void |
panelRemoved(PanelManagerEvent e)
Calls updateEnabled. |
void |
panelUnfloated(PanelManagerEvent e)
Not Implemented. |
protected void |
updateEnabled()
Sets this command to be enabled if the PanelManager contains one or more panels. |
| Methods inherited from class dsto.dfc.swing.commands.AbstractMutableCommand |
|---|
addPropertyChangeListener, clone, isEnabled, removePropertyChangeListener, setEnabled, setIcon |
| Methods inherited from class dsto.dfc.swing.commands.AbstractCommand |
|---|
actionPerformed, canReplace, getAccelerator, getDefaultDisplayName, getDisplayName, getIcon, getLargeIcon, getLogString, setDisplayName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PanelManager manager
| Constructor Detail |
|---|
public CmdPageLayoutPanel(PanelManager manager)
manager - The PanelManager that manages the panels and views.| Method Detail |
|---|
public void execute()
execute in interface Commandexecute in class AbstractCommandpublic PageFormat getPageFormat()
public char getMnemonic()
getMnemonic in interface CommandgetMnemonic in class AbstractCommandprotected void updateEnabled()
public String getName()
getName in interface CommandgetName in interface IconicgetName in class AbstractCommandpublic String getDescription()
getDescription in interface CommandgetDescription in class AbstractCommandpublic boolean isInteractive()
isInteractive in interface CommandisInteractive in class AbstractCommandpublic String getGroupInView(String viewName)
getGroupInView in interface CommandgetGroupInView in class AbstractCommandviewName - The name of the view.
public void panelAdded(PanelManagerEvent e)
panelAdded in interface PanelManagerListenere - The PanelManagerEventpublic void panelRemoved(PanelManagerEvent e)
panelRemoved in interface PanelManagerListenere - The PanelManagerEventpublic void panelFloated(PanelManagerEvent e)
panelFloated in interface PanelManagerListenere - The PanelManagerEvent.public void panelUnfloated(PanelManagerEvent e)
panelUnfloated in interface PanelManagerListenere - The PanelManagerEvent.public void aboutToRemovePanel(PanelManagerEvent e)
aboutToRemovePanel in interface PanelManagerListenere - The PanelManagerEvent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||