IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.desktop
Class ViewRegistry

java.lang.Object
  extended bycom.ibm.dse.desktop.ViewRegistry

public class ViewRegistry
extends java.lang.Object

The ViewRegistry class keeps information about a specific view in the navigation. When a view is opened, an instance of the class is created to describe the view and is added to the ViewRegistryList.


Constructor Summary
ViewRegistry()
          This constructor creates a ViewRegistry object.
 
Method Summary
 java.lang.String getCurrentState()
          Gets the current state of the ViewRegistry's view.
 int getNavigationType()
          Gets the navigation type of the ViewRegistry's view.
 java.lang.String getNextView()
          Gets the nextView of the ViewRegistry's view.
 javax.swing.JInternalFrame getOwner()
          Gets the Container of the ViewRegistry's view.
 java.lang.String getParentView()
          Gets the parent view of the ViewRegistry's view.
 java.lang.String getPreviousView()
          Gets the previous view of the ViewRegistry's view.
 boolean getSubview()
          Gets the boolean that describes whether the ViewRegistry's view is a subview.
 boolean getUnchain()
          Gets the boolean that describes whether the ViewRegistry's view is unchained from the context.
 CoordinatedPanel getView()
          Gets the JPanel of the ViewRegistry's view.
 int getXpos()
          Gets the X position of the ViewRegistry's view.
 int getYpos()
          Gets the Y position of the ViewRegistry's view.
 void setCurrentState(java.lang.Object o)
          Sets the current state of the ViewRegistry's view.
 void setNavigationType(int i)
          Sets the navigation type related to the ViewRegistry's view.
 void setNextView(java.lang.Object o)
          Sets the next view associated with the ViewRegistry's view.
 void setOwner(java.lang.Object o)
          Sets the owner of the ViewRegistry's view.
 void setParentView(java.lang.Object newValue)
          Sets the parent view associated with the ViewRegistry's view.
 void setPreviousView(java.lang.Object o)
          Sets the previous view associated with the ViewRegistry's view.
 void setSubview(boolean newSubview)
          Sets whether the ViewRegistry's view is a subview.
 void setUnchain(boolean b)
          Sets whether the ViewRegistry's view is unchained from the context.
 void setView(java.lang.Object o)
          Sets the view that the ViewRegistry defines.
 void setXpos(int f)
          Sets the X position associated with the ViewRegistry's view.
 void setYpos(int f)
          Sets the Y position associated with the ViewRegistry's view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewRegistry

public ViewRegistry()
This constructor creates a ViewRegistry object.

Method Detail

getCurrentState

public java.lang.String getCurrentState()
Gets the current state of the ViewRegistry's view.

Returns:
java.lang.String

getNavigationType

public int getNavigationType()
Gets the navigation type of the ViewRegistry's view.

Returns:
int

getNextView

public java.lang.String getNextView()
Gets the nextView of the ViewRegistry's view.

Returns:
java.lang.String

getOwner

public javax.swing.JInternalFrame getOwner()
Gets the Container of the ViewRegistry's view.

Returns:
java.awt.Container

getParentView

public java.lang.String getParentView()
Gets the parent view of the ViewRegistry's view.

Returns:
String

getPreviousView

public java.lang.String getPreviousView()
Gets the previous view of the ViewRegistry's view.

Returns:
java.lang.String

getSubview

public boolean getSubview()
Gets the boolean that describes whether the ViewRegistry's view is a subview.

Returns:
boolean

getUnchain

public boolean getUnchain()
Gets the boolean that describes whether the ViewRegistry's view is unchained from the context.

Returns:
boolean

getView

public CoordinatedPanel getView()
Gets the JPanel of the ViewRegistry's view.

Returns:
CoordinatedPanel

getXpos

public int getXpos()
Gets the X position of the ViewRegistry's view.

Returns:
float

getYpos

public int getYpos()
Gets the Y position of the ViewRegistry's view.

Returns:
float

setCurrentState

public void setCurrentState(java.lang.Object o)
Sets the current state of the ViewRegistry's view.

Parameters:
o - java.lang.Object

setNavigationType

public void setNavigationType(int i)
Sets the navigation type related to the ViewRegistry's view.


setNextView

public void setNextView(java.lang.Object o)
Sets the next view associated with the ViewRegistry's view.


setOwner

public void setOwner(java.lang.Object o)
Sets the owner of the ViewRegistry's view.

Parameters:
o - java.lang.Object

setParentView

public void setParentView(java.lang.Object newValue)
Sets the parent view associated with the ViewRegistry's view.

Parameters:
newValue - Object

setPreviousView

public void setPreviousView(java.lang.Object o)
Sets the previous view associated with the ViewRegistry's view.


setSubview

public void setSubview(boolean newSubview)
Sets whether the ViewRegistry's view is a subview.

Parameters:
newSubview - boolean

setUnchain

public void setUnchain(boolean b)
Sets whether the ViewRegistry's view is unchained from the context.


setView

public void setView(java.lang.Object o)
Sets the view that the ViewRegistry defines.

Parameters:
o - java.lang.Object

setXpos

public void setXpos(int f)
Sets the X position associated with the ViewRegistry's view.


setYpos

public void setYpos(int f)
Sets the Y position associated with the ViewRegistry's view.


IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005