|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.ImageMovieControl
public class ImageMovieControl
Class for controlling the display of color images.
| Nested Class Summary | |
|---|---|
static class |
ImageMovieControl.CameraInfo
Class CameraInfo _more_ |
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static String |
ATTR_BASE
Xml attribute name |
static String |
ATTR_DESC
Xml attribute name |
static String |
ATTR_FILE
Xml attribute name |
static String |
ATTR_FORMAT
Xml attribute name |
static String |
ATTR_GROUP
Xml attribute name |
static String |
ATTR_INDEX
Xml attribute name |
static String |
ATTR_LAT
Xml attribute name |
static String |
ATTR_LON
Xml attribute name |
static String |
ATTR_NAME
Xml attribute name |
static String |
ATTR_ROOT
Xml attribute name |
static String |
ATTR_TIME
Xml attribute name |
static String |
TAG_IMAGE
Xml tag name |
static String |
TAG_IMAGES
Xml tag name |
static String |
TAG_IMAGESET
Xml tag name |
static String |
TAG_IMAGESETS
Xml tag name |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, version, viewManagers, ZFUDGE |
| Fields inherited from interface ucar.unidata.idv.DisplayControl |
|---|
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
ImageMovieControl()
NOOP ctor |
|
| Method Summary | |
|---|---|
protected void |
applyZPosition()
Apply the z position to the displayables with FLAG_ZPOSITION set |
void |
dateTypeButtonPressed(Integer v)
Hook |
protected JComponent |
doMakeAlphaSlider()
Make the alpha slider |
protected Container |
doMakeContents()
Make the gui |
float |
getAlpha()
Get the alpha |
void |
getControlWidgets(List controlWidgets)
Get control widgets specific to this control. |
protected List |
getCursorReadoutInner(EarthLocation el,
Real animationValue,
int animationStep,
List<ReadoutInfo> samples)
_more_ |
String |
getDateFormat()
Get the DateFormat property. |
String |
getDatePattern()
Get the DatePattern property. |
int |
getDateType()
Get the DateType property. |
String |
getDirectory()
Get the Directory property. |
boolean |
getDoImageSet()
Get the DoImageSet property. |
boolean |
getEnabled()
Get the Enabled property. |
List |
getExtraCollections()
Get the ExtraCollections property. |
protected void |
getFileMenuItems(List items,
boolean forMenuBar)
Add the relevant file menu items into the list |
String |
getImageSetUrl()
Get the ImageSetUrl property. |
boolean |
getIsRaster()
Is this a raster display? |
int |
getPointIndex()
Get the PointIndex property. |
ColorTable |
getRGBColorTable()
Get the color table to use for the image glyphs |
boolean |
getShowImageInDisplay()
Get the ShowImageInDisplay property. |
protected void |
getViewMenuItems(List items,
boolean forMenuBar)
Add to view menu |
void |
importImageSet(String path)
Load in the url or filename. |
void |
importImageSetFromFile()
Import the image set xml |
void |
importImageSetFromURL()
Import the image set xml |
boolean |
init(DataChoice dataChoice)
Called to make this kind of Display Control; This method is called from inside DisplayControlImpl init(several args). |
void |
initDone()
initdone |
void |
loadFilesFromDirectory()
Load in the files from the directory |
void |
loadFilesFromXml()
Load files |
List[] |
loadFilesFromXml(String imageSetUrl,
Element imageSetRoot)
_more_ |
void |
loadSelectedImageSet()
Load in the selected image set from the jtree |
static void |
main(String[] args)
_more_ |
void |
propertyChange(PropertyChangeEvent event)
Handle property change |
void |
reloadFiles()
Reload the files |
void |
setAlpha(float f)
Set the alpha |
protected void |
setAlphaFromSlider(float newAlpha)
Set the alpha |
void |
setAnimationMode(int value)
Deprecated. Keep around for legacy bundles |
void |
setDateFormat(String value)
Set the DateFormat property. |
void |
setDatePattern(String value)
Set the DatePattern property. |
void |
setDateType(int value)
Set the DateType property. |
void |
setDirectory(String value)
Set the Directory property. |
void |
setDoImageSet(boolean value)
Set the DoImageSet property. |
void |
setEnabled(boolean value)
Set the Enabled property. |
void |
setExtraCollections(List value)
Set the ExtraCollections property. |
void |
setFiles(List value)
Set the Files property. |
void |
setImageSetUrl(String value)
Set the ImageSetUrl property. |
void |
setInverseAlphaFromSlider(int sliderValue)
Called on slider action |
void |
setPointIndex(int value)
Set the PointIndex property. |
void |
setShowImageInDisplay(boolean value)
Set the ShowImageInDisplay property. |
void |
setTocFiles(String files)
Set the toc files |
protected boolean |
shouldAddControlListener()
Should we add a control listener |
protected void |
timeChanged(Real time)
Respond to a timeChange event |
void |
viewpointChanged()
Handle the viewpoint changed. |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.idv.DisplayControl |
|---|
getTmpProperty, putTmpProperty, removeTmpProperty |
| Methods inherited from interface ucar.unidata.collab.Sharable |
|---|
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime |
| Field Detail |
|---|
public static final String TAG_IMAGESET
public static final String TAG_IMAGES
public static final String TAG_IMAGESETS
public static final String TAG_IMAGE
public static final String ATTR_BASE
public static final String ATTR_DESC
public static final String ATTR_LAT
public static final String ATTR_LON
public static final String ATTR_NAME
public static final String ATTR_FORMAT
public static final String ATTR_GROUP
public static final String ATTR_ROOT
public static final String ATTR_FILE
public static final String ATTR_TIME
public static final String ATTR_INDEX
| Constructor Detail |
|---|
public ImageMovieControl()
| Method Detail |
|---|
public ColorTable getRGBColorTable()
protected List getCursorReadoutInner(EarthLocation el,
Real animationValue,
int animationStep,
List<ReadoutInfo> samples)
throws Exception
getCursorReadoutInner in class DisplayControlImplel - _more_animationValue - _more_animationStep - _more_samples - _more_
Exception - _more_
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the DataChoice of the moment.
RemoteException - Java RMI error
VisADException - VisAD Error
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - list of control widgets from other places
RemoteException - Java RMI error
VisADException - VisAD Error
protected void getFileMenuItems(List items,
boolean forMenuBar)
getFileMenuItems in class DisplayControlImplitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legendpublic void importImageSet(String path)
path - File or urlpublic void importImageSetFromFile()
public void importImageSetFromURL()
protected boolean shouldAddControlListener()
shouldAddControlListener in class DisplayControlImplpublic void viewpointChanged()
viewpointChanged in class DisplayControlImpl
protected void getViewMenuItems(List items,
boolean forMenuBar)
getViewMenuItems in class DisplayControlImplitems - List of itesforMenuBar - for the menu barprotected JComponent doMakeAlphaSlider()
public void setAlpha(float f)
f - Alphapublic float getAlpha()
protected void setAlphaFromSlider(float newAlpha)
newAlpha - new valuepublic void setInverseAlphaFromSlider(int sliderValue)
sliderValue - slider value
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - On badness
VisADException - On badnesspublic void setTocFiles(String files)
files - toc filesprotected void timeChanged(Real time)
timeChanged in class DisplayControlImpltime - new timepublic void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpropertyChange in class DisplayControlImplevent - The eventpublic void loadSelectedImageSet()
public void reloadFiles()
public void loadFilesFromXml()
public List[] loadFilesFromXml(String imageSetUrl,
Element imageSetRoot)
imageSetUrl - _more_imageSetRoot - _more_
public void loadFilesFromDirectory()
protected void applyZPosition()
throws VisADException,
RemoteException
applyZPosition in class DisplayControlImplRemoteException - When bad things happen
VisADException - When bad things happenpublic void dateTypeButtonPressed(Integer v)
v - New typepublic void initDone()
initDone in class DisplayControlImplpublic void setDirectory(String value)
value - The new value for Directorypublic String getDirectory()
public void setFiles(List value)
value - The new value for Filespublic void setDateFormat(String value)
value - The new value for DateFormatpublic String getDateFormat()
public void setDatePattern(String value)
value - The new value for DatePatternpublic String getDatePattern()
public void setEnabled(boolean value)
value - The new value for Enabledpublic boolean getEnabled()
public void setDateType(int value)
value - The new value for DateTypepublic int getDateType()
public void setImageSetUrl(String value)
value - The new value for ImageSetUrlpublic String getImageSetUrl()
public void setDoImageSet(boolean value)
value - The new value for DoImageSetpublic boolean getDoImageSet()
public void setPointIndex(int value)
value - The new value for PointIndexpublic int getPointIndex()
public void setAnimationMode(int value)
value - The new value for AnimationModepublic void setExtraCollections(List value)
value - The new value for ExtraCollectionspublic List getExtraCollections()
public void setShowImageInDisplay(boolean value)
value - The new value for ShowImageInDisplaypublic boolean getShowImageInDisplay()
public boolean getIsRaster()
getIsRaster in class DisplayControlImpl
public static void main(String[] args)
throws Exception
args - _more_
Exception - _more_
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||