ucar.unidata.idv.ui
Class ImageGenerator

java.lang.Object
  extended by ucar.unidata.ui.WindowHolder
      extended by ucar.unidata.idv.IdvManager
          extended by ucar.unidata.idv.ui.ImageGenerator
All Implemented Interfaces:
ActionListener, EventListener, IdvConstants

public class ImageGenerator
extends IdvManager

Manages the user interface for the IDV

Author:
IDV development team

Nested Class Summary
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.
 
Field Summary
static String ATTR_ANCHOR
          isl tag
static String ATTR_ANGLE
          isl tag
static String ATTR_ASPECTX
          x aspect attribute
static String ATTR_ASPECTY
          y aspect attribute
static String ATTR_ASPECTZ
          z aspect attribute
static String ATTR_AZIMUTH
          azimuth attribute
static String ATTR_BACKGROUND
          isl tag
static String ATTR_BBOX
          bounding box attribute
static String ATTR_BOTTOM
          isl tag
static String ATTR_BUNDLE
          isl attribute
static String ATTR_CAPTION
          isl tag
static String ATTR_CLASS
          isl tag
static String ATTR_CLEAR
          isl tag
static String ATTR_CODE
          isl tag
static String ATTR_COLOR
          isl tag
static String ATTR_COLUMNS
          isl tag
static String ATTR_COMMAND
          isl tag
static String ATTR_COPY
          isl tag
static String ATTR_COUNT
          the count tag
static String ATTR_DASHES
          dashes tag
static String ATTR_DATASOURCE
          isl attribute
static String ATTR_DEBUG
          isl tag
static String ATTR_DEFAULT
          isl tag
static String ATTR_DESTINATION
          isl attribute
static String ATTR_DIR
          isl tag
static String ATTR_DISPLAY
          isl tag
static String ATTR_DRAWLATLINES
          the draw lat lines tag
static String ATTR_DRAWLONLINES
          the draw lon lines tag
static String ATTR_EAST
          isl tag
static String ATTR_ENDFRAMEPAUSE
          isl tag for ending frame pause for animated gifs
static String ATTR_ENSEMBLES
          isl tag
static String ATTR_ENTRY
          isl tag
static String ATTR_EVERY
          isl tag
static String ATTR_EXPR
          isl tag
static String ATTR_FILE
          isl tag
static String ATTR_FIRST
          isl attribute
static String ATTR_FONTFACE
          isl tag
static String ATTR_FONTSIZE
          isl tag
static String ATTR_FORMAT
          isl attr
static String ATTR_FRAMERATE
          isl tag
static String ATTR_FROM
          isl attr
static String ATTR_FROMFILE
          isl tag
static String ATTR_GLOBAL
          isl attribute
static String ATTR_HEIGHT
          isl tag
static String ATTR_HOURS
          isl tag
static String ATTR_HSPACE
          isl tag
static String ATTR_ID
          isl tag
static String ATTR_IMAGE
          isl tag
static String ATTR_INDEX
          index attribute
static String ATTR_INTERVAL
          isl tag
static String ATTR_LABELBACKGROUND
          _more_
static String ATTR_LAST
          isl attribute
static String ATTR_LAT
          isl tag
static String ATTR_LAT_LABELS
          that latlabels tag
static String ATTR_LAT_VALUES
          that latvalues tag
static String ATTR_LEFT
          isl tag
static String ATTR_LEVEL_FROM
          from level attribute
static String ATTR_LEVEL_TO
          to level attribute
static String ATTR_LINECOLOR
          isl tag
static String ATTR_LINEOFFSET_BOTTOM
          _more_
static String ATTR_LINEOFFSET_LEFT
          _more_
static String ATTR_LINEOFFSET_RIGHT
          _more_
static String ATTR_LINEOFFSET_TOP
          _more_
static String ATTR_LINEWIDTH
          linewidth tag
static String ATTR_LON
          isl tag
static String ATTR_LON_LABELS
          that lonlabels tag
static String ATTR_LON_VALUES
          that lonvalues tag
static String ATTR_LOOP
          isl tag
static String ATTR_MATTEBG
          _more_
static String ATTR_MESSAGE
          isl tag
static String ATTR_MINUTES
          isl tag
static String ATTR_NAME
          isl tag
static String ATTR_NORTH
          isl tag
static String ATTR_OFFSCREEN
          isl tag
static String ATTR_ONERROR
          isl attribute
static String ATTR_ORIENTATION
          isl tag
static String ATTR_PARAM
          isl tag
static String ATTR_PASSWORD
          isl attribute
static String ATTR_PATTERN
          isl tag
static String ATTR_PLACE
          isl tag
static String ATTR_PROPERTY
          isl tag
static String ATTR_QUALITY
          isl tag
static String ATTR_RIGHT
          isl tag
static String ATTR_ROTX
          x rotation attribute
static String ATTR_ROTY
          y rotation attribute
static String ATTR_ROTZ
          z rotation attribute
static String ATTR_ROWS
          isl tag
static String ATTR_SCALE
          scale attribute
static String ATTR_SECONDS
          isl tag
static String ATTR_SERVER
          isl attribute
static String ATTR_SHOWBOTTOM
          _more_
static String ATTR_SHOWLEFT
          _more_
static String ATTR_SHOWLINES
          isl tag
static String ATTR_SHOWRIGHT
          _more_
static String ATTR_SHOWTOP
          _more_
static String ATTR_SHOWUNIT
          showunit atttribute
static String ATTR_SLEEP
          isl tag
static String ATTR_SORT
          isl attribute
static String ATTR_SORTDIR
          isl attribute
static String ATTR_SOUTH
          isl tag
static String ATTR_SPACE
          isl tag
static String ATTR_SPACE_BOTTOM
          bottom space attribute
static String ATTR_SPACE_LEFT
          left space attribute
static String ATTR_SPACE_RIGHT
          right space attribute
static String ATTR_SPACE_TOP
          top space attribute
static String ATTR_STRIDE
          stride attribute
static String ATTR_STRIDEX
          x stride attribute
static String ATTR_STRIDEY
          y stride attribute
static String ATTR_STRIDEZ
          z stride attribute
static String ATTR_SUFFIX
          suffix attribute
static String ATTR_TEMPLATE
          isl tag
static String ATTR_TEXT
          isl tag
static String ATTR_TICKMARKS
          isl tag
static String ATTR_TILT
          tilt attribute
static String ATTR_TIMES
          isl tag
static String ATTR_TO
          isl attr
static String ATTR_TOP
          top attribute
static String ATTR_TRANSPARENCY
          transparency attribute
static String ATTR_TRANSX
          x translation attribute
static String ATTR_TRANSY
          y translation attribute
static String ATTR_TRANSZ
          z translation attribute
static String ATTR_TYPE
          isl tag
static String ATTR_URL
          isl tag
static String ATTR_USEPROJECTION
          isl tag
static String ATTR_USER
          isl attribute
static String ATTR_VALIGN
          the valign attribute
static String ATTR_VALUE
          isl tag
static String ATTR_VALUES
          isl tag
static String ATTR_VIEW
          isl tag
static String ATTR_VIEWDIR
          the view dir attribute
static String ATTR_VSPACE
          isl tag
