|
||||||||||
| 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.ImageControl
public class ImageControl
Class for controlling the display of color images.
| 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, 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, DOTIMEDRIVER, 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 | |
|---|---|
ImageControl()
Default constructor. |
|
| Method Summary | |
|---|---|
protected Container |
doMakeContents()
Override the base class method |
void |
getControlWidgets(List controlWidgets)
Get control widgets specific to this control. |
protected int |
getImageFlags()
Get the flags for the image displayable |
protected ColorTable |
getInitialColorTable()
Overwrite base class method to get an image color table |
boolean |
getMultipleIsTopography()
Get the multiple is topography property. |
boolean |
getUseTexture()
Get whether this display should be textured or not. |
protected boolean |
haveMultipleFields()
Return whether the Data held by this display control contains multiple fields (e.g., for the isosurface colored by another parameter |
boolean |
init(DataChoice dataChoice)
Called to make this kind of Display Control; also calls code to made the Displayable. |
protected void |
setAlphaFromSlider(float newAlpha)
Set the alpha |
protected boolean |
setData(DataChoice dataChoice)
Called to initialize this control from the given dataChoice; sets levels controls to match data; make data slice at first level; set display's color table and display units. |
void |
setMultipleIsTopography(boolean v)
Set the other is topography property. |
void |
setUseTexture(boolean v)
Set whether this display should be textured or smoothed. |
| Methods inherited from class ucar.unidata.idv.control.BaseImageControl |
|---|
doMakeAlphaSlider, getAlpha, getDataProjectionLabel, getIsRaster, 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, 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 |
| Constructor Detail |
|---|
public ImageControl()
PlanViewControl
| Method Detail |
|---|
protected ColorTable getInitialColorTable()
getInitialColorTable in class GridDisplayControl
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 Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - Java RMI Exception
VisADException - Problem making data
protected boolean setData(DataChoice dataChoice)
throws VisADException,
RemoteException
setData in class DisplayControlImpldataChoice - choice that describes the data to be loaded.
RemoteException - Java RMI error
VisADException - VisAD Errorprotected boolean haveMultipleFields()
haveMultipleFields in class GridDisplayControlpublic void setMultipleIsTopography(boolean v)
v - true if second parameter is topographypublic boolean getMultipleIsTopography()
protected void setAlphaFromSlider(float newAlpha)
setAlphaFromSlider in class BaseImageControlnewAlpha - new valueprotected int getImageFlags()
public void setUseTexture(boolean v)
v - true if textured.public boolean getUseTexture()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||