public class ImageGenerator extends IdvManager
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ImageGenerator.MyBreakException
Class MyBreakException for handling break tags
|
protected static class |
ImageGenerator.MyContinueException
Class MyContinueException for handling continue tags
|
protected static class |
ImageGenerator.MyQuitException
Class description
|
protected static class |
ImageGenerator.MyReturnException
Class MyReturnException allows us to return from a isl procedure by throwing an exception.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_ANCHOR
isl tag
|
static java.lang.String |
ATTR_ANGLE
isl tag
|
static java.lang.String |
ATTR_ANIMATION_INDEX
isl attribute
|
static java.lang.String |
ATTR_ASPECTX
x aspect attribute
|
static java.lang.String |
ATTR_ASPECTY
y aspect attribute
|
static java.lang.String |
ATTR_ASPECTZ
z aspect attribute
|
static java.lang.String |
ATTR_AZIMUTH
azimuth attribute
|
static java.lang.String |
ATTR_BACKGROUND
isl tag
|
static java.lang.String |
ATTR_BBOX
bounding box attribute
|
static java.lang.String |
ATTR_BOTTOM
isl tag
|
static java.lang.String |
ATTR_BUNDLE
isl attribute
|
static java.lang.String |
ATTR_CAPTION
isl tag
|
static java.lang.String |
ATTR_CLASS
isl tag
|
static java.lang.String |
ATTR_CLEAR
isl tag
|
static java.lang.String |
ATTR_CODE
isl tag
|
static java.lang.String |
ATTR_COLOR
isl tag
|
static java.lang.String |
ATTR_COLUMNS
isl tag
|
static java.lang.String |
ATTR_COMBINE
isl attribute
|
static java.lang.String |
ATTR_COMMAND
isl tag
|
static java.lang.String |
ATTR_COPY
isl tag
|
static java.lang.String |
ATTR_COUNT
the count tag
|
static java.lang.String |
ATTR_DASHES
dashes tag
|
static java.lang.String |
ATTR_DATASOURCE
isl attribute
|
static java.lang.String |
ATTR_DEBUG
isl tag
|
static java.lang.String |
ATTR_DEFAULT
isl tag
|
static java.lang.String |
ATTR_DESTINATION
isl attribute
|
static java.lang.String |
ATTR_DIR
isl tag
|
static java.lang.String |
ATTR_DISPLAY
isl tag
|
static java.lang.String |
ATTR_DRAWLATLINES
the draw lat lines tag
|
static java.lang.String |
ATTR_DRAWLONLINES
the draw lon lines tag
|
static java.lang.String |
ATTR_DRIVERTIME_END
bounding time driver time attribute
|
static java.lang.String |
ATTR_DRIVERTIME_START
bounding time driver time attribute
|
static java.lang.String |
ATTR_EAST
isl tag
|
static java.lang.String |
ATTR_ENDFRAMEPAUSE
isl tag for ending frame pause for animated gifs
|
static java.lang.String |
ATTR_ENSEMBLES
isl tag
|
static java.lang.String |
ATTR_ENTRY
isl tag
|
static java.lang.String |
ATTR_EVERY
isl tag
|
static java.lang.String |
ATTR_EXPR
isl tag
|
static java.lang.String |
ATTR_FILE
isl tag
|
static java.lang.String |
ATTR_FIRST
isl attribute
|
static java.lang.String |
ATTR_FONTFACE
isl tag
|
static java.lang.String |
ATTR_FONTSIZE
isl tag
|
static java.lang.String |
ATTR_FORMAT
isl attr
|
static java.lang.String |
ATTR_FRAMERATE
isl tag
|
static java.lang.String |
ATTR_FROM
isl attr
|
static java.lang.String |
ATTR_FROMFILE
isl tag
|
static java.lang.String |
ATTR_GLOBAL
isl attribute
|
static java.lang.String |
ATTR_HEIGHT
isl tag
|
static java.lang.String |
ATTR_HOURS
isl tag
|
static java.lang.String |
ATTR_HSPACE
isl tag
|
static java.lang.String |
ATTR_ID
isl tag
|
static java.lang.String |
ATTR_IMAGE
isl tag
|
static java.lang.String |
ATTR_INDEX
index attribute
|
static java.lang.String |
ATTR_INTERVAL
isl tag
|
static java.lang.String |
ATTR_LABELBACKGROUND
isl tag
|
static java.lang.String |
ATTR_LAST
isl attribute
|
static java.lang.String |
ATTR_LAT
isl tag
|
static java.lang.String |
ATTR_LAT_LABELS
that latlabels tag
|
static java.lang.String |
ATTR_LAT_VALUES
that latvalues tag
|
static java.lang.String |
ATTR_LEFT
isl tag
|
static java.lang.String |
ATTR_LEVEL_FROM
from level attribute
|
static java.lang.String |
ATTR_LEVEL_TO
to level attribute
|
static java.lang.String |
ATTR_LINECOLOR
isl tag
|
static java.lang.String |
ATTR_LINEOFFSET_BOTTOM
isl tag
|
static java.lang.String |
ATTR_LINEOFFSET_LEFT
isl tag
|
static java.lang.String |
ATTR_LINEOFFSET_RIGHT
isl tag
|
static java.lang.String |
ATTR_LINEOFFSET_TOP
isl tag
|
static java.lang.String |
ATTR_LINEWIDTH
linewidth tag
|
static java.lang.String |
ATTR_LON
isl tag
|
static java.lang.String |
ATTR_LON_LABELS
that lonlabels tag
|
static java.lang.String |
ATTR_LON_VALUES
that lonvalues tag
|
static java.lang.String |
ATTR_LOOP
isl tag
|
static java.lang.String |
ATTR_MATTEBG
isl tag
|
static java.lang.String |
ATTR_MESSAGE
isl tag
|
static java.lang.String |
ATTR_MINUTES
isl tag
|
static java.lang.String |
ATTR_NAME
isl tag
|
static java.lang.String |
ATTR_NORTH
isl tag
|
static java.lang.String |
ATTR_OFFSCREEN
isl tag
|
static java.lang.String |
ATTR_ONERROR
isl attribute
|
static java.lang.String |
ATTR_ORIENTATION
isl tag
|
static java.lang.String |
ATTR_PARAM
isl tag
|
static java.lang.String |
ATTR_PASSWORD
isl attribute
|
static java.lang.String |
ATTR_PATTERN
isl tag
|
static java.lang.String |
ATTR_PLACE
isl tag
|
static java.lang.String |
ATTR_PROPERTY
isl tag
|
static java.lang.String |
ATTR_QUALITY
isl tag
|
static java.lang.String |
ATTR_RIGHT
isl tag
|
static java.lang.String |
ATTR_ROTX
x rotation attribute
|
static java.lang.String |
ATTR_ROTY
y rotation attribute
|
static java.lang.String |
ATTR_ROTZ
z rotation attribute
|
static java.lang.String |
ATTR_ROWS
isl tag
|
static java.lang.String |
ATTR_SCALE
scale attribute
|
static java.lang.String |
ATTR_SECONDS
isl tag
|
static java.lang.String |
ATTR_SERVER
isl attribute
|
static java.lang.String |
ATTR_SHOWBOTTOM
isl tag
|
static java.lang.String |
ATTR_SHOWLEFT
isl tag
|
static java.lang.String |
ATTR_SHOWLINES
isl tag
|
static java.lang.String |
ATTR_SHOWRIGHT
isl tag
|
static java.lang.String |
ATTR_SHOWTOP
isl tag
|
static java.lang.String |
ATTR_SHOWUNIT
showunit atttribute
|
static java.lang.String |
ATTR_SLEEP
isl tag
|
static java.lang.String |
ATTR_SORT
isl attribute
|
static java.lang.String |
ATTR_SORTDIR
isl attribute
|
static java.lang.String |
ATTR_SOUTH
isl tag
|
static java.lang.String |
ATTR_SPACE
isl tag
|
static java.lang.String |
ATTR_SPACE_BOTTOM
bottom space attribute
|
static java.lang.String |
ATTR_SPACE_LEFT
left space attribute
|
static java.lang.String |
ATTR_SPACE_RIGHT
right space attribute
|
static java.lang.String |
ATTR_SPACE_TOP
top space attribute
|
static java.lang.String |
ATTR_STRIDE
stride attribute
|
static java.lang.String |
ATTR_STRIDEX
x stride attribute
|
static java.lang.String |
ATTR_STRIDEY
y stride attribute
|
static java.lang.String |
ATTR_STRIDEZ
z stride attribute
|
static java.lang.String |
ATTR_SUFFIX
suffix attribute
|
static java.lang.String |
ATTR_TEMPLATE
isl tag
|
static java.lang.String |
ATTR_TEXT
isl tag
|
static java.lang.String |
ATTR_TICKMARKS
isl tag
|
static java.lang.String |
ATTR_TILT
tilt attribute
|
static java.lang.String |
ATTR_TIMES
isl tag
|
static java.lang.String |
ATTR_TO
isl attr
|
static java.lang.String |
ATTR_TOP
top attribute
|
static java.lang.String |
ATTR_TRANSPARENCY
transparency attribute
|
static java.lang.String |
ATTR_TRANSX
x translation attribute
|
static java.lang.String |
ATTR_TRANSY
y translation attribute
|
static java.lang.String |
ATTR_TRANSZ
z translation attribute
|
static java.lang.String |
ATTR_TYPE
isl tag
|
static java.lang.String |
ATTR_URL
isl tag
|
static java.lang.String |
ATTR_USEPROJECTION
isl tag
|
static java.lang.String |
ATTR_USER
isl attribute
|
static java.lang.String |
ATTR_VALIGN
the valign attribute
|
static java.lang.String |
ATTR_VALUE
isl tag
|
static java.lang.String |
ATTR_VALUES
isl tag
|
static java.lang.String |
ATTR_VIEW
isl tag
|
static java.lang.String |
ATTR_VIEWDIR
the view dir attribute
|
static java.lang.String |
ATTR_VSPACE
isl tag
|
static java.lang.String |
ATTR_WAIT
isl attribute
|
static java.lang.String |
ATTR_WEST
isl tag
|
static java.lang.String |
ATTR_WHAT
isl attribute
|
static java.lang.String |
ATTR_WHERE
isl tag
|
static java.lang.String |
ATTR_WIDTH
isl tag
|
static java.lang.String |
ATTR_WINDOW
isl tag
|
static java.lang.String |
PROP_ANIMATIONTIME
macro property
|
static java.lang.String |
PROP_CONTENTS
macro property
|
static java.lang.String |
PROP_FILE
file property
|
static java.lang.String |
PROP_FILENOSUFFIX
filenosuffix property
|
static java.lang.String |
PROP_FILEPREFIX
fileprefix property
|
static java.lang.String |
PROP_FILETAIL
filetail property
|
static java.lang.String |
PROP_FILETAILNOSUFFIX
filetailnosuffix property
|
static java.lang.String |
PROP_IMAGEFILE
macro property
|
static java.lang.String |
PROP_IMAGEINDEX
macro property
|
static java.lang.String |
PROP_IMAGEPATH
macro property
|
static java.lang.String |
PROP_LOOPINDEX
macro property
|
static java.lang.String |
PROP_LOOPINDEX_PAD2
padded loop index
|
static java.lang.String |
PROP_LOOPINDEX_PAD3
padded loop index
|
static java.lang.String |
PROP_LOOPINDEX_PAD4
padded loop index
|
static java.lang.String |
PROP_OFFSCREEN
macro property
|
static java.lang.String |
PROP_VIEWINDEX
macro property
|
static java.lang.String |
PROP_VIEWNAME
macro property
|
static java.lang.String |
TAG_APPEND
isl tag
|
static java.lang.String |
TAG_BGTRANSPARENT
background transparent tag
|
static java.lang.String |
TAG_BUNDLE
isl tag
|
static java.lang.String |
TAG_CLIP
isl tag
|
static java.lang.String |
TAG_COLORBAR
isl tag
|
static java.lang.String |
TAG_DATASOURCE
datasource tag
|
static java.lang.String |
TAG_DISPLAY
isl tag
|
static java.lang.String |
TAG_DISPLAYLIST
displaylist tag
|
static java.lang.String |
TAG_ELSE
isl tag
|
static java.lang.String |
TAG_FILESET
isl tag
|
static java.lang.String |
TAG_GROUP
isl tag
|
static java.lang.String |
TAG_IMAGE
isl tag
|
static java.lang.String |
TAG_IMPORT
isl tag
|
static java.lang.String |
TAG_ISL
isl tag
|
static java.lang.String |
TAG_KML
isl tag
|
static java.lang.String |
TAG_KML_COLORBAR
kml colorbar tag
|
static java.lang.String |
TAG_KMZFILE
isl tag
|
static java.lang.String |
TAG_LATLONLABELS
that latlonlabels tag
|
static java.lang.String |
TAG_MATTE
isl tag
|
static java.lang.String |
TAG_MOVIE
isl tag
|
static java.lang.String |
TAG_OUTPUT
isl tag
|
static java.lang.String |
TAG_OVERLAY
isl tag
|
static java.lang.String |
TAG_PAUSE
isl tag
|
static java.lang.String |
TAG_PROJECTION
isl tag
|
static java.lang.String |
TAG_PROPERTY
isl tag
|
static java.lang.String |
TAG_PUBLISH
publish tag
|
static java.lang.String |
TAG_RESIZE
isl tag
|
static java.lang.String |
TAG_SETFILES
isl tag
|
static java.lang.String |
TAG_SHOW
show tag
|
static java.lang.String |
TAG_SPLIT
isl tag
|
static java.lang.String |
TAG_TEMPLATE
isl tag
|
static java.lang.String |
TAG_THEN
isl tag
|
static java.lang.String |
TAG_THUMBNAIL
isl tag
|
static java.lang.String |
TAG_TRANSPARENT
isl tag
|
static java.lang.String |
TAG_VIEW
view tag
|
static java.lang.String |
TAG_VIEWPOINT
viewpoint tag
|
static java.lang.String |
TAG_WRITE
isl tag
|
static java.lang.String |
VALUE_ALL
attr value
|
static java.lang.String |
VALUE_ASCENDING
isl attribute
|
static java.lang.String |
VALUE_BOTTOM
attr value
|
static java.lang.String |
VALUE_DESCENDING
isl attribute
|
static java.lang.String |
VALUE_FIRST
attr value
|
static java.lang.String |
VALUE_LAST
attr value
|
static java.lang.String |
VALUE_LEFT
attr value
|
static java.lang.String |
VALUE_NONE
attr value
|
static java.lang.String |
VALUE_RIGHT
attr value
|
static java.lang.String |
VALUE_TIME
isl attribute
|
static java.lang.String |
VALUE_TOP
attr value
|
contents, dialog, frame, windowARG_B64BUNDLE, ARG_B64ISL, ARG_BUNDLE, ARG_CATALOG, ARG_CHOOSER, ARG_CLEARDEFAULT, ARG_CODE, ARG_CONNECT, ARG_CURRENTTIME, ARG_DATA, ARG_DEBUG, ARG_DEFAULT, ARG_DISPLAY, ARG_DXML, ARG_FIXEDTIME, ARG_HELP, ARG_IMAGE, ARG_IMAGESERVER, ARG_INSTALLPLUGIN, ARG_ISLFILE, ARG_ISLINTERACTIVE, ARG_LISTRESOURCES, ARG_MAINCLASS, ARG_MOVIE, ARG_MSG_DEBUG, ARG_MSG_RECORD, ARG_NODEFAULT, ARG_NOERRORSINGUI, ARG_NOGUI, ARG_NOONEINSTANCE, ARG_NOPLUGINS, ARG_NOPREF, ARG_ONEINSTANCEPORT, ARG_PLUGIN, ARG_PORT, ARG_PRINTJNLP, ARG_PROPERTIES, ARG_SCRIPT, ARG_SERVER, ARG_SETFILES, ARG_SITEPATH, ARG_TEMPLATE, ARG_TEST, ARG_TESTEVAL, ARG_TRACE, ARG_TRACEONLY, ARG_USERPATH, DEFAULT_DATE_FORMAT, DEFAULT_DOCPATH, DEFAULT_TIMEZONE, FILTER_CPT, FILTER_ISL, FILTER_JNLP, FILTER_XIDV, FILTER_XIDVZIDV, FILTER_XML, FILTER_ZIDV, ID_COMMANDSTORUN, ID_DATASOURCES, ID_DISPLAYCONTROLS, ID_IDV, ID_JYTHON, ID_MESSAGE, ID_MISCHASHTABLE, ID_NCIDV_VERSION, ID_VERSION, ID_VIEWMANAGERS, ID_WINDOWS, INITIAL_PROBE_EARTHLOCATION, NULL_DATA_SELECTION, NULL_STRING, PREF_APPEARANCEMODE, PREF_ARCHIVEDIR, PREF_ARCHIVENAME, PREF_AUTODISPLAYS_ENABLE, PREF_AUTODISPLAYS_SHOWGUI, PREF_AUTOSELECTDATA, PREF_CACHESIZE, PREF_CONTROLSINTABS, PREF_DATAPREFIX, PREF_DATE_FORMAT, PREF_DISTANCEUNIT, PREF_DOCACHE, PREF_EMBEDDATACHOOSERINDASHBOARD, PREF_EMBEDFIELDSELECTORINDASHBOARD, PREF_EMBEDLEGENDINDASHBOARD, PREF_EMBEDQUICKLINKSINDASHBOARD, PREF_EVENT_KEYBOARDMAP, PREF_EVENT_MOUSEMAP, PREF_EVENT_WHEELMAP, PREF_FAST_RENDER, PREF_FIELD_CACHETHRESHOLD, PREF_FILEREADDIR, PREF_FILEWRITEDIR, PREF_GEOMETRY_BY_REF, PREF_HISTORY, PREF_IMAGE_BY_REF, PREF_LARGE_REMOTE_DATA_WARN, PREF_LASTVERSION, PREF_LATLON_FORMAT, PREF_LEGEND_SHOWICONS, PREF_LOCALE, PREF_LOOKANDFEEL, PREF_MAXIMAGESIZE, PREF_MEMORY, PREF_NPOT_IMAGE, PREF_OPEN_ASK, PREF_OPEN_MERGE, PREF_OPEN_REMOVE, PREF_PROJ_LIST, PREF_SAMPLINGMODE, PREF_SHOWCONTROLWINDOW, PREF_SHOWDASHBOARD, PREF_SHOWDECODEDIALOG, PREF_SHOWHIDDENFILES, PREF_SHOWQUITCONFIRM, PREF_SITEPATH, PREF_THREADS_DATA, PREF_THREADS_RENDER, PREF_TIMEZONE, PREF_VERTICALCS, PREF_VERTICALUNIT, PREF_WINDOW_SHOWTOOLBAR, PREF_ZIDV_ASK, PREF_ZIDV_DIRECTORY, PREF_ZIDV_SAVETOTMP, PROP_3DMODE, PROP_ABOUTTEXT, PROP_APPRESOURCEPATH, PROP_CHOOSERS, PROP_CHOOSERS_ALL, PROP_CONTROLDESCRIPTORS, PROP_CONTROLDESCRIPTORS_ALL, PROP_DATAHOLDERBOUNDS, PROP_DEFAULTLOCATIONS, PROP_DISPLAYLIST_GROUP, PROP_FIXFILELOCKUP, PROP_JNLPCODEBASE, PROP_JNLPTEMPLATE, PROP_JNLPTITLE, PROP_LOADINGXML, PROP_MAP_GLOBE_LEVEL, PROP_MAP_MAP_LEVEL, PROP_MINIMUMFRAMECYCLETIME, PROP_MONITORPORT, PROP_OLDCONTROLDESCRIPTORS, PROP_ONEINSTANCEPORT, PROP_PREFERENCES, PROP_PROJ_NAME, PROP_RESOURCEFILES, PROP_SHOWCLOCK_DASH, PROP_SHOWCLOCK_VIEW, PROP_SHOWDASHBOARD, PROP_SHOWDATATREE, PROP_SHOWFORMULAS, PROP_SHOWSPLASH, PROP_SPLASHICON, PROP_UI_DESKTOP, PROP_USE_DISPLAYAREA, PROP_USE_TIMEDRIVER, PROP_VERSIONFILE, PROP_WINDOW_SCREENSIZEOFFSET, PROP_WINDOW_SIZEHEIGHT, PROP_WINDOW_SIZEWIDTH, PROP_WINDOW_USESCREENSIZE, SUFFIX_BAT, SUFFIX_CPT, SUFFIX_ISL, SUFFIX_JNLP, SUFFIX_RBI, SUFFIX_SH, SUFFIX_XIDV, SUFFIX_XML, SUFFIX_ZIDV| Constructor and Description |
|---|
ImageGenerator(IntegratedDataViewer idv)
Create me with the IDV
|
ImageGenerator(IntegratedDataViewer idv,
java.util.List scriptFiles)
Create me with the IDV and start processing files
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
applyMacros(org.w3c.dom.Element node,
java.lang.String attr)
Find the attribute value of the given node.
|
boolean |
applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
boolean dflt)
If the attribute does not exist return the dflt.
|
java.awt.Color |
applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
java.awt.Color dflt)
If the attribute does not exist return the dflt.
|
double |
applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
double dflt)
If the attribute does not exist return the dflt.
|
int |
applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
int dflt)
If the attribute does not exist return the dflt.
|
java.lang.String |
applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
java.lang.String dflt)
If the attribute does not exist return the dflt.
|
java.lang.String |
applyMacros(java.lang.String s)
Do the macro substitution
|
void |
captureImage(java.lang.String filename)
Capture an image from the first active view managers
|
void |
captureMovie(java.lang.String filename)
Capture a movie from the first view manager
|
void |
captureMovie(java.lang.String filename,
org.w3c.dom.Element scriptingNode)
Capture the movie
|
protected void |
debug(java.lang.String msg)
Print the message if in debug mode
|
java.awt.image.BufferedImage |
doLatLonLabels(org.w3c.dom.Element child,
ViewManager viewManager,
java.awt.image.BufferedImage image,
java.util.Hashtable imageProps)
Process the lat/lon labels tag
|
java.awt.image.BufferedImage |
doMatte(java.awt.image.BufferedImage image,
org.w3c.dom.Element child,
java.awt.Insets insets)
Matte the image
|
java.awt.image.BufferedImage |
doMatte(java.awt.image.BufferedImage image,
org.w3c.dom.Element child,
int dfltSpace)
Matte the image
|
void |
doneCapturingMovie()
Called to notify this object that the movie capture is done
|
protected boolean |
error(java.lang.String msg)
Utility to print a message and return false.
|
protected boolean |
error(java.lang.String msg,
java.lang.Exception exc)
Utility to print a message and return false.
|
boolean |
evaluateIsl(java.lang.String isl)
Evaluate the given isl
|
java.lang.String |
fields(java.lang.String datasource,
java.lang.String pattern)
callable by jython to find the data choices that match the given pattern
|
DisplayControlImpl |
findDisplayControl(java.lang.String id)
Find the display control identified by the given id
|
DisplayControlImpl |
findDisplayControl(java.lang.String id,
java.util.List<DisplayControlImpl> controls)
Find the display control
|
static void |
ftpPut(java.lang.String server,
java.lang.String userName,
java.lang.String password,
java.lang.String destination,
byte[] bytes)
Do an FTP put of the given bytes
|
java.util.Date |
getAnimationTime()
Find the animation time of the first Animation in a view manager we find
|
java.lang.String |
getError() |
java.awt.Image |
getImage()
Get the Image of the current display
|
java.awt.Insets |
getInsets(org.w3c.dom.Element child,
int dflt)
Get the insets
|
java.lang.String |
getLetter(int i)
Get the letter for the index
|
protected java.lang.String[] |
getPropertyValue(org.w3c.dom.Element node)
Get the property value
|
java.util.List<java.lang.String> |
getResults() |
java.lang.String |
getRoman(int i)
Get the roman numeral
|
void |
loadBundle(java.lang.String bundleFile,
java.util.List setFiles)
Load the given bundle file
|
void |
loadBundle(java.lang.String bundleFile,
java.util.List setFiles,
int width,
int height)
Load the given bundle file, list of datasets, width and height
|
void |
loadBundle(java.lang.String bundleFile,
java.util.List setFiles,
int width,
int height,
java.lang.String times,
boolean clear)
Load the given bundle file, list of datasets, width and height
|
protected static java.lang.String |
makeXmlFromString(java.lang.String s)
Create XML from the input String
|
java.awt.image.BufferedImage |
matteImage(java.awt.image.BufferedImage image,
java.lang.String bgString,
int top,
int left,
int bottom,
int right)
Matte the image
|
void |
pause()
Wait until all displays are built
|
protected java.awt.image.BufferedImage |
processImage(java.awt.image.BufferedImage image,
java.lang.String filename,
org.w3c.dom.Element node,
java.util.Hashtable props,
ViewManager viewManager,
java.util.Hashtable imageProps)
Process the image
|
boolean |
processScriptFile(java.lang.String islFile)
Process the isl files
|
boolean |
processScriptFile(java.lang.String islFile,
java.util.Hashtable properties)
Process the script file
|
boolean |
processScriptFile(java.lang.String islFile,
java.util.Hashtable properties,
boolean interactive)
Process the script file
|
void |
processScriptFiles(java.util.List scriptFiles)
Process the list of isl files
|
protected boolean |
processTagAnimation(org.w3c.dom.Element node)
Handle the animation tag.
|
protected boolean |
processTagAppend(org.w3c.dom.Element node)
Handle the append tag
|
protected boolean |
processTagAsk(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagAsktocontinue(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagBeep(org.w3c.dom.Element node)
make a beep
|
protected boolean |
processTagBreak(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagBundle(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagCall(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagCall(org.w3c.dom.Element node,
org.w3c.dom.Element procNode)
process the given node
|
protected boolean |
processTagCenter(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagClear(org.w3c.dom.Element node)
Handle the clear tag
|
protected boolean |
processTagContinue(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagCopy(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagDatasource(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagDelete(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagDisplay(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagDisplayproperties(org.w3c.dom.Element node)
Process tag display properties
|
protected boolean |
processTagEcho(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagExec(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagExists(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagExport(org.w3c.dom.Element node)
Process the export tag.
|
protected boolean |
processTagFileset(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagFor(org.w3c.dom.Element node)
Process the "for" tag
|
protected boolean |
processTagForeach(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagFtp(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagGc(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagGroup(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagHtml(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagIdvproperty(org.w3c.dom.Element node)
Process IDV property tag
|
protected boolean |
processTagIf(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagImage(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagImport(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagIncrement(org.w3c.dom.Element node)
Handle the append tag
|
protected boolean |
processTagIsl(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagJoin(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagJython(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagListdirectory(org.w3c.dom.Element node)
Load a directory to the file chooser
|
protected boolean |
processTagLoadcatalog(org.w3c.dom.Element node)
Load a catalog URL
|
protected boolean |
processTagMkdir(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagMove(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagMovie(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagOutput(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagPanel(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagPause(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagPrintcache(org.w3c.dom.Element node)
Process the print cache tag
|
protected boolean |
processTagProcedure(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagProjection(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagProperty(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagPublish(org.w3c.dom.Element node) |
protected boolean |
processTagReload(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagRemoveall(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagRemovedisplays(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagRename(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagReplace(org.w3c.dom.Element node)
Handle the append tag
|
protected boolean |
processTagReturn(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagSave(org.w3c.dom.Element node) |
protected boolean |
processTagSetfiles(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagStop(org.w3c.dom.Element node)
process the given node
|
protected boolean |
processTagTrace(org.w3c.dom.Element node)
Process the tag trace
|
protected boolean |
processTagView(org.w3c.dom.Element node)
Process the view tag
|
protected boolean |
processTagViewpoint(org.w3c.dom.Element node)
Process the viewpoint tag
|
protected boolean |
processTagWait(org.w3c.dom.Element node)
process the given node
|
void |
putIndex(java.util.Hashtable props,
java.lang.String name,
int v)
Put the index
|
protected java.awt.Image |
resize(java.awt.Image image,
org.w3c.dom.Element node)
Resize the image
|
java.awt.image.BufferedImage |
resizeImage(java.awt.image.BufferedImage image,
java.lang.String widthStr,
java.lang.String heightStr)
Resize the image
|
void |
setDebug(boolean v)
Toggle debug
|
protected void |
updateViewManagers()
Update the view managers
|
void |
writeImage(java.lang.String filename,
java.lang.String params,
float qual)
Get the image of the current display and write to file.
|
void |
writeImageToFile(java.awt.Image image,
java.lang.String file)
Write an Image to the specified file
|
void |
writeMovie(java.lang.String filename,
java.lang.String params)
Capture a movie and write it out.
|
getArgsManager, getCollabManager, getColorTableManager, getDataManager, getIdv, getIdvChooserManager, getIdvClass, getIdvProjectionManager, getIdvUIManager, getImageGenerator, getInstallManager, getJythonManager, getPersistenceManager, getPreferenceManager, getProperty, getProperty, getProperty, getPublishManager, getResourceManager, getStateManager, getStationModelManager, getStore, getVMManager, logException, showNormalCursor, showWaitCursor, waitUntilDisplaysAreDone, waitUntilDisplaysAreDoneactionPerformed, close, doMakeContents, getContents, getDialog, getFrame, getWindow, getWindowTitle, isShowing, removeAll, setMenuBar, setWindowTitle, shouldMakeDialog, show, show, showModal, toFront, windowIsClosingpublic static final java.lang.String VALUE_TOP
public static final java.lang.String VALUE_BOTTOM
public static final java.lang.String VALUE_RIGHT
public static final java.lang.String VALUE_LEFT
public static final java.lang.String VALUE_ALL
public static final java.lang.String VALUE_NONE
public static final java.lang.String VALUE_FIRST
public static final java.lang.String VALUE_LAST
public static final java.lang.String PROP_LOOPINDEX
public static final java.lang.String PROP_LOOPINDEX_PAD2
public static final java.lang.String PROP_LOOPINDEX_PAD3
public static final java.lang.String PROP_LOOPINDEX_PAD4
public static final java.lang.String PROP_VIEWINDEX
public static final java.lang.String PROP_VIEWNAME
public static final java.lang.String PROP_IMAGEINDEX
public static final java.lang.String PROP_IMAGEFILE
public static final java.lang.String PROP_IMAGEPATH
public static final java.lang.String PROP_FILE
public static final java.lang.String PROP_FILENOSUFFIX
public static final java.lang.String PROP_FILETAIL
public static final java.lang.String PROP_FILETAILNOSUFFIX
public static final java.lang.String PROP_FILEPREFIX
public static final java.lang.String PROP_CONTENTS
public static final java.lang.String PROP_ANIMATIONTIME
public static final java.lang.String PROP_OFFSCREEN
public static final java.lang.String TAG_FILESET
public static final java.lang.String TAG_VIEW
public static final java.lang.String TAG_TEMPLATE
public static final java.lang.String TAG_APPEND
public static final java.lang.String TAG_SETFILES
public static final java.lang.String TAG_ISL
public static final java.lang.String TAG_VIEWPOINT
public static final java.lang.String TAG_PROPERTY
public static final java.lang.String TAG_IMPORT
public static final java.lang.String TAG_IMAGE
public static final java.lang.String TAG_GROUP
public static final java.lang.String TAG_PAUSE
public static final java.lang.String TAG_MOVIE
public static final java.lang.String TAG_BUNDLE
public static final java.lang.String TAG_ELSE
public static final java.lang.String TAG_THEN
public static final java.lang.String TAG_COLORBAR
public static final java.lang.String TAG_CLIP
public static final java.lang.String TAG_PUBLISH
public static final java.lang.String TAG_DISPLAY
public static final java.lang.String TAG_DATASOURCE
public static final java.lang.String TAG_MATTE
public static final java.lang.String TAG_SHOW
public static final java.lang.String TAG_DISPLAYLIST
public static final java.lang.String TAG_OUTPUT
public static final java.lang.String TAG_OVERLAY
public static final java.lang.String TAG_KML
public static final java.lang.String TAG_KML_COLORBAR
public static final java.lang.String TAG_KMZFILE
public static final java.lang.String TAG_SPLIT
public static final java.lang.String TAG_RESIZE
public static final java.lang.String TAG_THUMBNAIL
public static final java.lang.String TAG_TRANSPARENT
public static final java.lang.String TAG_PROJECTION
public static final java.lang.String TAG_BGTRANSPARENT
public static final java.lang.String ATTR_INDEX
public static final java.lang.String ATTR_STRIDE
public static final java.lang.String ATTR_STRIDEX
public static final java.lang.String ATTR_STRIDEY
public static final java.lang.String ATTR_STRIDEZ
public static final java.lang.String ATTR_BBOX
public static final java.lang.String ATTR_DRIVERTIME_START
public static final java.lang.String ATTR_DRIVERTIME_END
public static final java.lang.String ATTR_LEVEL_FROM
public static final java.lang.String ATTR_LEVEL_TO
public static final java.lang.String ATTR_AZIMUTH
public static final java.lang.String ATTR_TILT
public static final java.lang.String ATTR_ASPECTX
public static final java.lang.String ATTR_ASPECTY
public static final java.lang.String ATTR_ASPECTZ
public static final java.lang.String ATTR_ROTX
public static final java.lang.String ATTR_ROTY
public static final java.lang.String ATTR_ROTZ
public static final java.lang.String ATTR_SCALE
public static final java.lang.String ATTR_TRANSX
public static final java.lang.String ATTR_TRANSY
public static final java.lang.String ATTR_TRANSZ
public static final java.lang.String ATTR_SUFFIX
public static final java.lang.String ATTR_SHOWUNIT
public static final java.lang.String ATTR_TRANSPARENCY
public static final java.lang.String ATTR_TOP
public static final java.lang.String ATTR_SPACE_LEFT
public static final java.lang.String ATTR_SPACE_RIGHT
public static final java.lang.String ATTR_SPACE_TOP
public static final java.lang.String ATTR_SPACE_BOTTOM
public static final java.lang.String TAG_WRITE
public static final java.lang.String ATTR_ANCHOR
public static final java.lang.String ATTR_FROM
public static final java.lang.String ATTR_TO
public static final java.lang.String ATTR_GLOBAL
public static final java.lang.String ATTR_ONERROR
public static final java.lang.String ATTR_SORT
public static final java.lang.String ATTR_SORTDIR
public static final java.lang.String VALUE_TIME
public static final java.lang.String VALUE_ASCENDING
public static final java.lang.String VALUE_DESCENDING
public static final java.lang.String ATTR_FIRST
public static final java.lang.String ATTR_LAST
public static final java.lang.String ATTR_USEPROJECTION
public static final java.lang.String ATTR_EXPR
public static final java.lang.String ATTR_COPY
public static final java.lang.String ATTR_COUNT
public static final java.lang.String ATTR_COLUMNS
public static final java.lang.String ATTR_DATASOURCE
public static final java.lang.String ATTR_DESTINATION
public static final java.lang.String ATTR_SERVER
public static final java.lang.String ATTR_PASSWORD
public static final java.lang.String ATTR_USER
public static final java.lang.String ATTR_ROWS
public static final java.lang.String ATTR_CLASS
public static final java.lang.String ATTR_ANGLE
public static final java.lang.String ATTR_WHERE
public static final java.lang.String ATTR_BACKGROUND
public static final java.lang.String ATTR_BUNDLE
public static final java.lang.String ATTR_SHOWLINES
public static final java.lang.String ATTR_LINECOLOR
public static final java.lang.String ATTR_COLOR
public static final java.lang.String ATTR_COMMAND
public static final java.lang.String ATTR_FONTFACE
public static final java.lang.String ATTR_FORMAT
public static final java.lang.String TAG_LATLONLABELS
public static final java.lang.String ATTR_LAT_VALUES
public static final java.lang.String ATTR_LAT_LABELS
public static final java.lang.String ATTR_LON_VALUES
public static final java.lang.String ATTR_LON_LABELS
public static final java.lang.String ATTR_DRAWLONLINES
public static final java.lang.String ATTR_DRAWLATLINES
public static final java.lang.String ATTR_DASHES
public static final java.lang.String ATTR_LINEWIDTH
public static final java.lang.String ATTR_LINEOFFSET_RIGHT
public static final java.lang.String ATTR_LINEOFFSET_LEFT
public static final java.lang.String ATTR_LINEOFFSET_TOP
public static final java.lang.String ATTR_LINEOFFSET_BOTTOM
public static final java.lang.String ATTR_LABELBACKGROUND
public static final java.lang.String ATTR_SHOWTOP
public static final java.lang.String ATTR_SHOWBOTTOM
public static final java.lang.String ATTR_SHOWLEFT
public static final java.lang.String ATTR_SHOWRIGHT
public static final java.lang.String ATTR_FONTSIZE
public static final java.lang.String ATTR_FRAMERATE
public static final java.lang.String ATTR_ENDFRAMEPAUSE
public static final java.lang.String ATTR_CAPTION
public static final java.lang.String ATTR_DEBUG
public static final java.lang.String ATTR_DEFAULT
public static final java.lang.String ATTR_DISPLAY
public static final java.lang.String ATTR_OFFSCREEN
public static final java.lang.String ATTR_TIMES
public static final java.lang.String ATTR_ENSEMBLES
public static final java.lang.String ATTR_DIR
public static final java.lang.String ATTR_PATTERN
public static final java.lang.String ATTR_WAIT
public static final java.lang.String ATTR_PROPERTY
public static final java.lang.String ATTR_QUALITY
public static final java.lang.String ATTR_LOOP
public static final java.lang.String ATTR_ENTRY
public static final java.lang.String ATTR_ID
public static final java.lang.String ATTR_IMAGE
public static final java.lang.String ATTR_INTERVAL
public static final java.lang.String ATTR_LEFT
public static final java.lang.String ATTR_MESSAGE
public static final java.lang.String ATTR_MATTEBG
public static final java.lang.String ATTR_NAME
public static final java.lang.String ATTR_RIGHT
public static final java.lang.String ATTR_TICKMARKS
public static final java.lang.String ATTR_SPACE
public static final java.lang.String ATTR_HSPACE
public static final java.lang.String ATTR_VSPACE
public static final java.lang.String ATTR_BOTTOM
public static final java.lang.String ATTR_VALIGN
public static final java.lang.String ATTR_TEXT
public static final java.lang.String ATTR_TEMPLATE
public static final java.lang.String ATTR_TYPE
public static final java.lang.String ATTR_EVERY
public static final java.lang.String ATTR_VALUE
public static final java.lang.String ATTR_VALUES
public static final java.lang.String ATTR_ORIENTATION
public static final java.lang.String ATTR_PARAM
public static final java.lang.String ATTR_PLACE
public static final java.lang.String ATTR_VIEW
public static final java.lang.String ATTR_VIEWDIR
public static final java.lang.String ATTR_URL
public static final java.lang.String ATTR_FILE
public static final java.lang.String ATTR_FROMFILE
public static final java.lang.String ATTR_NORTH
public static final java.lang.String ATTR_SOUTH
public static final java.lang.String ATTR_EAST
public static final java.lang.String ATTR_WEST
public static final java.lang.String ATTR_WIDTH
public static final java.lang.String ATTR_HEIGHT
public static final java.lang.String ATTR_SLEEP
public static final java.lang.String ATTR_SECONDS
public static final java.lang.String ATTR_MINUTES
public static final java.lang.String ATTR_HOURS
public static final java.lang.String ATTR_CLEAR
public static final java.lang.String ATTR_WINDOW
public static final java.lang.String ATTR_CODE
public static final java.lang.String ATTR_LAT
public static final java.lang.String ATTR_LON
public static final java.lang.String ATTR_WHAT
public static final java.lang.String ATTR_COMBINE
public static final java.lang.String ATTR_ANIMATION_INDEX
public ImageGenerator(IntegratedDataViewer idv)
idv - The IDVpublic ImageGenerator(IntegratedDataViewer idv, java.util.List scriptFiles)
idv - The IDVscriptFiles - List of isl filespublic void processScriptFiles(java.util.List scriptFiles)
scriptFiles - isl filespublic boolean processScriptFile(java.lang.String islFile)
islFile - filepublic boolean processScriptFile(java.lang.String islFile,
java.util.Hashtable properties)
islFile - the ISL fileproperties - optional propertiespublic boolean processScriptFile(java.lang.String islFile,
java.util.Hashtable properties,
boolean interactive)
islFile - the ISL fileproperties - optional propertiesinteractive - Is this call interactive. If not interactive then we don't pop up the error dialogpublic java.util.List<java.lang.String> getResults()
public java.lang.String getError()
protected boolean processTagFor(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the tag nodejava.lang.Throwable - an errorprotected boolean processTagFtp(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagExport(org.w3c.dom.Element node)
throws java.lang.Throwable
node - isl xml nodejava.lang.Throwable - On badnessprotected boolean processTagSave(org.w3c.dom.Element node)
throws java.lang.Throwable
java.lang.Throwableprotected boolean processTagPublish(org.w3c.dom.Element node)
throws java.lang.Throwable
java.lang.Throwableprotected boolean processTagTrace(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the nodejava.lang.Throwable - on badnessprotected boolean processTagRemovedisplays(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagPrintcache(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the XML nodejava.lang.Throwable - on badnessprotected boolean processTagRemoveall(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagSetfiles(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagExists(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagBeep(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the isl xml nodejava.lang.Throwableprotected boolean processTagAsk(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagEcho(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagAsktocontinue(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagGc(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagBreak(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagContinue(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagReturn(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagProcedure(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagMkdir(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagStop(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected java.lang.String[] getPropertyValue(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the XML nodejava.lang.Throwable - on badnessprotected boolean processTagIdvproperty(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the XML nodejava.lang.Throwable - on badnessprotected boolean processTagProperty(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagMove(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagRename(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagDelete(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagClear(org.w3c.dom.Element node)
throws java.lang.Throwable
node - nodejava.lang.Throwable - On badnessprotected boolean processTagAppend(org.w3c.dom.Element node)
throws java.lang.Throwable
node - nodejava.lang.Throwable - On badnessprotected boolean processTagIncrement(org.w3c.dom.Element node)
throws java.lang.Throwable
node - nodejava.lang.Throwable - On badnessprotected boolean processTagReplace(org.w3c.dom.Element node)
throws java.lang.Throwable
node - nodejava.lang.Throwable - On badnessprotected boolean processTagCopy(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagReload(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagExec(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagJython(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagFileset(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagImport(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagLoadcatalog(org.w3c.dom.Element node)
throws java.lang.Throwable
node - The ISL nodejava.lang.Throwableprotected boolean processTagListdirectory(org.w3c.dom.Element node)
throws java.lang.Throwable
node - The ISL nodejava.lang.Throwableprotected boolean processTagDatasource(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagJoin(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagView(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the elementjava.lang.Throwable - problemsprotected boolean processTagAnimation(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the nodejava.lang.Throwable - problemsprotected boolean processTagViewpoint(org.w3c.dom.Element node)
throws java.lang.Throwable
node - the nodejava.lang.Throwable - problemsprotected boolean processTagCenter(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagProjection(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnesspublic DisplayControlImpl findDisplayControl(java.lang.String id)
id - The id of the display control. This can be the id or it can be a 'class:class name'public DisplayControlImpl findDisplayControl(java.lang.String id, java.util.List<DisplayControlImpl> controls)
id - the control idcontrols - the list of controlsprotected boolean processTagBundle(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagCall(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagCall(org.w3c.dom.Element node,
org.w3c.dom.Element procNode)
throws java.lang.Throwable
node - Node to processprocNode - The procedure nodejava.lang.Throwable - On badnessprotected boolean processTagIf(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagOutput(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagIsl(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagGroup(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagForeach(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagMovie(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagHtml(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagPanel(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnesspublic void writeMovie(java.lang.String filename,
java.lang.String params)
throws java.lang.Exception
filename - Movie filenameparams - xml parameters of the the form: "task arg=val arg2=val; task2 arg3=val"java.lang.Exception - On badnessprotected boolean processTagImage(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagWait(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected boolean processTagPause(org.w3c.dom.Element node)
throws java.lang.Throwable
node - Node to processjava.lang.Throwable - On badnessprotected void updateViewManagers()
protected boolean processTagDisplayproperties(org.w3c.dom.Element node)
node - the nodeprotected boolean processTagDisplay(org.w3c.dom.Element node)
node - Node to processprotected boolean error(java.lang.String msg)
msg - messageprotected boolean error(java.lang.String msg,
java.lang.Exception exc)
msg - messageexc - exceptionpublic java.lang.String applyMacros(org.w3c.dom.Element node,
java.lang.String attr)
node - Node to processattr - Attribute namepublic java.lang.String applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
java.lang.String dflt)
node - Node to processattr - Attribute namedflt - The default value to use if the attribute does not existpublic int applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
int dflt)
node - Node to processattr - Attribute namedflt - The default value to use if the attribute does not existpublic boolean applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
boolean dflt)
node - Node to processattr - Attribute namedflt - The default value to use if the attribute does not existpublic java.awt.Color applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
java.awt.Color dflt)
node - Node to processattr - Attribute namedflt - The default value to use if the attribute does not existpublic double applyMacros(org.w3c.dom.Element node,
java.lang.String attr,
double dflt)
node - Node to processattr - Attribute namedflt - The default value to use if the attribute does not existpublic java.lang.String applyMacros(java.lang.String s)
s - The stringpublic void captureImage(java.lang.String filename)
filename - The image filenamepublic void putIndex(java.util.Hashtable props,
java.lang.String name,
int v)
props - the propertiesname - the namev - the indexpublic void pause()
public void setDebug(boolean v)
v - debugpublic boolean evaluateIsl(java.lang.String isl)
throws java.lang.Throwable
isl - The isljava.lang.Throwable - On badnesspublic void loadBundle(java.lang.String bundleFile,
java.util.List setFiles)
throws java.lang.Throwable
bundleFile - The bundlesetFiles - This is a list, which may be null, of datasource patterns and file names to changejava.lang.Throwable - On badnesspublic void loadBundle(java.lang.String bundleFile,
java.util.List setFiles,
int width,
int height)
throws java.lang.Throwable
bundleFile - The bundlesetFiles - This is a list, which may be null, of datasource patterns and file names to changewidth - The width of the display area to useheight - The height of the display are to usejava.lang.Throwable - an exceptionpublic void loadBundle(java.lang.String bundleFile,
java.util.List setFiles,
int width,
int height,
java.lang.String times,
boolean clear)
throws java.lang.Throwable
bundleFile - The bundlesetFiles - This is a list, which may be null, of datasource patterns and file names to changewidth - The width of the display area to useheight - The height of the display are to usetimes - A string of times to use from the bundle fileclear - If false then do not clear out the data sources and displays (which is otherwise the default)java.lang.Throwable - an exceptionpublic void writeImageToFile(java.awt.Image image,
java.lang.String file)
throws java.lang.Exception
image - Image to be writtenfile - Name of output file (may use macros)java.lang.Exception - On badnessprotected static java.lang.String makeXmlFromString(java.lang.String s)
s - in the form: "task arg=val arg2=val; task2 arg3=val"public void writeImage(java.lang.String filename,
java.lang.String params,
float qual)
throws java.lang.Exception,
java.lang.Throwable
filename - Output filename (may be modified by macros)params - String of parametersqual - Quality (def=1.0)java.lang.Exception - On badnessjava.lang.Throwable - On badnesspublic java.awt.Image getImage()
throws java.lang.Exception
java.lang.Exception - On badnessprotected java.awt.Image resize(java.awt.Image image,
org.w3c.dom.Element node)
image - The imagenode - Node to process. This may contain a width or a height attribute.public java.awt.image.BufferedImage resizeImage(java.awt.image.BufferedImage image,
java.lang.String widthStr,
java.lang.String heightStr)
image - The imagewidthStr - width of desired image (pixels)heightStr - height of desired image (pixels)public java.awt.image.BufferedImage matteImage(java.awt.image.BufferedImage image,
java.lang.String bgString,
int top,
int left,
int bottom,
int right)
image - The imagebgString - color for the matte ("red", "green", etc)top - number of lines for the top (north) matteleft - number of pixels for the left (west) mattebottom - number of lines for the bottom (south) matteright - number of pixels for the right (east) matteprotected java.awt.image.BufferedImage processImage(java.awt.image.BufferedImage image,
java.lang.String filename,
org.w3c.dom.Element node,
java.util.Hashtable props,
ViewManager viewManager,
java.util.Hashtable imageProps)
throws java.lang.Throwable
image - The imagefilename - File to write the image tonode - Node to processprops - Extra propertiesviewManager - The viewmanager this image came fromimageProps - the image propertiesjava.lang.Throwable - On badnesspublic java.awt.Insets getInsets(org.w3c.dom.Element child,
int dflt)
child - the elementdflt - the default valuepublic java.awt.image.BufferedImage doLatLonLabels(org.w3c.dom.Element child,
ViewManager viewManager,
java.awt.image.BufferedImage image,
java.util.Hashtable imageProps)
throws java.lang.Exception
child - the XMLviewManager - the associated view managerimage - the image to draw onimageProps - the image propertiesjava.lang.Exception - on badnesspublic java.awt.image.BufferedImage doMatte(java.awt.image.BufferedImage image,
org.w3c.dom.Element child,
int dfltSpace)
image - the imagechild - the XML defining the mattingdfltSpace - default spacingpublic java.awt.image.BufferedImage doMatte(java.awt.image.BufferedImage image,
org.w3c.dom.Element child,
java.awt.Insets insets)
image - the imagechild - the matte specsinsets - the insetspublic void doneCapturingMovie()
public void captureMovie(java.lang.String filename)
filename - The movie filenamepublic void captureMovie(java.lang.String filename,
org.w3c.dom.Element scriptingNode)
filename - The filescriptingNode - Node form isl.public java.util.Date getAnimationTime()
public java.lang.String fields(java.lang.String datasource,
java.lang.String pattern)
datasource - data sourcepattern - pattern to matchprotected void debug(java.lang.String msg)
msg - The messagepublic static void ftpPut(java.lang.String server,
java.lang.String userName,
java.lang.String password,
java.lang.String destination,
byte[] bytes)
throws java.lang.Exception
server - serveruserName - user name on serverpassword - password on serverdestination - Where to put the bytesbytes - The bytesjava.lang.Exception - On badnesspublic java.lang.String getLetter(int i)
i - the indexpublic java.lang.String getRoman(int i)
i - the index