static String ATTR_WAIT
          isl attribute
static String ATTR_WEST
          isl tag
static String ATTR_WHAT
          isl attribute
static String ATTR_WHERE
          isl tag
static String ATTR_WIDTH
          isl tag
static String PROP_ANIMATIONTIME
          macro property
static String PROP_CONTENTS
          macro property
static String PROP_FILE
          file property
static String PROP_FILENOSUFFIX
          filenosuffix property
static String PROP_FILEPREFIX
          fileprefix property
static String PROP_FILETAIL
          filetail property
static String PROP_FILETAILNOSUFFIX
          filetailnosuffix property
static String PROP_IMAGEFILE
          macro property
static String PROP_IMAGEINDEX
          macro property
static String PROP_IMAGEPATH
          macro property
static String PROP_LOOPINDEX
          macro property
static String PROP_LOOPINDEX_PAD2
          padded loop index
static String PROP_LOOPINDEX_PAD3
          padded loop index
static String PROP_LOOPINDEX_PAD4
          padded loop index
static String PROP_OFFSCREEN
          macro property
static String PROP_VIEWINDEX
          macro property
static String PROP_VIEWNAME
          macro property
static String TAG_APPEND
          isl tag
static String TAG_BGTRANSPARENT
          background transparent tag
static String TAG_BUNDLE
          isl tag
static String TAG_CLIP
          isl tag
static String TAG_COLORBAR
          isl tag
static String TAG_DATASOURCE
          datasource tag
static String TAG_DISPLAY
          isl tag
static String TAG_DISPLAYLIST
          displaylist tag
static String TAG_ELSE
          isl tag
static String TAG_FILESET
          isl tag
static String TAG_GROUP
          isl tag
static String TAG_IMAGE
          isl tag
static String TAG_IMPORT
          isl tag
static String TAG_ISL
          isl tag
static String TAG_KML
          isl tag
static String TAG_KML_COLORBAR
          kml colorbar tag
static String TAG_KMZFILE
          isl tag
static String TAG_LATLONLABELS
          that latlonlabels tag
static String TAG_MATTE
          isl tag
static String TAG_MOVIE
          isl tag
static String TAG_OUTPUT
          isl tag
static String TAG_OVERLAY
          isl tag
static String TAG_PAUSE
          isl tag
static String TAG_PROPERTY
          isl tag
static String TAG_PUBLISH
          publish tag
static String TAG_RESIZE
          isl tag
static String TAG_SETFILES
          isl tag
static String TAG_SHOW
          show tag
static String TAG_SPLIT
          isl tag
static String TAG_TEMPLATE
          isl tag
static String TAG_THEN
          isl tag
static String TAG_THUMBNAIL
          isl tag
static String TAG_TRANSPARENT
          isl tag
static String TAG_VIEW
          view tag
static String TAG_VIEWPOINT
          viewpoint tag
static String TAG_WRITE
          isl tag
static String VALUE_ALL
          attr value
static String VALUE_ASCENDING
          isl attribute
static String VALUE_BOTTOM
          attr value
static String VALUE_DESCENDING
          isl attribute
static String VALUE_FIRST
          attr value
static String VALUE_LAST
          attr value
static String VALUE_LEFT
          attr value
static String VALUE_NONE
          attr value
static String VALUE_RIGHT
          attr value
static String VALUE_TIME
          isl attribute
static String VALUE_TOP
          attr value
 
Fields inherited from class ucar.unidata.ui.WindowHolder
contents, dialog, frame, window
 
Fields inherited from interface ucar.unidata.idv.IdvConstants
ARG_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_MAX_PERMGENSIZE, 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_VERSION, ID_VIEWMANAGERS, ID_WINDOWS, INITIAL_PROBE_EARTHLOCATION, NULL_DATA_SELECTION, NULL_STRING, 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_LASTVERSION, PREF_LATLON_FORMAT, PREF_LEGEND_SHOWICONS, PREF_LOCALE, PREF_LOOKANDFEEL, PREF_MAX_PERMGENSIZE, 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, PROP_SHOWDASHBOARD, PROP_SHOWDATATREE, PROP_SHOWFORMULAS, PROP_SHOWSPLASH, PROP_SPLASHICON, PROP_UI_DESKTOP, 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 Summary
ImageGenerator(IntegratedDataViewer idv)
          Create me with the IDV
ImageGenerator(IntegratedDataViewer idv, List scriptFiles)
          Create me with the IDV and start processing files
 
Method Summary
 String applyMacros(Element node, String attr)
          Find the attribute value of the given node.
 boolean applyMacros(Element node, String attr, boolean dflt)
          If the attribute does not exist return the dflt.
 Color applyMacros(Element node, String attr, Color dflt)
          If the attribute does not exist return the dflt.
 double applyMacros(Element node, String attr, double dflt)
          If the attribute does not exist return the dflt.
 int applyMacros(Element node, String attr, int dflt)
          If the attribute does not exist return the dflt.
 String applyMacros(Element node, String attr, String dflt)
          If the attribute does not exist return the dflt.
 String applyMacros(String s)
          Do the macro substitution
 void captureImage(String filename)
          Capture an image from the first active view managers
 void captureMovie(String filename)
          Capture a movie from the first view manager
 void captureMovie(String filename, Element scriptingNode)
          Capture the movie
protected  void debug(String msg)
          Print the message if in debug mode
 BufferedImage doLatLonLabels(Element child, ViewManager viewManager, BufferedImage image, Hashtable imageProps)
          Process the lat/lon labels tag
 BufferedImage doMatte(BufferedImage image, Element child, Insets insets)
          Matte the image
 BufferedImage doMatte(BufferedImage image, Element child, int dfltSpace)
          Matte the image
 void doneCapturingMovie()
          Called to notify this object that the movie capture is done
protected  boolean error(String msg)
          Utility to print a message and return false.
protected  boolean error(String msg, Exception exc)
          Utility to print a message and return false.
 boolean evaluateIsl(String isl)
          Evaluate the given isl
 String fields(String datasource, String pattern)
          callable by jython to find the data choices that match the given pattern
 DisplayControlImpl findDisplayControl(String id)
          Find the display control identified by the given id
 DisplayControlImpl findDisplayControl(String id, List<DisplayControlImpl> controls)
          Find the display control
static void ftpPut(String server, String userName, String password, String destination, byte[] bytes)
          Do an FTP put of the given bytes
 Date getAnimationTime()
          Find the animation time of the first Animation in a view manager we find
 Image getImage()
          Get the Image of the current display
 Insets getInsets(Element child, int dflt)
          Get the insets
 String getLetter(int i)
          Get the letter for the index
protected  String[] getPropertyValue(Element node)
          Get the property value
 String getRoman(int i)
          Get the roman numeral
 void loadBundle(String bundleFile, List setFiles)
          Load the given bundle file
 void loadBundle(String bundleFile, List setFiles, int width, int height)
          Load the given bundle file, list of datasets, width and height
 void loadBundle(String bundleFile, List setFiles, int width, int height, String times, boolean clear)
          Load the given bundle file, list of datasets, width and height
protected static String makeXmlFromString(String s)
          Create XML from the input String
 BufferedImage matteImage(BufferedImage image, String bgString, int top, int left, int bottom, int right)
          Matte the image
 void pause()
          Wait until all displays are built
