|
||||||||||
| 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
public abstract class BaseImageControl
A DisplayControl for handling image sequences
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static FieldImpl |
EMPTY_IMAGE
empty sequence |
static FieldImpl |
EMPTY_RGB_IMAGE
empty RGB image |
protected static FieldImpl |
emptyImage
Deprecated. use public EMPTY_IMAGE |
protected static FieldImpl |
emptyRGBImage
Deprecated. use public EMPTY_RGB_IMAGE |
| 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 | |
|---|---|
BaseImageControl()
Default ctor; sets the attribute flags |
|
| Method Summary | |
|---|---|
protected JComponent |
doMakeAlphaSlider()
Make the alpha slider |
float |
getAlpha()
Get the alpha |
protected String |
getDataProjectionLabel()
What label to use for the data projection |
String |
getSkipWidgetLabel()
Return the label that is to be used for the skip widget This allows derived classes to override this and provide their own name, |
protected FieldImpl |
getWorkingImage(FieldImpl image)
Applies skip value if necessary |
void |
setAlpha(float f)
Set the alpha |
protected void |
setAlphaFromSlider(float newAlpha)
Set the alpha |
void |
setInverseAlphaFromSlider(int sliderValue)
Called on slider action |
protected boolean |
showSkipFactorSlider()
Flag for showing the SkipFactorSlider. |
| 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 |
| Field Detail |
|---|
protected static FieldImpl emptyRGBImage
protected static FieldImpl emptyImage
public static FieldImpl EMPTY_RGB_IMAGE
public static FieldImpl EMPTY_IMAGE
| Constructor Detail |
|---|
public BaseImageControl()
| Method Detail |
|---|
protected String getDataProjectionLabel()
getDataProjectionLabel in class DisplayControlImpl
protected FieldImpl getWorkingImage(FieldImpl image)
throws VisADException
image - original image
VisADException - On badnesspublic String getSkipWidgetLabel()
getSkipWidgetLabel in class DisplayControlImplprotected 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 valueprotected boolean showSkipFactorSlider()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||