Package ucar.unidata.idv
Class DisplayInfo
java.lang.Object
ucar.unidata.idv.DisplayInfo
This class contains the triple:
DisplayControl,
Displayable
and ViewManager.
It is held by the ViewManager to know which DisplayControls are displaying
in the ViewManager. It is held by the control/DisplayControlImpl to
known which Displayable is displayed in which ViewManager.- Author:
- IDV development team
-
Constructor Summary
ConstructorsConstructorDescriptionDisplayInfo(DisplayControl displayControl, ViewManager viewManager, Displayable displayable) Create this display info. -
Method Summary
Modifier and TypeMethodDescriptionvoidTells the ViewManager to set the display master active.voidAdd this displayInfo to the ViewManager.voidTells the ViewManager to set the display master inactiveGet theDisplayable.booleanHas the displayable that this DisplayInfo holds been added to the viewmanagerReturn theDisplayControlGet theDisplayMaster.booleanGet the ultimate visible propertyReturn theViewManagervoidmoveTo(ViewManager newViewManager) Move the displayable to the newViewManagervoidRemove the displayable from the view managervoidsetDisplayableAdded(boolean v) Sets the displayable added.voidsetUltimateVisible(boolean v) Set the ultimate visible propertyvoidsetViewManager(ViewManager viewManager) Set the view managertoString()
-
Constructor Details
-
DisplayInfo
Create this display info.- Parameters:
displayControl- The display controlviewManager- The view managerdisplayable- The displayable
-
-
Method Details
-
getUltimateVisible
public boolean getUltimateVisible()Get the ultimate visible property- Returns:
- Is displayable visible
-
setUltimateVisible
public void setUltimateVisible(boolean v) Set the ultimate visible property- Parameters:
v- Is displayable visible
-
getDisplayControl
Return theDisplayControl- Returns:
- The display control
-
getViewManager
Return theViewManager- Returns:
- The view manager
-
setViewManager
Set the view manager- Parameters:
viewManager- The view manager
-
getDisplayMaster
Get theDisplayMaster. This just gets the display master from the view manager.- Returns:
- The display master
-
getDisplayable
Get theDisplayable.- Returns:
- The displayable
-
addDisplayable
Add this displayInfo to the ViewManager.- Throws:
RemoteException- the remote exceptionVisADException- the VisAD exception
-
getDisplayableAdded
public boolean getDisplayableAdded()Has the displayable that this DisplayInfo holds been added to the viewmanager- Returns:
- Has the displayable been added.
-
setDisplayableAdded
public void setDisplayableAdded(boolean v) Sets the displayable added.- Parameters:
v- the new displayable added
-
moveTo
Move the displayable to the newViewManager- Parameters:
newViewManager- The new view manager- Throws:
RemoteException- the remote exceptionVisADException- the VisAD exception
-
activateDisplay
Tells the ViewManager to set the display master active.- Throws:
RemoteException- the remote exceptionVisADException- the VisAD exception
-
deactivateDisplay
Tells the ViewManager to set the display master inactive- Throws:
RemoteException- the remote exceptionVisADException- the VisAD exception
-
removeDisplayable
Remove the displayable from the view manager- Throws:
RemoteException- the remote exceptionVisADException- the VisAD exception
-
toString
-