protected  BufferedImage processImage(BufferedImage image, String filename, Element node, Hashtable props, ViewManager viewManager, Hashtable imageProps)
          Process the image
 boolean processScriptFile(String islFile)
          Process the isl files
 boolean processScriptFile(String islFile, Hashtable properties)
          Process the script file
 void processScriptFiles(List scriptFiles)
          Process the list of isl files
protected  boolean processTagAnimation(Element node)
          Handle the animation tag.
protected  boolean processTagAppend(Element node)
          Handle the append tag
protected  boolean processTagAsk(Element node)
          process the given node
protected  boolean processTagAsktocontinue(Element node)
          process the given node
protected  boolean processTagBreak(Element node)
          process the given node
protected  boolean processTagBundle(Element node)
          process the given node
protected  boolean processTagCall(Element node)
          process the given node
protected  boolean processTagCall(Element node, Element procNode)
          process the given node
protected  boolean processTagCenter(Element node)
          process the given node
protected  boolean processTagClear(Element node)
          Handle the clear tag
protected  boolean processTagContinue(Element node)
          process the given node
protected  boolean processTagCopy(Element node)
          process the given node
protected  boolean processTagDatasource(Element node)
          process the given node
protected  boolean processTagDelete(Element node)
          process the given node
protected  boolean processTagDisplay(Element node)
          process the given node
protected  boolean processTagDisplayproperties(Element node)
          Process tag display properties
protected  boolean processTagEcho(Element node)
          process the given node
protected  boolean processTagExec(Element node)
          process the given node
protected  boolean processTagExists(Element node)
          process the given node
protected  boolean processTagExport(Element node)
          Process the export tag.
protected  boolean processTagFileset(Element node)
          process the given node
protected  boolean processTagForeach(Element node)
          process the given node
protected  boolean processTagFtp(Element node)
          process the given node
protected  boolean processTagGc(Element node)
          process the given node
protected  boolean processTagGroup(Element node)
          process the given node
protected  boolean processTagHtml(Element node)
          process the given node
protected  boolean processTagIdvproperty(Element node)
          Process IDV property tag
protected  boolean processTagIf(Element node)
          process the given node
protected  boolean processTagImage(Element node)
          process the given node
protected  boolean processTagImport(Element node)
          process the given node
protected  boolean processTagIncrement(Element node)
          Handle the append tag
protected  boolean processTagIsl(Element node)
          process the given node
protected  boolean processTagJoin(Element node)
          process the given node
protected  boolean processTagJython(Element node)
          process the given node
protected  boolean processTagMkdir(Element node)
          process the given node
protected  boolean processTagMove(Element node)
          process the given node
protected  boolean processTagMovie(Element node)
          process the given node
protected  boolean processTagOutput(Element node)
          process the given node
protected  boolean processTagPanel(Element node)
          process the given node
protected  boolean processTagPause(Element node)
          process the given node
protected  boolean processTagPrintcache(Element node)
          Process the print cache tag
protected  boolean processTagProcedure(Element node)
          process the given node
protected  boolean processTagProperty(Element node)
          process the given node
protected  boolean processTagReload(Element node)
          process the given node
protected  boolean processTagRemoveall(Element node)
          process the given node
protected  boolean processTagRemovedisplays(Element node)
          process the given node
protected  boolean processTagRename(Element node)
          process the given node
protected  boolean processTagReplace(Element node)
          Handle the append tag
protected  boolean processTagReturn(Element node)
          process the given node
protected  boolean processTagSetfiles(Element node)
          process the given node
protected  boolean processTagStop(Element node)
          process the given node
protected  boolean processTagTrace(Element node)
          Process the tag trace
protected  boolean processTagView(Element node)
          Process the view tag
protected  boolean processTagViewpoint(Element node)
          Process the viewpoint tag
protected  boolean processTagWait(Element node)
          process the given node
 void putIndex(Hashtable props, String name, int v)
          Put the index
protected  Image resize(Image image, Element node)
          Resize the image
 BufferedImage resizeImage(BufferedImage image, String widthStr, String heightStr)
          Resize the image
 void setDebug(boolean v)
          Toggle debug
protected  void updateViewManagers()
          Update the view managers
 void writeImage(String filename, String params, float qual)
          Get the image of the current display and write to file.
 void writeImageToFile(Image image, String file)
          Write an Image to the specified file
 void writeMovie(String filename, String params)
          Capture a movie and write it out.
 
Methods inherited from class ucar.unidata.idv.IdvManager
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, waitUntilDisplaysAreDone
 
Methods inherited from class ucar.unidata.ui.WindowHolder
actionPerformed, close, doMakeContents, getContents, getDialog, getFrame, getWindow, getWindowTitle, isShowing, removeAll, setMenuBar, setWindowTitle, shouldMakeDialog, show, show, showModal, toFront, windowIsClosing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_TOP

public static final String VALUE_TOP
attr value

See Also:
Constant Field Values

VALUE_BOTTOM

public static final String VALUE_BOTTOM
attr value

See Also:
Constant Field Values

VALUE_RIGHT

public static final String VALUE_RIGHT
attr value

See Also:
Constant Field Values

VALUE_LEFT

public static final String VALUE_LEFT
attr value

See Also:
Constant Field Values

VALUE_ALL

public static final String VALUE_ALL
attr value

See Also:
Constant Field Values

VALUE_NONE

public static final String VALUE_NONE
attr value

See Also:
Constant Field Values

VALUE_FIRST

public static final String VALUE_FIRST
attr value

See Also:
Constant Field Values

VALUE_LAST

public static final String VALUE_LAST
attr value

See Also:
Constant Field Values

PROP_LOOPINDEX

public static final String PROP_LOOPINDEX
macro property

See Also:
Constant Field Values

PROP_LOOPINDEX_PAD2

public static final String PROP_LOOPINDEX_PAD2
padded loop index

See Also:
Constant Field Values

PROP_LOOPINDEX_PAD3

public static final String PROP_LOOPINDEX_PAD3
padded loop index

See Also:
Constant Field Values

PROP_LOOPINDEX_PAD4

public static final String PROP_LOOPINDEX_PAD4
padded loop index

See Also:
Constant Field Values

PROP_VIEWINDEX

public static final String PROP_VIEWINDEX
macro property

See Also:
Constant Field Values

PROP_VIEWNAME

public static final String PROP_VIEWNAME
macro property

See Also:
Constant Field Values

PROP_IMAGEINDEX

public static final String PROP_IMAGEINDEX
macro property

See Also:
Constant Field Values

PROP_IMAGEFILE

public static final String PROP_IMAGEFILE
macro property

See Also:
Constant Field Values

PROP_IMAGEPATH

public static final String PROP_IMAGEPATH
macro property

See Also:
Constant Field Values

PROP_FILE

public static final String PROP_FILE
file property

See Also:
Constant Field Values

PROP_FILENOSUFFIX

public static final String PROP_FILENOSUFFIX
filenosuffix property

See Also:
Constant Field Values

PROP_FILETAIL

public static final String PROP_FILETAIL
filetail property

See Also:
Constant Field Values

