|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.ui.ImageSequenceGrabber
public class ImageSequenceGrabber
Class ImageSequenceGrabber. Manages the movie capture dialog, capturing a series of jpegs from a ViewManager, writing them out to disk, previewing them and generating quicktime movies.
| Field Summary | |
|---|---|
static String |
ATTR_ANIS_HEIGHT
xml tag or attr name |
static String |
ATTR_ANIS_POSTHTML
xml tag or attr name |
static String |
ATTR_ANIS_PREHTML
xml tag or attr name |
static String |
ATTR_ANIS_WIDTH
xml tag or attr name |
static String |
ATTR_APPENDTIME
igml xml attributes |
static String |
ATTR_FILENAME
igml xml attributes |
static String |
ATTR_IMAGEDIR
igml xml attributes |
static String |
ATTR_IMAGEPREFIX
igml xml attributes |
static String |
ATTR_IMAGESUFFIX
igml xml attributes |
static String |
ATTR_IMAGETEMPLATE
xml tag or attr name |
static String |
ATTR_KML_DESC
xml tag or attr name |
static String |
ATTR_KML_NAME
xml tag or attr name |
static String |
ATTR_KML_OPEN
xml tag or attr name |
static String |
ATTR_KML_VISIBILITY
xml tag or attr name |
static String |
ATTR_STEPS
igml xml attributes |
static String |
ATTR_VIEWPOINTFILE
|
static String |
CMD_CLEAR
Action commands for gui buttons |
static String |
CMD_GRAB
Action commands for gui buttons |
static String |
CMD_GRAB_ANIMATION
Action commands for gui buttons |
static String |
CMD_PREVIEW_CLOSE
Action commands for gui buttons |
static String |
CMD_PREVIEW_DELETE
Action commands for gui buttons |
static String |
CMD_PREVIEW_NEXT
Action commands for gui buttons |
static String |
CMD_PREVIEW_PLAY
Action commands for gui buttons |
static String |
CMD_PREVIEW_PREV
Action commands for gui buttons |
static String |
CMD_PREVIEW_SHOW
Action commands for gui buttons |
static String |
CMD_PUBLISH
Action commands for gui buttons |
static PatternFileFilter |
FILTER_ANIS
Filter for HTML files |
static String |
PROP_IMAGEALTDIR
Property for the image file template |
static String |
PROP_IMAGETEMPLATE
Property for the image file template |
static String |
TAG_DESCRIPTION
xml tag or attr name |
static String |
TAG_VISIBILITY
xml tag or attr name |
| Constructor Summary | |
|---|---|
ImageSequenceGrabber(String filename,
IntegratedDataViewer idv,
ImageGenerator imageGenerator,
Element scriptingNode,
List imageFiles,
Dimension size,
double displayRate)
This gets called when we automatically create a movie. |
|
ImageSequenceGrabber(ViewManager viewManager)
Create me with the given ViewManager |
|
ImageSequenceGrabber(ViewManager viewManager,
JComponent alternateComponent)
Create me with the given ViewManager |
|
ImageSequenceGrabber(ViewManager viewManager,
JComponent alternateComponent,
boolean justCaptureAnimation)
Create a new ImageSequenceGrabber |
|
ImageSequenceGrabber(ViewManager viewManager,
String filename,
IntegratedDataViewer idv)
This gets called when we automatically create a movie. |
|
ImageSequenceGrabber(ViewManager viewManager,
String filename,
IntegratedDataViewer idv,
ImageGenerator imageGenerator,
Element scriptingNode)
This gets called when we automatically create a movie. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent ae)
Handle gui actions |
protected String |
getFileSuffix()
What file suffix should we use for the images. |
static void |
main(String[] args)
main |
void |
run()
Run in a thread. |
void |
show()
Show the main window |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PatternFileFilter FILTER_ANIS
public static final String TAG_VISIBILITY
public static final String TAG_DESCRIPTION
public static final String ATTR_KML_NAME
public static final String ATTR_KML_OPEN
public static final String ATTR_KML_VISIBILITY
public static final String ATTR_KML_DESC
public static final String ATTR_ANIS_WIDTH
public static final String ATTR_ANIS_HEIGHT
public static final String ATTR_ANIS_PREHTML
public static final String ATTR_ANIS_POSTHTML
public static final String ATTR_FILENAME
public static final String ATTR_IMAGEDIR
public static final String ATTR_IMAGESUFFIX
public static final String ATTR_IMAGEPREFIX
public static final String ATTR_IMAGETEMPLATE
public static final String PROP_IMAGETEMPLATE
public static final String PROP_IMAGEALTDIR
public static final String ATTR_APPENDTIME
public static final String ATTR_STEPS
public static final String ATTR_VIEWPOINTFILE
public static final String CMD_GRAB
public static final String CMD_PUBLISH
public static final String CMD_GRAB_ANIMATION
public static final String CMD_CLEAR
public static final String CMD_PREVIEW_PLAY
public static final String CMD_PREVIEW_SHOW
public static final String CMD_PREVIEW_NEXT
public static final String CMD_PREVIEW_PREV
public static final String CMD_PREVIEW_DELETE
public static final String CMD_PREVIEW_CLOSE
| Constructor Detail |
|---|
public ImageSequenceGrabber(ViewManager viewManager)
ViewManager
viewManager - The view manager we are capturing images from
public ImageSequenceGrabber(ViewManager viewManager,
JComponent alternateComponent)
ViewManager
viewManager - The view manager we are capturing images fromalternateComponent - If non null then use this component as
the source of the image
public ImageSequenceGrabber(ViewManager viewManager,
JComponent alternateComponent,
boolean justCaptureAnimation)
viewManager - associated ViewManageralternateComponent - alternate componentjustCaptureAnimation - true to just capture the animation
public ImageSequenceGrabber(ViewManager viewManager,
String filename,
IntegratedDataViewer idv)
viewManager - The view manager we are capturing images fromfilename - The file we are writing toidv - The IDV
public ImageSequenceGrabber(ViewManager viewManager,
String filename,
IntegratedDataViewer idv,
ImageGenerator imageGenerator,
Element scriptingNode)
viewManager - The view manager we are capturing images fromfilename - The file we are writing toidv - The IDVscriptingNode - The igml nodeimageGenerator - imageGenerator
public ImageSequenceGrabber(String filename,
IntegratedDataViewer idv,
ImageGenerator imageGenerator,
Element scriptingNode,
List imageFiles,
Dimension size,
double displayRate)
filename - The file we are writing toidv - The IDVscriptingNode - The igml nodeimageGenerator - imageGeneratorimageFiles - List of files to writesize - Size of imagedisplayRate - Display rate| Method Detail |
|---|
public void show()
public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListenerae - The ActionEventpublic void run()
run in interface Runnableprotected String getFileSuffix()
public static void main(String[] args)
args - args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||