|
||||||||||
| 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.ViewManager
ucar.unidata.idv.TimeHeightViewManager
public class TimeHeightViewManager
A wrapper around a TimeHeight display master. Provides an interface for managing user interactions, gui creation, etc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.ViewManager |
|---|
ViewManager.MatrixCommand |
| Field Summary | |
|---|---|
static String |
PREF_GRIDLINES
Preference for grid lines or 2d _ |
| Constructor Summary | |
|---|---|
TimeHeightViewManager()
Default constructor |
|
TimeHeightViewManager(ViewContext viewContext)
Construct a TimeHeightViewManager from an IDV |
|
TimeHeightViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties)
Construct a TimeHeightViewManager with the specified params |
|
| Method Summary | |
|---|---|
boolean |
addDisplayInfo(DisplayInfo displayInfo)
Override base class method to force setting fast rendering to true. |
boolean |
animationOk()
Do we support animation? |
protected Container |
doMakeContents()
Make the GUI contents. |
protected DisplayMaster |
doMakeDisplayMaster()
Factory method to create the display master |
boolean |
getClipping()
Get the clipping flag |
protected void |
getInitialBooleanProperties(List props)
Add to the intial Boolean properties |
boolean |
getShowGridLines()
Get the show cursor readout flag |
boolean |
getShowSideLegend()
Don't show the side legend |
TimeHeightDisplay |
getTimeHeightDisplay()
Helper method |
boolean |
getUseFastRendering(boolean b)
This is called by display controls and allows us to force fast rendering |
protected void |
handleBooleanPropertyChange(String id,
boolean value)
The BooleanProperty identified byt he given id has changed. |
protected void |
initBooleanProperties()
Set some properties |
void |
initializeViewMenu(JMenu viewMenu)
Initialize the view menu |
protected JMenu |
makeShowMenu()
Create and return the show menu. |
void |
setClipping(boolean value)
Set the clipping flag |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PREF_GRIDLINES
| Constructor Detail |
|---|
public TimeHeightViewManager()
public TimeHeightViewManager(ViewContext viewContext)
TimeHeightViewManager from an IDV
viewContext - Really the IDV
public TimeHeightViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties)
throws VisADException,
RemoteException
TimeHeightViewManager with the specified params
viewContext - context in which this MVM existsdesc - ViewDescriptorproperties - semicolon separated list of properties (can be null)
RemoteException
VisADException| Method Detail |
|---|
public TimeHeightDisplay getTimeHeightDisplay()
protected DisplayMaster doMakeDisplayMaster()
throws VisADException,
RemoteException
doMakeDisplayMaster in class ViewManagerRemoteException - On badness
VisADException - On badnesspublic boolean getUseFastRendering(boolean b)
getUseFastRendering in class ViewManagerb - The displays fast rendering flag
public boolean addDisplayInfo(DisplayInfo displayInfo)
throws RemoteException,
VisADException
addDisplayInfo in class ViewManagerdisplayInfo - The display info to add.
RemoteException
VisADException
protected void handleBooleanPropertyChange(String id,
boolean value)
throws Exception
handleBooleanPropertyChange in class ViewManagerid - Id of the changed BooleanPropertyvalue - Its new value
Exception - problem handeling the changeprotected JMenu makeShowMenu()
makeShowMenu in class ViewManagerprotected void getInitialBooleanProperties(List props)
getInitialBooleanProperties in class ViewManagerprops - list to add toprotected Container doMakeContents()
doMakeContents in class ViewManagerprotected void initBooleanProperties()
initBooleanProperties in class ViewManagerpublic void initializeViewMenu(JMenu viewMenu)
initializeViewMenu in class ViewManagerviewMenu - The view menupublic boolean getShowGridLines()
public void setClipping(boolean value)
value - The valuepublic boolean getClipping()
public boolean animationOk()
animationOk in class ViewManagerpublic boolean getShowSideLegend()
getShowSideLegend in class ViewManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||