PROP_FILETAILNOSUFFIX

public static final String PROP_FILETAILNOSUFFIX
filetailnosuffix property

See Also:
Constant Field Values

PROP_FILEPREFIX

public static final String PROP_FILEPREFIX
fileprefix property

See Also:
Constant Field Values

PROP_CONTENTS

public static final String PROP_CONTENTS
macro property

See Also:
Constant Field Values

PROP_ANIMATIONTIME

public static final String PROP_ANIMATIONTIME
macro property

See Also:
Constant Field Values

PROP_OFFSCREEN

public static final String PROP_OFFSCREEN
macro property

See Also:
Constant Field Values

TAG_FILESET

public static final String TAG_FILESET
isl tag

See Also:
Constant Field Values

TAG_VIEW

public static final String TAG_VIEW
view tag

See Also:
Constant Field Values

TAG_TEMPLATE

public static final String TAG_TEMPLATE
isl tag

See Also:
Constant Field Values

TAG_APPEND

public static final String TAG_APPEND
isl tag

See Also:
Constant Field Values

TAG_SETFILES

public static final String TAG_SETFILES
isl tag

See Also:
Constant Field Values

TAG_ISL

public static final String TAG_ISL
isl tag

See Also:
Constant Field Values

TAG_VIEWPOINT

public static final String TAG_VIEWPOINT
viewpoint tag

See Also:
Constant Field Values

TAG_PROPERTY

public static final String TAG_PROPERTY
isl tag

See Also:
Constant Field Values

TAG_IMPORT

public static final String TAG_IMPORT
isl tag

See Also:
Constant Field Values

TAG_IMAGE

public static final String TAG_IMAGE
isl tag

See Also:
Constant Field Values

TAG_GROUP

public static final String TAG_GROUP
isl tag

See Also:
Constant Field Values

TAG_PAUSE

public static final String TAG_PAUSE
isl tag

See Also:
Constant Field Values

TAG_MOVIE

public static final String TAG_MOVIE
isl tag

See Also:
Constant Field Values

TAG_BUNDLE

public static final String TAG_BUNDLE
isl tag

See Also:
Constant Field Values

TAG_ELSE

public static final String TAG_ELSE
isl tag

See Also:
Constant Field Values

TAG_THEN

public static final String TAG_THEN
isl tag

See Also:
Constant Field Values

TAG_COLORBAR

public static final String TAG_COLORBAR
isl tag

See Also:
Constant Field Values

TAG_CLIP

public static final String TAG_CLIP
isl tag

See Also:
Constant Field Values

TAG_PUBLISH

public static final String TAG_PUBLISH
publish tag

See Also:
Constant Field Values

TAG_DISPLAY

public static final String TAG_DISPLAY
isl tag

See Also:
Constant Field Values

TAG_DATASOURCE

public static final String TAG_DATASOURCE
datasource tag

See Also:
Constant Field Values

TAG_MATTE

public static final String TAG_MATTE
isl tag

See Also:
Constant Field Values

TAG_SHOW

public static final String TAG_SHOW
show tag

See Also:
Constant Field Values

TAG_DISPLAYLIST

public static final String TAG_DISPLAYLIST
displaylist tag

See Also:
Constant Field Values

TAG_OUTPUT

public static final String TAG_OUTPUT
isl tag

See Also:
Constant Field Values

TAG_OVERLAY

public static final String TAG_OVERLAY
isl tag

See Also:
Constant Field Values

TAG_KML

public static final String TAG_KML
isl tag

See Also:
Constant Field Values

TAG_KML_COLORBAR

public static final String TAG_KML_COLORBAR
kml colorbar tag

See Also:
Constant Field Values

TAG_KMZFILE

public static final String TAG_KMZFILE
isl tag

See Also:
Constant Field Values

TAG_SPLIT

public static final String TAG_SPLIT
isl tag

See Also:
Constant Field Values

TAG_RESIZE

public static final String TAG_RESIZE
isl tag

See Also:
Constant Field Values

TAG_THUMBNAIL

public static final String TAG_THUMBNAIL
isl tag

See Also:
Constant Field Values

TAG_TRANSPARENT

public static final String TAG_TRANSPARENT
isl tag

See Also:
Constant Field Values

TAG_BGTRANSPARENT

public static final String TAG_BGTRANSPARENT
background transparent tag

See Also:
Constant Field Values

ATTR_INDEX

public static final String ATTR_INDEX
index attribute

See Also:
Constant Field Values

ATTR_STRIDE

public static final String ATTR_STRIDE
stride attribute

See Also:
Constant Field Values

ATTR_STRIDEX

public static final String ATTR_STRIDEX
x stride attribute

See Also:
Constant Field Values

ATTR_STRIDEY

public static final String ATTR_STRIDEY
y stride attribute

See Also:
Constant Field Values

ATTR_STRIDEZ

public static final String ATTR_STRIDEZ
z stride attribute

See Also:
Constant Field Values

ATTR_BBOX

public static final String ATTR_BBOX
bounding box attribute

See Also:
Constant Field Values

ATTR_LEVEL_FROM

public static final String ATTR_LEVEL_FROM
from level attribute

See Also:
Constant Field Values

ATTR_LEVEL_TO

public static final String ATTR_LEVEL_TO
to level attribute

See Also:
Constant Field Values

ATTR_AZIMUTH

public static final String ATTR_AZIMUTH
azimuth attribute

See Also:
Constant Field Values

ATTR_TILT

public static final String ATTR_TILT
tilt attribute

See Also:
Constant Field Values

ATTR_ASPECTX

public static final String ATTR_ASPECTX
x aspect attribute

See Also:
Constant Field Values

ATTR_ASPECTY

public static final String ATTR_ASPECTY
y aspect attribute

See Also:
Constant Field Values

ATTR_ASPECTZ

public static final String ATTR_ASPECTZ
z aspect attribute

See Also:
Constant Field Values

ATTR_ROTX

public static final String ATTR_ROTX
x rotation attribute

See Also:
Constant Field Values

ATTR_ROTY

public static final String ATTR_ROTY
y rotation attribute

See Also:
Constant Field Values

ATTR_ROTZ

public static final String ATTR_ROTZ
z rotation attribute

See Also:
Constant Field Values

ATTR_SCALE

public static final String ATTR_SCALE
scale attribute

See Also:
Constant Field Values

ATTR_TRANSX

public static final String ATTR_TRANSX
x translation attribute

See Also:
Constant Field Values

ATTR_TRANSY

public static final String ATTR_TRANSY
y translation attribute

See Also:
Constant Field Values

ATTR_TRANSZ

public static final String ATTR_TRANSZ
z translation attribute

See Also:
Constant Field Values

ATTR_SUFFIX

public static final String ATTR_SUFFIX
suffix attribute

See Also:
Constant Field Values

ATTR_SHOWUNIT

public static final String ATTR_SHOWUNIT
showunit atttribute

See Also:
Constant Field Values

ATTR_TRANSPARENCY

public static final String ATTR_TRANSPARENCY
transparency attribute

See Also:
Constant Field Values

ATTR_TOP

public static final String ATTR_TOP
top attribute

See Also:
Constant Field Values

ATTR_SPACE_LEFT

