public class DisplayInfo
extends java.lang.Object
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.| Constructor and Description |
|---|
DisplayInfo(DisplayControl displayControl,
ViewManager viewManager,
Displayable displayable)
Create this display info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateDisplay()
Tells the ViewManager to set the display master active.
|
void |
addDisplayable()
Add this displayInfo to the ViewManager.
|
void |
deactivateDisplay()
Tells the ViewManager to set the display master inactive
|
Displayable |
getDisplayable()
Get the
Displayable. |
boolean |
getDisplayableAdded()
Has the displayable that this DisplayInfo holds been added to the viewmanager
|
DisplayControl |
getDisplayControl()
Return the
DisplayControl |
DisplayMaster |
getDisplayMaster()
Get the
DisplayMaster. |
boolean |
getUltimateVisible()
Get the ultimate visible property
|
ViewManager |
getViewManager()
Return the
ViewManager |
void |
moveTo(ViewManager newViewManager)
Move the displayable to the newViewManager
|
void |
removeDisplayable()
Remove the displayable from the view manager
|
void |
setDisplayableAdded(boolean v)
Sets the displayable added.
|
void |
setUltimateVisible(boolean v)
Set the ultimate visible property
|
void |
setViewManager(ViewManager viewManager)
Set the view manager
|
java.lang.String |
toString() |
public DisplayInfo(DisplayControl displayControl, ViewManager viewManager, Displayable displayable)
displayControl - The display controlviewManager - The view managerdisplayable - The displayablepublic boolean getUltimateVisible()
public void setUltimateVisible(boolean v)
v - Is displayable visiblepublic DisplayControl getDisplayControl()
DisplayControlpublic ViewManager getViewManager()
ViewManagerpublic void setViewManager(ViewManager viewManager)
viewManager - The view managerpublic DisplayMaster getDisplayMaster()
DisplayMaster. This just
gets the display master from the view manager.public Displayable getDisplayable()
Displayable.public void addDisplayable()
throws java.rmi.RemoteException,
visad.VisADException
java.rmi.RemoteException - the remote exceptionvisad.VisADException - the VisAD exceptionpublic boolean getDisplayableAdded()
public void setDisplayableAdded(boolean v)
v - the new displayable addedpublic void moveTo(ViewManager newViewManager) throws java.rmi.RemoteException, visad.VisADException
newViewManager - The new view managerjava.rmi.RemoteException - the remote exceptionvisad.VisADException - the VisAD exceptionpublic void activateDisplay()
throws java.rmi.RemoteException,
visad.VisADException
java.rmi.RemoteException - the remote exceptionvisad.VisADException - the VisAD exceptionpublic void deactivateDisplay()
throws java.rmi.RemoteException,
visad.VisADException
java.rmi.RemoteException - the remote exceptionvisad.VisADException - the VisAD exceptionpublic void removeDisplayable()
throws java.rmi.RemoteException,
visad.VisADException
java.rmi.RemoteException - the remote exceptionvisad.VisADException - the VisAD exceptionpublic java.lang.String toString()
toString in class java.lang.Object