|
||||||||||
| 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 |
|---|
| 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, 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 | |
|---|---|
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. |
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. |
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 |
void |
loadSelectedImageSet()
Load in the selected image set from the jtree |
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)
|
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, 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 |
|---|
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()
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