public static final String ATTR_SPACE_LEFT
left space attribute

See Also:
Constant Field Values

ATTR_SPACE_RIGHT

public static final String ATTR_SPACE_RIGHT
right space attribute

See Also:
Constant Field Values

ATTR_SPACE_TOP

public static final String ATTR_SPACE_TOP
top space attribute

See Also:
Constant Field Values

ATTR_SPACE_BOTTOM

public static final String ATTR_SPACE_BOTTOM
bottom space attribute

See Also:
Constant Field Values

TAG_WRITE

public static final String TAG_WRITE
isl tag

See Also:
Constant Field Values

ATTR_ANCHOR

public static final String ATTR_ANCHOR
isl tag

See Also:
Constant Field Values

ATTR_FROM

public static final String ATTR_FROM
isl attr

See Also:
Constant Field Values

ATTR_TO

public static final String ATTR_TO
isl attr

See Also:
Constant Field Values

ATTR_GLOBAL

public static final String ATTR_GLOBAL
isl attribute

See Also:
Constant Field Values

ATTR_ONERROR

public static final String ATTR_ONERROR
isl attribute

See Also:
Constant Field Values

ATTR_SORT

public static final String ATTR_SORT
isl attribute

See Also:
Constant Field Values

ATTR_SORTDIR

public static final String ATTR_SORTDIR
isl attribute

See Also:
Constant Field Values

VALUE_TIME

public static final String VALUE_TIME
isl attribute

See Also:
Constant Field Values

VALUE_ASCENDING

public static final String VALUE_ASCENDING
isl attribute

See Also:
Constant Field Values

VALUE_DESCENDING

public static final String VALUE_DESCENDING
isl attribute

See Also:
Constant Field Values

ATTR_FIRST

public static final String ATTR_FIRST
isl attribute

See Also:
Constant Field Values

ATTR_LAST

public static final String ATTR_LAST
isl attribute

See Also:
Constant Field Values

ATTR_USEPROJECTION

public static final String ATTR_USEPROJECTION
isl tag

See Also:
Constant Field Values

ATTR_EXPR

public static final String ATTR_EXPR
isl tag

See Also:
Constant Field Values

ATTR_COPY

public static final String ATTR_COPY
isl tag

See Also:
Constant Field Values

ATTR_COUNT

public static final String ATTR_COUNT
the count tag

See Also:
Constant Field Values

ATTR_COLUMNS

public static final String ATTR_COLUMNS
isl tag

See Also:
Constant Field Values

ATTR_DATASOURCE

public static final String ATTR_DATASOURCE
isl attribute

See Also:
Constant Field Values

ATTR_DESTINATION

public static final String ATTR_DESTINATION
isl attribute

See Also:
Constant Field Values

ATTR_SERVER

public static final String ATTR_SERVER
isl attribute

See Also:
Constant Field Values

ATTR_PASSWORD

public static final String ATTR_PASSWORD
isl attribute

See Also:
Constant Field Values

ATTR_USER

public static final String ATTR_USER
isl attribute

See Also:
Constant Field Values

ATTR_ROWS

public static final String ATTR_ROWS
isl tag

See Also:
Constant Field Values

ATTR_CLASS

public static final String ATTR_CLASS
isl tag

See Also:
Constant Field Values

ATTR_ANGLE

public static final String ATTR_ANGLE
isl tag

See Also:
Constant Field Values

ATTR_WHERE

public static final String ATTR_WHERE
isl tag

See Also:
Constant Field Values

ATTR_BACKGROUND

public static final String ATTR_BACKGROUND
isl tag

See Also:
Constant Field Values

ATTR_BUNDLE

public static final String ATTR_BUNDLE
isl attribute

See Also:
Constant Field Values

ATTR_SHOWLINES

public static final String ATTR_SHOWLINES
isl tag

See Also:
Constant Field Values

ATTR_LINECOLOR

public static final String ATTR_LINECOLOR
isl tag

See Also:
Constant Field Values

ATTR_COLOR

public static final String ATTR_COLOR
isl tag

See Also:
Constant Field Values

ATTR_COMMAND

public static final String ATTR_COMMAND
isl tag

See Also:
Constant Field Values

ATTR_FONTFACE

public static final String ATTR_FONTFACE
isl tag

See Also:
Constant Field Values

ATTR_FORMAT

public static final String ATTR_FORMAT
isl attr

See Also:
Constant Field Values

TAG_LATLONLABELS

public static final String TAG_LATLONLABELS
that latlonlabels tag

See Also:
Constant Field Values

ATTR_LAT_VALUES

public static final String ATTR_LAT_VALUES
that latvalues tag

See Also:
Constant Field Values

ATTR_LAT_LABELS

public static final String ATTR_LAT_LABELS
that latlabels tag

See Also:
Constant Field Values

ATTR_LON_VALUES

public static final String ATTR_LON_VALUES
that lonvalues tag

See Also:
Constant Field Values

ATTR_LON_LABELS

public static final String ATTR_LON_LABELS
that lonlabels tag

See Also:
Constant Field Values

ATTR_DRAWLONLINES

public static final String ATTR_DRAWLONLINES
the draw lon lines tag

See Also:
Constant Field Values

ATTR_DRAWLATLINES

public static final String ATTR_DRAWLATLINES
the draw lat lines tag

See Also:
Constant Field Values

ATTR_DASHES

public static final String ATTR_DASHES
dashes tag

See Also:
Constant Field Values

ATTR_LINEWIDTH

public static final String ATTR_LINEWIDTH
linewidth tag

See Also:
Constant Field Values

ATTR_LINEOFFSET_RIGHT

public static final String ATTR_LINEOFFSET_RIGHT
_more_

See Also:
Constant Field Values

ATTR_LINEOFFSET_LEFT

public static final String ATTR_LINEOFFSET_LEFT
_more_

See Also:
Constant Field Values

ATTR_LINEOFFSET_TOP

public static final String ATTR_LINEOFFSET_TOP
_more_

See Also:
Constant Field Values

ATTR_LINEOFFSET_BOTTOM

public static final String ATTR_LINEOFFSET_BOTTOM
_more_

See Also:
Constant Field Values

ATTR_LABELBACKGROUND

public static final String ATTR_LABELBACKGROUND
_more_

See Also:
Constant Field Values

ATTR_SHOWTOP

public static final String ATTR_SHOWTOP
_more_

See Also:
Constant Field Values

ATTR_SHOWBOTTOM

public static final String ATTR_SHOWBOTTOM
_more_

See Also:
Constant Field Values

ATTR_SHOWLEFT

public static final String ATTR_SHOWLEFT
_more_

See Also:
Constant Field Values

ATTR_SHOWRIGHT

public static final String ATTR_SHOWRIGHT
_more_

See Also:
Constant Field Values

ATTR_FONTSIZE

public static final String ATTR_FONTSIZE
isl tag

See Also:
Constant Field Values

ATTR_FRAMERATE

public static final String ATTR_FRAMERATE
isl tag

See Also:
Constant Field Values

ATTR_ENDFRAMEPAUSE

public static final String ATTR_ENDFRAMEPAUSE
isl tag for ending frame pause for animated gifs

See Also:
Constant Field Values

ATTR_CAPTION

