|
||||||||||
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.PlanViewControl
ucar.unidata.idv.control.ImagePlanViewControl
edu.wisc.ssec.mcidasv.control.ImagePlanViewControl
public class ImagePlanViewControl
ImagePlanViewControl
with some McIDAS-V
specific extensions. Namely parameter sets and support for inverted
parameter defaults.
Nested Class Summary | |
---|---|
private class |
ImagePlanViewControl.MyTabbedPane
Holds a JFreeChart histogram of image values. |
Nested classes/interfaces inherited from class ucar.unidata.idv.control.PlanViewControl |
---|
PlanViewControl.VerticalRangeWidget |
Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
---|
DisplayControlImpl.SideLegendLabel |
Field Summary | |
---|---|
private static String |
ATTR_DAY
|
private static String |
ATTR_NAME
|
private static String |
ATTR_POS
|
private static String |
ATTR_SERVER
|
private static String |
ATTR_TIME
|
private static String |
ATTR_UNIT
|
protected static String |
CMD_NEWFOLDER
Command for connecting |
protected static String |
CMD_NEWPARASET
|
private JPanel |
contents
|
private DataSourceImpl |
dataSource
|
private JTextField |
folderFld
Install new folder fld |
private McIDASVHistogramWrapper |
histoWrapper
|
private FlatField |
image
|
private static XmlResourceCollection |
imageDefaults
Holds the ADDE servers and groups |
private static Document |
imageDefaultsDocument
The user imagedefaults xml document |
private static Element |
imageDefaultsRoot
The user imagedefaults xml root |
private Node |
lastCat
|
private static Element |
lastClicked
|
private static org.slf4j.Logger |
logger
|
private String |
newCompName
|
private static String |
newFolder
|
private JButton |
newFolderBtn
|
private JButton |
newSetBtn
|
private JFrame |
saveWindow
save parameter set |
private JComponent |
statusComp
Status bar component |
private JLabel |
statusLabel
Shows the status |
private static String |
TAG_DEFAULT
|
private static String |
TAG_FOLDER
|
private JPanel |
treePanel
Holds the current save set tree |
private XmlTree |
xmlTree
|
Fields inherited from class ucar.unidata.idv.control.PlanViewControl |
---|
currentLevel, currentLevels, currentSlice, datachoice, haveEnsemble, levelReadout, MACRO_LEVEL, SHARE_LEVEL |
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, 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 | |
---|---|
ImagePlanViewControl()
|
Method Summary | |
---|---|
private void |
addToContents(JComponent comp)
Remove the currently display gui and insert the given one. |
protected void |
contrastStretch(double low,
double high)
|
private void |
doDeleteRequest(Node node)
|
Container |
doMakeContents()
Called by doMakeWindow in DisplayControlImpl, which then calls its doMakeMainButtonPanel(), which makes more buttons. |
private void |
doRename(Element node)
|
DataSourceImpl |
getDataSource()
|
private List |
getFolders()
|
protected JComponent |
getHistogramTabComponent()
|
protected XmlResourceCollection |
getImageDefaults()
Get the xml resource collection that defines the image default xml |
protected void |
getSaveMenuItems(List items,
boolean forMenuBar)
|
boolean |
init(DataChoice dataChoice)
|
private Node |
makeNewFolder()
|
private Hashtable |
makeParameterValues()
|
private boolean |
makePopupMenu(XmlTree theTree,
Element node,
JPopupMenu popup)
Create and popup a command menu for when the user has clicked on the given xml node. |
private void |
makeXmlTree()
Just creates an empty XmlTree |
void |
moveParameterSet(Element parent,
Element newFolder)
|
private void |
newComponentError(String comp)
|
void |
popupPersistImageParameters()
|
void |
popupSaveImageParameters()
|
private void |
removeNode(Element node)
|
void |
resetColorTable()
|
void |
saveDataToLocalDisk()
|
Element |
saveParameterSet()
|
boolean |
setData(DataChoice dataChoice)
|
void |
setRange(Range newRange)
|
private void |
setStatus(String msg)
|
private void |
showSaveDialog()
|
Methods inherited from class ucar.unidata.idv.control.ImagePlanViewControl |
---|
applyTextureQuality, createPlanDisplay, getAllowSmoothing, getDataProjectionLabel, getInitialColorTable, getInitialRange, getIsRaster, getSkipWidgetLabel, getSliceForDisplay |
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 |
---|
private static final org.slf4j.Logger logger
private static final String TAG_FOLDER
private static final String TAG_DEFAULT
private static final String ATTR_NAME
private static final String ATTR_SERVER
private static final String ATTR_POS
private static final String ATTR_DAY
private static final String ATTR_TIME
private static final String ATTR_UNIT
protected static final String CMD_NEWFOLDER
protected static final String CMD_NEWPARASET
private JFrame saveWindow
private static String newFolder
private XmlTree xmlTree
private JTextField folderFld
private JPanel treePanel
private static Element imageDefaultsRoot
private static Document imageDefaultsDocument
private static XmlResourceCollection imageDefaults
private Node lastCat
private static Element lastClicked
private JButton newFolderBtn
private JButton newSetBtn
private String newCompName
private JLabel statusLabel
private JComponent statusComp
private JPanel contents
private DataSourceImpl dataSource
private FlatField image
private McIDASVHistogramWrapper histoWrapper
Constructor Detail |
---|
public ImagePlanViewControl()
Method Detail |
---|
public boolean init(DataChoice dataChoice) throws VisADException, RemoteException
init
in class PlanViewControl
VisADException
RemoteException
protected XmlResourceCollection getImageDefaults()
public Container doMakeContents()
doMakeContents
in class PlanViewControl
protected JComponent getHistogramTabComponent()
protected void contrastStretch(double low, double high)
public boolean setData(DataChoice dataChoice) throws VisADException, RemoteException
setData
in class ImagePlanViewControl
VisADException
RemoteException
public void setRange(Range newRange) throws RemoteException, VisADException
setRange
in class DisplayControlImpl
RemoteException
VisADException
public void resetColorTable()
protected void getSaveMenuItems(List items, boolean forMenuBar)
getSaveMenuItems
in class DisplayControlImpl
public void popupPersistImageParameters()
private Hashtable makeParameterValues()
public void saveDataToLocalDisk()
public void popupSaveImageParameters()
private void showSaveDialog()
private void newComponentError(String comp)
private void setStatus(String msg)
private void removeNode(Element node)
private Node makeNewFolder()
private void makeXmlTree()
private List getFolders()
private void doDeleteRequest(Node node)
private boolean makePopupMenu(XmlTree theTree, Element node, JPopupMenu popup)
theTree
- The XmlTree object displaying the current xml document.node
- The xml node the user clicked on.popup
- The popup menu to put the menu items in.
public void moveParameterSet(Element parent, Element newFolder)
private void doRename(Element node)
private void addToContents(JComponent comp)
comp
- The new gui.public DataSourceImpl getDataSource()
public Element saveParameterSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |