com.ibm.dse.desktop
Class ViewRegistry

java.lang.Object
  |
  +--com.ibm.dse.desktop.ViewRegistry

public class ViewRegistry
extends java.lang.Object

The ViewRegistry class enables you to keep information about a specific navigation. When a new view is opened this class is created and a is added to the ViewRegistryList.


Constructor Summary
ViewRegistry()
          This constructor creates a ViewRegistry object.
 
Method Summary
 java.lang.String getCurrentState()
          Gets the current state related to the view described by the ViewRegistry.
 int getNavigationType()
          Gets the navigation type of the view described by the ViewRegistry.
 java.lang.String getNextView()
          Gets the viewId of the nextView described by the ViewRegistry.
 javax.swing.JInternalFrame getOwner()
          Gets the Container of the view described by the ViewRegistry.
 java.lang.String getParentView()
          Gets the parent view of the view described by the ViewRegistry.
 java.lang.String getPreviousView()
          Gets the previous view of the view described by the ViewRegistry.
 boolean getUnchain()
          Gets the boolean that describes the way of unchain of the view described by the ViewRegistry.
 CoordinatedPanel getView()
          Gets the JPanel of the view described by the ViewRegistry.
 int getXpos()
          Gets the x position of the view described by the ViewRegistry.
 int getYpos()
          Gets the y position of the view described by the ViewRegistry.
 void setCurrentState(java.lang.Object o)
          Sets the current state of the view described by the ViewRegistry.
 void setNavigationType(int i)
          Sets the navigation type related to the view described by the ViewRegistry.
 void setNextView(java.lang.Object o)
          Sets the next view associated to the view described by the ViewRegistry.
 void setOwner(java.lang.Object o)
          Sets the owner of the view described by the ViewRegistry.
 void setParentView(java.lang.Object newValue)
          Sets the parent view associated to the view described by the ViewRegistry.
 void setPreviousView(java.lang.Object o)
          Sets previous view associated to the view described by the ViewRegistry.
 void setUnchain(boolean b)
          Sets unchain boolean that sets how is setted the context.
 void setView(java.lang.Object o)
          Sets the view that the ViewRegistry defines.
 void setXpos(int f)
          Sets the x position associates to the view described by the ViewRegistry.
 void setYpos(int f)
          Sets the y position associates to the view described by the ViewRegistry.
 
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 related to the view described by the ViewRegistry.
Returns:
java.lang.String

getNavigationType

public int getNavigationType()
Gets the navigation type of the view described by the ViewRegistry.
Returns:
int

getNextView

public java.lang.String getNextView()
Gets the viewId of the nextView described by the ViewRegistry.
Returns:
java.lang.String

getOwner

public javax.swing.JInternalFrame getOwner()
Gets the Container of the view described by the ViewRegistry.
Returns:
java.awt.Container

getParentView

public java.lang.String getParentView()
Gets the parent view of the view described by the ViewRegistry.
Returns:
String

getPreviousView

public java.lang.String getPreviousView()
Gets the previous view of the view described by the ViewRegistry.
Returns:
java.lang.String

getUnchain

public boolean getUnchain()
Gets the boolean that describes the way of unchain of the view described by the ViewRegistry.
Returns:
boolean

getView

public CoordinatedPanel getView()
Gets the JPanel of the view described by the ViewRegistry.
Returns:
CoordinatedPanel

getXpos

public int getXpos()
Gets the x position of the view described by the ViewRegistry.
Returns:
float

getYpos

public int getYpos()
Gets the y position of the view described by the ViewRegistry.
Returns:
float

setCurrentState

public void setCurrentState(java.lang.Object o)
Sets the current state of the view described by the ViewRegistry.
Parameters:
o - java.lang.Object

setNavigationType

public void setNavigationType(int i)
Sets the navigation type related to the view described by the ViewRegistry.
Parameters:
o - java.lang.Object

setNextView

public void setNextView(java.lang.Object o)
Sets the next view associated to the view described by the ViewRegistry.
Parameters:
newValue - boolean

setOwner

public void setOwner(java.lang.Object o)
Sets the owner of the view described by the ViewRegistry.
Parameters:
o - java.lang.Object

setParentView

public void setParentView(java.lang.Object newValue)
Sets the parent view associated to the view described by the ViewRegistry.
Parameters:
newValue - Object

setPreviousView

public void setPreviousView(java.lang.Object o)
Sets previous view associated to the view described by the ViewRegistry.
Parameters:
Object -  

setUnchain

public void setUnchain(boolean b)
Sets unchain boolean that sets how is setted the context.
Parameters:
boolean -  

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 associates to the view described by the ViewRegistry.
Parameters:
Object -  

setYpos

public void setYpos(int f)
Sets the y position associates to the view described by the ViewRegistry.
Parameters:
Object -