public static final String ATTR_CAPTION
isl tag

See Also:
Constant Field Values

ATTR_DEBUG

public static final String ATTR_DEBUG
isl tag

See Also:
Constant Field Values

ATTR_DEFAULT

public static final String ATTR_DEFAULT
isl tag

See Also:
Constant Field Values

ATTR_DISPLAY

public static final String ATTR_DISPLAY
isl tag

See Also:
Constant Field Values

ATTR_OFFSCREEN

public static final String ATTR_OFFSCREEN
isl tag

See Also:
Constant Field Values

ATTR_TIMES

public static final String ATTR_TIMES
isl tag

See Also:
Constant Field Values

ATTR_ENSEMBLES

public static final String ATTR_ENSEMBLES
isl tag

See Also:
Constant Field Values

ATTR_DIR

public static final String ATTR_DIR
isl tag

See Also:
Constant Field Values

ATTR_PATTERN

public static final String ATTR_PATTERN
isl tag

See Also:
Constant Field Values

ATTR_WAIT

public static final String ATTR_WAIT
isl attribute

See Also:
Constant Field Values

ATTR_PROPERTY

public static final String ATTR_PROPERTY
isl tag

See Also:
Constant Field Values

ATTR_QUALITY

public static final String ATTR_QUALITY
isl tag

See Also:
Constant Field Values

ATTR_LOOP

public static final String ATTR_LOOP
isl tag

See Also:
Constant Field Values

ATTR_ENTRY

public static final String ATTR_ENTRY
isl tag

See Also:
Constant Field Values

ATTR_ID

public static final String ATTR_ID
isl tag

See Also:
Constant Field Values

ATTR_IMAGE

public static final String ATTR_IMAGE
isl tag

See Also:
Constant Field Values

ATTR_INTERVAL

public static final String ATTR_INTERVAL
isl tag

See Also:
Constant Field Values

ATTR_LEFT

public static final String ATTR_LEFT
isl tag

See Also:
Constant Field Values

ATTR_MESSAGE

public static final String ATTR_MESSAGE
isl tag

See Also:
Constant Field Values

ATTR_MATTEBG

public static final String ATTR_MATTEBG
_more_

See Also:
Constant Field Values

ATTR_NAME

public static final String ATTR_NAME
isl tag

See Also:
Constant Field Values

ATTR_RIGHT

public static final String ATTR_RIGHT
isl tag

See Also:
Constant Field Values

ATTR_TICKMARKS

public static final String ATTR_TICKMARKS
isl tag

See Also:
Constant Field Values

ATTR_SPACE

public static final String ATTR_SPACE
isl tag

See Also:
Constant Field Values

ATTR_HSPACE

public static final String ATTR_HSPACE
isl tag

See Also:
Constant Field Values

ATTR_VSPACE

public static final String ATTR_VSPACE
isl tag

See Also:
Constant Field Values

ATTR_BOTTOM

public static final String ATTR_BOTTOM
isl tag

See Also:
Constant Field Values

ATTR_VALIGN

public static final String ATTR_VALIGN
the valign attribute

See Also:
Constant Field Values

ATTR_TEXT

public static final String ATTR_TEXT
isl tag

See Also:
Constant Field Values

ATTR_TEMPLATE

public static final String ATTR_TEMPLATE
isl tag

See Also:
Constant Field Values

ATTR_TYPE

public static final String ATTR_TYPE
isl tag

See Also:
Constant Field Values

ATTR_EVERY

public static final String ATTR_EVERY
isl tag

See Also:
Constant Field Values

ATTR_VALUE

public static final String ATTR_VALUE
isl tag

See Also:
Constant Field Values

ATTR_VALUES

public static final String ATTR_VALUES
isl tag

See Also:
Constant Field Values

ATTR_ORIENTATION

public static final String ATTR_ORIENTATION
isl tag

See Also:
Constant Field Values

ATTR_PARAM

public static final String ATTR_PARAM
isl tag

See Also:
Constant Field Values

ATTR_PLACE

public static final String ATTR_PLACE
isl tag

See Also:
Constant Field Values

ATTR_VIEW

public static final String ATTR_VIEW
isl tag

See Also:
Constant Field Values

ATTR_VIEWDIR

public static final String ATTR_VIEWDIR
the view dir attribute

See Also:
Constant Field Values

ATTR_URL

public static final String ATTR_URL
isl tag

See Also:
Constant Field Values

ATTR_FILE

public static final String ATTR_FILE
isl tag

See Also:
Constant Field Values

ATTR_FROMFILE

public static final String ATTR_FROMFILE
isl tag

See Also:
Constant Field Values

ATTR_NORTH

public static final String ATTR_NORTH
isl tag

See Also:
Constant Field Values

ATTR_SOUTH

public static final String ATTR_SOUTH
isl tag

See Also:
Constant Field Values

ATTR_EAST

public static final String ATTR_EAST
isl tag

See Also:
Constant Field Values

ATTR_WEST

public static final String ATTR_WEST
isl tag

See Also:
Constant Field Values

ATTR_WIDTH

public static final String ATTR_WIDTH
isl tag

See Also:
Constant Field Values

ATTR_HEIGHT

public static final String ATTR_HEIGHT
isl tag

See Also:
Constant Field Values

ATTR_SLEEP

public static final String ATTR_SLEEP
isl tag

See Also:
Constant Field Values

ATTR_SECONDS

public static final String ATTR_SECONDS
isl tag

See Also:
Constant Field Values

ATTR_MINUTES

public static final String ATTR_MINUTES
isl tag

See Also:
Constant Field Values

ATTR_HOURS

public static final String ATTR_HOURS
isl tag

See Also:
Constant Field Values

ATTR_CLEAR

public static final String ATTR_CLEAR
isl tag

See Also:
Constant Field Values

ATTR_CODE

public static final String ATTR_CODE
isl tag

See Also:
Constant Field Values

ATTR_LAT

public static final String ATTR_LAT
isl tag

See Also:
Constant Field Values

ATTR_LON

public static final String ATTR_LON
isl tag

See Also:
Constant Field Values

ATTR_WHAT

public static final String ATTR_WHAT
isl attribute

See Also:
Constant Field Values
Constructor Detail

ImageGenerator

public ImageGenerator(IntegratedDataViewer idv)
Create me with the IDV

Parameters:
idv - The IDV

ImageGenerator

public ImageGenerator(IntegratedDataViewer idv,
                      List scriptFiles)
Create me with the IDV and start processing files

Parameters:
idv - The IDV
scriptFiles - List of isl files
Method Detail

processScriptFiles

public void processScriptFiles(List scriptFiles)
Process the list of isl files

Parameters:
scriptFiles - isl files

processScriptFile

public boolean processScriptFile(String islFile)
Process the isl files

Parameters:
islFile - file
Returns:
Was it successful

processScriptFile

public boolean processScriptFile(String islFile,
                                 Hashtable properties)
Process the script file

Parameters:
islFile - the ISL file
properties - optional properties
Returns:
true if successful

processTagFtp

protected boolean processTagFtp(Element node)
                         throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagExport

protected boolean processTagExport(Element node)
                            throws Throwable
Process the export tag. This allows one to export data from a display. It requires a display identifier

