|
||||||||||
| 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.GridDisplayControl
ucar.unidata.idv.control.BaseImageControl
ucar.unidata.idv.control.ImageSequenceControl
public class ImageSequenceControl
A DisplayControl for handling image sequences
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.control.BaseImageControl |
|---|
EMPTY_IMAGE, EMPTY_RGB_IMAGE, emptyImage, emptyRGBImage |
| Fields inherited from class ucar.unidata.idv.control.GridDisplayControl |
|---|
CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevel |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, controlContext, ctw, cw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, settingVisibility, sharables, showNoteText, skipSlider, srw, version, viewManagers |
| 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, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
ImageSequenceControl()
Default ctor; sets the attribute flags |
|
| Method Summary | |
|---|---|
protected void |
applySkipFactor()
Use the value of the skip factor JSLider to subset the data. |
void |
cancelPressed()
Cancel button was pressed |
protected boolean |
checkIfDataOk(DataInstance di)
Override base class method. |
protected Container |
doMakeContents()
Make the UI contents for this control. |
protected DataInstance |
doMakeDataInstance(DataChoice dataChoice)
Make the data instance |
void |
doRemove()
Called when Datasource is removed. |
Range |
getColorRangeFromData()
Return the range attribute of the colorTable (if non-null) else return null; |
Unit |
getDisplayUnit()
Get the unit for the data display. |
protected ColorTable |
getInitialColorTable()
Get the initial color table for the data |
protected Range |
getInitialRange()
Get the initial range for the data and color table. |
boolean |
getShowProgressBar()
Should we show the progress bar or not |
boolean |
init(DataChoice choice)
Called to make this kind of Display Control; also calls code to made the Displayable. |
protected boolean |
init(DataChoice choice,
boolean doLoad)
Called to make this kind of Display Control; also calls code to made the Displayable. |
void |
initDone()
Called after the init method. |
protected void |
resetData()
Reset the data |
protected void |
setAlphaFromSlider(float newAlpha)
Set the alpha |
void |
setShowProgressBar(boolean value)
Set whether we should show the progress bar or not |
protected void |
setWorkingSequence(FieldImpl sequence)
Set the working sequence for the data. |
| Methods inherited from class ucar.unidata.idv.control.BaseImageControl |
|---|
doMakeAlphaSlider, getAlpha, getDataProjectionLabel, getSkipWidgetLabel, getWorkingImage, setAlpha, setInverseAlphaFromSlider, showSkipFactorSlider |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getScreenCenter, getSelectedStation, isLeftButtonDown, logException, logException, makeEarthLocation, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, 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.collab.Sharable |
|---|
getShareGroup, getSharing, getUniqueId |
| Constructor Detail |
|---|
public ImageSequenceControl()
| Method Detail |
|---|
public boolean init(DataChoice choice)
throws VisADException,
RemoteException
init in class DisplayControlImplchoice - the DataChoice of the moment.
RemoteException - Java RMI error
VisADException - VisAD Error
protected boolean init(DataChoice choice,
boolean doLoad)
throws VisADException,
RemoteException
choice - the DataChoice of the moment.doLoad - load the data if true
RemoteException - Java RMI error
VisADException - VisAD Errorprotected ColorTable getInitialColorTable()
getInitialColorTable in class GridDisplayControlpublic Unit getDisplayUnit()
getDisplayUnit in class GridDisplayControlpublic void initDone()
initDone in class DisplayControlImplprotected Container doMakeContents()
doMakeContents in class DisplayControlImplpublic void cancelPressed()
protected Range getInitialRange()
throws RemoteException,
VisADException
getInitialRange in class GridDisplayControlRemoteException - Java RMI error
VisADException - VisAD Error
protected boolean checkIfDataOk(DataInstance di)
throws VisADException,
RemoteException
checkIfDataOk in class DisplayControlImpldi - data instance
RemoteException - Java RMI error
VisADException - VisAD Error
protected void resetData()
throws VisADException,
RemoteException
resetData in class DisplayControlImplRemoteException - Badness
VisADException - Badness
protected DataInstance doMakeDataInstance(DataChoice dataChoice)
throws RemoteException,
VisADException
doMakeDataInstance in class GridDisplayControldataChoice - the choice
RemoteException - On badness
VisADException - On badness
public void doRemove()
throws VisADException,
RemoteException
doRemove in interface DisplayControldoRemove in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Error
protected void setWorkingSequence(FieldImpl sequence)
throws VisADException,
RemoteException
sequence - sequence to use
RemoteException - Java RMI error
VisADException - VisAD Errorprotected void applySkipFactor()
applySkipFactor in class DisplayControlImplpublic Range getColorRangeFromData()
getColorRangeFromData in class GridDisplayControlprotected void setAlphaFromSlider(float newAlpha)
setAlphaFromSlider in class BaseImageControlnewAlpha - new valuepublic void setShowProgressBar(boolean value)
value - true to show the progress barpublic boolean getShowProgressBar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||