|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.commands.DocumentCommand
com.tensegrity.skeleton.commands.GraphDocumentCommand
com.tensegrity.skeleton.commands.SaveVisualGraphCommand
com.tensegrity.skeleton.commands.ExportRasterCommand
Exports the currently active document to a raster image File.
| Field Summary | |
static int |
BITMAP
constants determining the type of export |
static int |
GIF
constants determining the type of export |
static int |
JPEG
constants determining the type of export |
static int |
PNG
constants determining the type of export |
| Constructor Summary | |
ExportRasterCommand(ApplicationFrame applicationFrame,
java.lang.String command,
int type)
Creates a new ExportRasterCommand. |
|
| Method Summary | |
static boolean |
isExportTypeAvailable(int type)
Returns true, if the given encoding type is supported. |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
| Methods inherited from class com.tensegrity.skeleton.commands.SaveVisualGraphCommand |
isEnabled |
| Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentCommand |
getGraphDocument, getVisualGraphView |
| Methods inherited from class com.tensegrity.skeleton.commands.DocumentCommand |
getDocument, getGraphApplication, newGraphDocumentFromFactory |
| Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand |
getApplicationFrame, getTitle |
| Methods inherited from class com.tensegrity.generic.command.BaseCommand |
getDescription, getId, getPerformDescription, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BITMAP
public static final int JPEG
public static final int GIF
public static final int PNG
| Constructor Detail |
public ExportRasterCommand(ApplicationFrame applicationFrame,
java.lang.String command,
int type)
ExportRasterCommand.
applicationFrame - Application context for this command.command - the ID of this command.type - the type of raster to be exported. Valid values are:
| Method Detail |
public void perform(java.lang.Object args)
CommonBaseCommand
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)public static boolean isExportTypeAvailable(int type)
true, if the given encoding type is supported.
type - the type of encoding.
true, if the given encoding type is supported.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||