Parameters:
node - isl xml node
Returns:
everything is cool
Throws:
Throwable - On badness

processTagTrace

protected boolean processTagTrace(Element node)
                           throws Throwable
Process the tag trace

Parameters:
node - the node
Returns:
true if processed
Throws:
Throwable - on badness

processTagRemovedisplays

protected boolean processTagRemovedisplays(Element node)
                                    throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagPrintcache

protected boolean processTagPrintcache(Element node)
                                throws Throwable
Process the print cache tag

Parameters:
node - the XML node
Returns:
true if successful
Throws:
Throwable - on badness

processTagRemoveall

protected boolean processTagRemoveall(Element node)
                               throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagSetfiles

protected boolean processTagSetfiles(Element node)
                              throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagExists

protected boolean processTagExists(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagAsk

protected boolean processTagAsk(Element node)
                         throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagEcho

protected boolean processTagEcho(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagAsktocontinue

protected boolean processTagAsktocontinue(Element node)
                                   throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagGc

protected boolean processTagGc(Element node)
                        throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagBreak

protected boolean processTagBreak(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagContinue

protected boolean processTagContinue(Element node)
                              throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagReturn

protected boolean processTagReturn(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagProcedure

protected boolean processTagProcedure(Element node)
                               throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagMkdir

protected boolean processTagMkdir(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagStop

protected boolean processTagStop(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

getPropertyValue

protected String[] getPropertyValue(Element node)
                             throws Throwable
Get the property value

Parameters:
node - the XML node
Returns:
the values
Throws:
Throwable - on badness

processTagIdvproperty

protected boolean processTagIdvproperty(Element node)
                                 throws Throwable
Process IDV property tag

Parameters:
node - the XML node
Returns:
true if successful
Throws:
Throwable - on badness

processTagProperty

protected boolean processTagProperty(Element node)
                              throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagMove

protected boolean processTagMove(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagRename

protected boolean processTagRename(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagDelete

protected boolean processTagDelete(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagClear

protected boolean processTagClear(Element node)
                           throws Throwable
Handle the clear tag

Parameters:
node - node
Returns:
ok
Throws:
Throwable - On badness

processTagAppend

protected boolean processTagAppend(Element node)
                            throws Throwable
Handle the append tag

Parameters:
node - node
Returns:
ok
Throws:
Throwable - On badness

processTagIncrement

protected boolean processTagIncrement(Element node)
                               throws Throwable
Handle the append tag

Parameters:
node - node
Returns:
ok
Throws:
Throwable - On badness

processTagReplace

protected boolean processTagReplace(Element node)
                             throws Throwable
Handle the append tag

Parameters:
node - node
Returns:
ok
Throws:
Throwable - On badness

processTagCopy

protected boolean processTagCopy(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagReload

protected boolean processTagReload(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagExec

protected boolean processTagExec(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagJython

protected boolean processTagJython(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagFileset

protected boolean processTagFileset(Element node)
                             throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagImport

protected boolean processTagImport(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagDatasource

protected boolean processTagDatasource(Element node)
                                throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagJoin

protected boolean processTagJoin(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagView

protected boolean processTagView(Element node)
                          throws Throwable
Process the view tag

Parameters:
node - the element
Returns:
true if it was processed
Throws:
Throwable - problems

processTagAnimation

protected boolean processTagAnimation(Element node)
                               throws Throwable
Handle the animation tag. The index attribute can either be a number or be "end"

Parameters:
node - the node
Returns:
true if successful
Throws:
Throwable - problems

processTagViewpoint

protected boolean processTagViewpoint(Element node)
                               throws Throwable
Process the viewpoint tag

Parameters:
node - the node
Returns:
true if successful
Throws:
Throwable - problems

processTagCenter

protected boolean processTagCenter(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

findDisplayControl

public DisplayControlImpl findDisplayControl(String id)
Find the display control identified by the given id

Parameters:
id - The id of the display control. This can be the id or it can be a 'class:class name'
Returns:
The display control or null

findDisplayControl

public DisplayControlImpl findDisplayControl(String id,
                                             List<DisplayControlImpl> controls)
Find the display control

Parameters:
id - the control id
controls - the list of controls
Returns:
the control or null

processTagBundle

protected boolean processTagBundle(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagCall

protected boolean processTagCall(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagCall

protected boolean processTagCall(Element node,
                                 Element procNode)
                          throws Throwable
process the given node

Parameters:
node - Node to process
procNode - The procedure node
Returns:
keep going
Throws:
Throwable - On badness

processTagIf

protected boolean processTagIf(Element node)
                        throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagOutput

protected boolean processTagOutput(Element node)
                            throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagIsl

protected boolean processTagIsl(Element node)
                         throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagGroup

protected boolean processTagGroup(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagForeach

protected boolean processTagForeach(Element node)
                             throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagMovie

protected boolean processTagMovie(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagHtml

protected boolean processTagHtml(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagPanel

protected boolean processTagPanel(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

writeMovie

public void writeMovie(String filename,
                       String params)
                throws Exception
Capture a movie and write it out. This is typically called by the jython scripting

Parameters:
filename - Movie filename
params - xml parameters of the the form: "task arg=val arg2=val; task2 arg3=val"
Throws:
ImageGenerator.MyBreakException - On badness
Exception

processTagImage

protected boolean processTagImage(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagWait

protected boolean processTagWait(Element node)
                          throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

processTagPause

protected boolean processTagPause(Element node)
                           throws Throwable
process the given node

Parameters:
node - Node to process
Returns:
keep going
Throws:
Throwable - On badness

updateViewManagers

protected void updateViewManagers()
Update the view managers


processTagDisplayproperties

protected boolean processTagDisplayproperties(Element node)
Process tag display properties

Parameters:
node - the node
Returns:
true if successful

processTagDisplay

protected boolean processTagDisplay(Element node)
process the given node

Parameters:
node - Node to process
Returns:
keep going

error

protected boolean error(String msg)
Utility to print a message and return false.

Parameters:
msg - message
Returns:
false

error

protected boolean error(String msg,
                        Exception exc)
Utility to print a message and return false.

Parameters:
msg - message
exc - exception
Returns:
false

applyMacros

public String applyMacros(Element node,
                          String attr)
Find the attribute value of the given node. Apply the macros to it.

Parameters:
node - Node to process
attr - Attribute name
Returns:
The value

applyMacros

public String applyMacros(Element node,
                          String attr,
                          String dflt)
If the attribute does not exist return the dflt. Else return the value.

Parameters:
node - Node to process
attr - Attribute name
dflt - The default value to use if the attribute does not exist
Returns:
The value

applyMacros

public int applyMacros(Element node,
                       String attr,
                       int dflt)
If the attribute does not exist return the dflt. Else return the value.

Parameters:
node - Node to process
attr - Attribute name
dflt - The default value to use if the attribute does not exist
Returns:
The value

applyMacros

public boolean applyMacros(Element node,
                           String attr,
                           boolean dflt)
If the attribute does not exist return the dflt. Else return the value.

Parameters:
node - Node to process
attr - Attribute name
dflt - The default value to use if the attribute does not exist
Returns:
The value

applyMacros

public Color applyMacros(Element node,
                         String attr,
                         Color dflt)
If the attribute does not exist return the dflt. Else return the value.

Parameters:
node - Node to process
attr - Attribute name
dflt - The default value to use if the attribute does not exist
Returns:
The value

applyMacros

public double applyMacros(Element node,
                          String attr,
                          double dflt)
If the attribute does not exist return the dflt. Else return the value.

Parameters:
node - Node to process
attr - Attribute name
dflt - The default value to use if the attribute does not exist
Returns:
The value

applyMacros

public String applyMacros(String s)
Do the macro substitution

Parameters:
s - The string
Returns:
The expanded string

captureImage

public void captureImage(String filename)
Capture an image from the first active view managers

Parameters:
filename - The image filename

putIndex

public void putIndex(Hashtable props,
                     String name,
                     int v)
Put the index

Parameters:
props - the properties
name - the name
v - the index

pause

public void pause()
Wait until all displays are built


setDebug

public void setDebug(boolean v)
Toggle debug

Parameters:
v - debug

evaluateIsl

public boolean evaluateIsl(String isl)
                    throws Throwable
Evaluate the given isl

Parameters:
isl - The isl
Returns:
success
Throws:
Throwable - On badness

loadBundle

public void loadBundle(String bundleFile,
                       List setFiles)
                throws Throwable
Load the given bundle file

Parameters:
bundleFile - The bundle
setFiles - This is a list, which may be null, of datasource patterns and file names to change
Throws:
Throwable - On badness

loadBundle

public void loadBundle(String bundleFile,
                       List setFiles,
                       int width,
                       int height)
                throws Throwable
Load the given bundle file, list of datasets, width and height

Parameters:
bundleFile - The bundle
setFiles - This is a list, which may be null, of datasource patterns and file names to change
width - The width of the display area to use
height - The height of the display are to use
Throws:
Throwable - an exception

loadBundle

public void loadBundle(String bundleFile,
                       List setFiles,
                       int width,
                       int height,
                       String times,
                       boolean clear)
                throws Throwable
Load the given bundle file, list of datasets, width and height

Parameters:
bundleFile - The bundle
setFiles - This is a list, which may be null, of datasource patterns and file names to change
width - The width of the display area to use
height - The height of the display are to use
times - A string of times to use from the bundle file
clear - If false then do not clear out the data sources and displays (which is otherwise the default)
Throws:
Throwable - an exception

writeImageToFile

public void writeImageToFile(Image image,
                             String file)
                      throws Exception
Write an Image to the specified file

Parameters:
image - Image to be written
file - Name of output file (may use macros)
Throws:
ImageGenerator.MyBreakException - On badness
Exception

makeXmlFromString

protected static String makeXmlFromString(String s)
Create XML from the input String

Parameters:
s - in the form: "task arg=val arg2=val; task2 arg3=val"
Returns:

writeImage

public void writeImage(String filename,
                       String params,
                       float qual)
                throws Exception,
                       Throwable
Get the image of the current display and write to file. Image may be modified by the params given in the form: tag1 arg=val arg2=val2; tag2 arg=val where 'tag' are ISL tags.

Parameters:
filename - Output filename (may be modified by macros)
params - String of parameters
qual - Quality (def=1.0)
Throws:
ImageGenerator.MyBreakException - On badness
Throwable - On badness
Exception

getImage

public Image getImage()
               throws Exception
Get the Image of the current display

Returns:
the Image
Throws:
ImageGenerator.MyBreakException - On badness
Exception

resize

protected Image resize(Image image,
                       Element node)
Resize the image

Parameters:
image - The image
node - Node to process. This may contain a width or a height attribute.
Returns:
The resized image

resizeImage

public BufferedImage resizeImage(BufferedImage image,
                                 String widthStr,
                                 String heightStr)
Resize the image

Parameters:
image - The image
widthStr - width of desired image (pixels)
heightStr - height of desired image (pixels)
Returns:
The resized image

matteImage

public BufferedImage matteImage(BufferedImage image,
                                String bgString,
                                int top,
                                int left,
                                int bottom,
                                int right)
Matte the image

Parameters:
image - The image
bgString - color for the matte ("red", "green", etc)
top - number of lines for the top (north) matte
left - number of pixels for the left (west) matte
bottom - number of lines for the bottom (south) matte
right - number of pixels for the right (east) matte
Returns:
The matte'd image

processImage

protected BufferedImage processImage(BufferedImage image,
                                     String filename,
                                     Element node,
                                     Hashtable props,
                                     ViewManager viewManager,
                                     Hashtable imageProps)
                              throws Throwable
Process the image

Parameters:
image - The image
filename - File to write the image to
node - Node to process
props - Extra properties
viewManager - The viewmanager this image came from
imageProps - the image properties
Returns:
The processed image
Throws:
Throwable - On badness

getInsets

public Insets getInsets(Element child,
                        int dflt)
Get the insets

Parameters:
child - the element
dflt - the default value
Returns:
the Insets

doLatLonLabels

public BufferedImage doLatLonLabels(Element child,
                                    ViewManager viewManager,
                                    BufferedImage image,
                                    Hashtable imageProps)
                             throws Exception
Process the lat/lon labels tag

Parameters:
child - the XML
viewManager - the associated view manager
image - the image to draw on
imageProps - the image properties
Returns:
a new image
Throws:
ImageGenerator.MyBreakException - on badness
Exception

doMatte

public BufferedImage doMatte(BufferedImage image,
                             Element child,
                             int dfltSpace)
Matte the image

Parameters:
image - the image
child - the XML defining the matting
dfltSpace - default spacing
Returns:
a new image

doMatte

public BufferedImage doMatte(BufferedImage image,
                             Element child,
                             Insets insets)
Matte the image

Parameters:
image - the image
child - the matte specs
insets - the insets
Returns:
a new image

doneCapturingMovie

public void doneCapturingMovie()
Called to notify this object that the movie capture is done


captureMovie

public void captureMovie(String filename)
Capture a movie from the first view manager

Parameters:
filename - The movie filename

captureMovie

public void captureMovie(String filename,
                         Element scriptingNode)
Capture the movie

Parameters:
filename - The file
scriptingNode - Node form isl.

getAnimationTime

public Date getAnimationTime()
Find the animation time of the first Animation in a view manager we find

Returns:
Animation time

fields

public String fields(String datasource,
                     String pattern)
callable by jython to find the data choices that match the given pattern

Parameters:
datasource - data source
pattern - pattern to match
Returns:
comma separated list of data choice names

debug

protected void debug(String msg)
Print the message if in debug mode

Parameters:
msg - The message

ftpPut

public static void ftpPut(String server,
                          String userName,
                          String password,
                          String destination,
                          byte[] bytes)
                   throws Exception
Do an FTP put of the given bytes

Parameters:
server - server
userName - user name on server
password - password on server
destination - Where to put the bytes
bytes - The bytes
Throws:
ImageGenerator.MyBreakException - On badness
Exception

getLetter

public String getLetter(int i)
Get the letter for the index

Parameters:
i - the index
Returns:
the letter

getRoman

public String getRoman(int i)
Get the roman numeral

Parameters:
i - the index
Returns:
the corresponding number