|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction net.clackrouter.actions.AbstractActionDefault net.clackrouter.actions.AbstractActionFile net.clackrouter.actions.FileExportGIF
public class FileExportGIF
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.clackrouter.actions.AbstractActionFile |
---|
AbstractActionFile.MyFileFilter |
Field Summary | |
---|---|
protected java.lang.String |
fileType
|
Fields inherited from class net.clackrouter.actions.AbstractActionFile |
---|
COMPRESS_FILES |
Fields inherited from class net.clackrouter.actions.AbstractActionDefault |
---|
graphpad |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface net.clackrouter.jgraph.pad.resources.TranslatorConstants |
---|
PREFIX_COMPONENT, PREFIX_MESSAGE_ERROR, PREFIX_MESSAGE_INFORMATION, PREFIX_MESSAGE_WARING, SUFFIX_ACCELERATOR, SUFFIX_ACTION, SUFFIX_ICON, SUFFIX_IMAGE, SUFFIX_LABEL, SUFFIX_MENU, SUFFIX_MNEMONIC, SUFFIX_TEXT, SUFFIX_TITLE, SUFFIX_TOOL_TIP_TEXT |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
FileExportGIF(ClackFramework graphpad)
Constructor for FileExportJPG. |
|
FileExportGIF(ClackFramework graphpad,
java.lang.String fileType)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
static byte[] |
convertToGif(java.awt.Image oImgBuffer)
convert Image to GIF-encoded data, reducing the number of colors if needed |
Methods inherited from class net.clackrouter.actions.AbstractActionFile |
---|
createInputStream, createInputStream, createOutputStream, createOutputStream, dialog, openDialog, saveDialog |
Methods inherited from class net.clackrouter.actions.AbstractActionDefault |
---|
getCurrentDocument, getCurrentGraph, getCurrentGraphLayoutCache, getGraphpad, getMenuComponent, getMenuComponents, getName, getPresentationText, getToolComponent, getToolComponents, setGraphpad, setSelectionAttributes, update |
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 |
Field Detail |
---|
protected transient java.lang.String fileType
Constructor Detail |
---|
public FileExportGIF(ClackFramework graphpad)
graphpad
- public FileExportGIF(ClackFramework graphpad, java.lang.String fileType)
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
ActionListener.actionPerformed(ActionEvent)
public static byte[] convertToGif(java.awt.Image oImgBuffer) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |