|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
org.tigris.gef.base.Cmd
org.tigris.gef.base.CmdSaveGraphics
org.tigris.gef.base.CmdSavePS
public class CmdSavePS
Cmd to save a diagram as PostScript in a supplied OutputStream. Requires the CH.ifa.draw.util.PostscriptWriter class. Operates on the diagram in the current editor. Code loosely adapted from CmdSaveGIF.
| Field Summary |
|---|
| Fields inherited from class org.tigris.gef.base.Cmd |
|---|
_args, _resource |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
CmdSavePS()
|
|
| Method Summary | |
|---|---|
protected void |
saveGraphics(java.io.OutputStream s,
Editor ce,
java.awt.Rectangle drawingArea)
|
| Methods inherited from class org.tigris.gef.base.CmdSaveGraphics |
|---|
doIt, setStream, undoIt |
| Methods inherited from class org.tigris.gef.base.Cmd |
|---|
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, getResource, register, registeredCmds, setArg, setName, setResource, shouldBeEnabled, updateEnabled |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmdSavePS()
| Method Detail |
|---|
protected void saveGraphics(java.io.OutputStream s,
Editor ce,
java.awt.Rectangle drawingArea)
throws java.io.IOException
saveGraphics in class CmdSaveGraphicsjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||