| java.lang.Object com.db.viewpoint.ViewSite
ViewSite | public class ViewSite extends Object (Code) | | This class defines what an actual viewpoint is based on. It is called by
ViewPoint and you should therefore get ViewSites by defining a ViewPoint and
calling getViewSites();
|
ViewSite | public ViewSite()(Code) | | Builds a new ViewSite
|
ViewSite | public ViewSite(String name)(Code) | | Builds a new ViewSite
Parameters: name - The name of the ViewSite |
ViewSite | public ViewSite(String name, ViewControl[] control, ViewPlatform platform)(Code) | | Builds a new ViewSite
Parameters: name - The name of the ViewSite Parameters: control - The ViewControls for the ViewSite Parameters: platform - The ViewPlatform to which this ViewSite is attached. |
activate | public void activate(View view, int i)(Code) | | If not activated already, attaches the View to the ViewPlatform of this ViewSite, and activates
the i th control of the ViewControl array.
Parameters: view - The View to which attach this ViewSite. Parameters: i - The control to activate. |
deactivate | public void deactivate()(Code) | | If not inactivated already, inactivates
all the controls of the ViewControl array. aDoes not dettach the View to the ViewPlatform of this
ViewSite.
|
getName | public String getName()(Code) | | Retrieves the name for this ViewSite.
The name for this ViewSite. |
getTransformGroup | public TransformGroup getTransformGroup()(Code) | | Retrieves the TransformGroup for this ViewSite. It is the parent node of the
ViewPlateform.
The TransformGroup for this ViewSite. |
getViewControls | public ViewControl[] getViewControls()(Code) | | Retrieves the ViewControl array for this ViewSite.
The ViewControl array for this ViewSite. |
getViewPlatform | public ViewPlatform getViewPlatform()(Code) | | Retrieves the ViewPlatform for this ViewSite.
The ViewPlatform for this ViewSite. |
makeViewPlatform | public TransformGroup makeViewPlatform()(Code) | | Builds up the ViewPlatform for this ViewSite.
The parent node of the ViewPlatform for this ViewSite. |
setName | public void setName(String name)(Code) | | Sets the name for this ViewSite.
Parameters: name - The name for this ViewSite. |
setViewControl | public void setViewControl(ViewControl c)(Code) | | Sets the (only one) ViewControl for this ViewSite.
Parameters: c - The ViewControl for this ViewSite. |
setViewControls | public void setViewControls(ViewControl[] c)(Code) | | Sets the ViewControl array for this ViewSite.
Parameters: c - The ViewControl array for this ViewSite. |
setViewPlatform | public void setViewPlatform(ViewPlatform vp)(Code) | | Sets the ViewPlatform for this ViewSite.
Parameters: vp - The ViewPlatform for this ViewSite. |
toString | public String toString()(Code) | | Retrieves the name for this ViewSite.
The name for this ViewSite. |
|
|