|
||||||||||
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 Command
execute
in class AbstractCommand
public PageFormat getPageFormat()
public char getMnemonic()
getMnemonic
in interface Command
getMnemonic
in class AbstractCommand
protected void updateEnabled()
public String getName()
getName
in interface Command
getName
in interface Iconic
getName
in class AbstractCommand
public String getDescription()
getDescription
in interface Command
getDescription
in class AbstractCommand
public boolean isInteractive()
isInteractive
in interface Command
isInteractive
in class AbstractCommand
public String getGroupInView(String viewName)
getGroupInView
in interface Command
getGroupInView
in class AbstractCommand
viewName
- The name of the view.
public void panelAdded(PanelManagerEvent e)
panelAdded
in interface PanelManagerListener
e
- The PanelManagerEventpublic void panelRemoved(PanelManagerEvent e)
panelRemoved
in interface PanelManagerListener
e
- The PanelManagerEventpublic void panelFloated(PanelManagerEvent e)
panelFloated
in interface PanelManagerListener
e
- The PanelManagerEvent.public void panelUnfloated(PanelManagerEvent e)
panelUnfloated
in interface PanelManagerListener
e
- The PanelManagerEvent.public void aboutToRemovePanel(PanelManagerEvent e)
aboutToRemovePanel
in interface PanelManagerListener
e
- The PanelManagerEvent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |