|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NavigationController interface must be implemented by each class that wants to control the navigation among views.
Method Summary | |
---|---|
void |
activateView(java.lang.String viewId)
Activates the view passed as the parameter. |
void |
activeSubView(java.lang.String viewId,
java.util.Hashtable position)
Shows the identified view with a fixed position and size passed as parameters. |
void |
cancel(java.lang.String viewId)
Initiates a rollback sequence. |
void |
close()
Gets the active view and calls the closeView method to close it. |
void |
closeNavigation(java.lang.String viewId,
DataMapperFormat mapper)
Closes all the panels of the navigation and, if a closeMapFormat is declared, maps the value to the active view. |
void |
closeNavigation(java.lang.String viewId,
java.lang.String closeMapFormat)
Closes all the panels of the navigation and uses the closeMapFormat to map the value to the active view. |
void |
closeView(java.lang.String id)
Closes the identified view. |
void |
deActivateView(java.lang.String viewId)
Deactivates the identified view. |
void |
deRegisterSubView(java.lang.String viewId)
Removes the entry of this view from the View registry. |
java.lang.String |
getActiveView()
Returns the value of the activeView property. |
java.util.Vector |
getChilds(java.lang.String viewId)
Returns the value of the children property. |
SpInternalFrame |
getNavigationArea()
Returns the value of the NavigationArea property. |
java.lang.String |
getNextView(java.lang.String viewId)
Returns the value of the nextView property. |
java.lang.String |
getParent(java.lang.String viewId)
Returns the value of the parent property. |
java.util.Vector |
getPeers(java.lang.String viewId)
Returns the peers of the identified view. |
java.lang.String |
getPreviousView(java.lang.String viewId)
Returns the viewId of the previous view. |
CoordinatedPanel |
getViewInstance(java.lang.String viewId)
Returns the instance of the viewId. |
boolean |
isChildren(java.lang.String viewId)
Indicates whether the identified view has children views. |
boolean |
isPeer(java.lang.String viewId)
Indicates whether the identified view has peer views. |
void |
nextView(java.lang.String viewId,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat)
Instantiates the identified view, sets it as the active view, updates the registry with the view's properties, and shows it. |
void |
nextView(java.lang.String id,
java.lang.String source,
ClientOperation operation,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputPathFormat)
Shows the next view, activates it, and stores the IDs of the next and previous views. |
void |
nextView(java.lang.String id,
java.lang.String source,
ClientOperation operation,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputPathFormat,
java.util.Hashtable position)
Shows the next view, activates it, and stores the IDs of the next and previous views. |
void |
openView(java.lang.String viewId)
Instantiates the identified view, sets it as the active view, and shows it. |
void |
openView(java.lang.String viewId,
ClientOperation op,
java.lang.Boolean executeOp)
Instantiates the identified view, associates the operation with it, sets it as the active view, and shows it. |
void |
openView(java.lang.String viewId,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat)
Instantiates the identified view, sets it as the active view, updates the registry with the view's properties, and shows it. |
void |
openView(java.lang.String viewId,
java.lang.String viewSource,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
DataMapperFormat mapper)
Instantiates the identified view, sets it as the active view, and stores all the information related to this view. |
void |
openView(java.lang.String viewId,
java.lang.String viewSource,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
DataMapperFormat mapper,
java.util.Hashtable position)
Opens a view, activates it, and stores all information related to the view. |
void |
openView(java.lang.String viewId,
java.lang.String viewSource,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat)
Instantiates the identified view, sets it as the active view, updates the registry with the view's properties, and shows it. |
void |
openView(java.lang.String viewId,
java.lang.String viewSource,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat,
java.util.Hashtable position)
Instantiates the identified view, sets it as the active view, updates the registry with the view's properties, and shows it. |
void |
previousView()
Activates and shows the previous view. |
void |
reactivateSubView(java.lang.String viewId)
Reactivates the identified view. |
void |
refreshActiveView()
Refreshes the active view of the Task. |
void |
resizeActiveView(int height,
int width)
Resizes the currently displayed view. |
void |
resizeActiveView(int height,
int width,
int xpos,
int ypos)
Resizes and relocates the currently displayed view. |
void |
setActiveView(java.lang.String viewId)
Sets the value of the ActiveView property. |
void |
setLevel(int i)
return - the level of the navigationArea with respect to the WorkingArea |
void |
setNavigationArea(SpInternalFrame na)
Sets the value of the NavigationArea property. |
void |
setProcess(Processor proc)
Sets the value of the process property. |
void |
undo(java.lang.String viewId)
Initiates a rollback sequence for the active view, restores the view hierarchy, and activates the parent view. |
Method Detail |
public void activateView(java.lang.String viewId)
public void activeSubView(java.lang.String viewId, java.util.Hashtable position)
viewId
- java.lang.String - identifier of the viewposition
- java.util.Hashtable - position and size of the viewpublic void cancel(java.lang.String viewId)
public void close()
public void closeNavigation(java.lang.String viewId, java.lang.String closeMapFormat)
public void closeNavigation(java.lang.String viewId, DataMapperFormat mapper)
public void closeView(java.lang.String id)
id
- java.lang.String - identifier of the viewpublic void deActivateView(java.lang.String viewId)
public void deRegisterSubView(java.lang.String viewId)
viewId
- java.lang.String - identifier of the viewpublic java.lang.String getActiveView()
public java.util.Vector getChilds(java.lang.String viewId)
public SpInternalFrame getNavigationArea()
public java.lang.String getNextView(java.lang.String viewId)
public java.lang.String getParent(java.lang.String viewId)
public java.util.Vector getPeers(java.lang.String viewId)
public java.lang.String getPreviousView(java.lang.String viewId)
public CoordinatedPanel getViewInstance(java.lang.String viewId)
public boolean isChildren(java.lang.String viewId)
public boolean isPeer(java.lang.String viewId)
public void nextView(java.lang.String viewId, ClientOperation op, int navigation, java.lang.String linkContextTo, java.lang.String inputMapFormat)
viewId
- Stringop
- ClientOperationnavigation
- intlinkContextTo
- StringinputMapFormat
- Stringpublic void nextView(java.lang.String id, java.lang.String source, ClientOperation operation, int navigation, java.lang.String linkContextTo, java.lang.String inputPathFormat)
id
- java.lang.String - identifier of the viewsource
- java.lang.String - full name of the viewoperation
- ClientOperationnavigation
- intlinkContextTo
- Stringpublic void nextView(java.lang.String id, java.lang.String source, ClientOperation operation, int navigation, java.lang.String linkContextTo, java.lang.String inputPathFormat, java.util.Hashtable position)
id
- java.lang.String - identifier of the viewsource
- java.lang.String - full name of the viewoperation
- ClientOperationnavigation
- intlinkContextTo
- Stringposition
- java.util.Hashtablepublic void openView(java.lang.String viewId) throws java.lang.Exception
viewId
- String
java.lang.Exception
public void openView(java.lang.String viewId, ClientOperation op, int navigation, java.lang.String linkContextTo, java.lang.String inputMapFormat)
viewId
- Stringop
- ClientOperationnavigation
- intlinkContextTo
- StringinputMapFormat
- Stringpublic void openView(java.lang.String viewId, ClientOperation op, java.lang.Boolean executeOp) throws java.lang.Exception
viewId
- Stringop
- StringexecuteOp
- Boolean
java.lang.Exception
public void openView(java.lang.String viewId, java.lang.String viewSource, ClientOperation op, int navigation, java.lang.String linkContextTo, DataMapperFormat mapper)
viewId
- java.lang.String - identifier of the viewviewSource
- java.lang.String - name of the package of the viewop
- ClientOperationnavigation
- intlinkContextTo
- Stringpublic void openView(java.lang.String viewId, java.lang.String viewSource, ClientOperation op, int navigation, java.lang.String linkContextTo, DataMapperFormat mapper, java.util.Hashtable position)
viewId
- java.lang.String - identifier of the viewviewSource
- java.lang.String - name of the package of the viewop
- ClientOperationnavigation
- intlinkContextTo
- Stringmapper
- DataMapperFormatposition
- java.util.Hashtablepublic void openView(java.lang.String viewId, java.lang.String viewSource, ClientOperation op, int navigation, java.lang.String linkContextTo, java.lang.String inputMapFormat)
viewId
- Stringop
- ClientOperationnavigation
- intlinkContextTo
- StringinputMapFormat
- Stringpublic void openView(java.lang.String viewId, java.lang.String viewSource, ClientOperation op, int navigation, java.lang.String linkContextTo, java.lang.String inputMapFormat, java.util.Hashtable position)
viewId
- Stringop
- ClientOperationnavigation
- intlinkContextTo
- StringinputMapFormat
- booleanposition
- java.util.Hashtablepublic void previousView()
public void reactivateSubView(java.lang.String viewId)
viewId
- java.lang.Stringpublic void refreshActiveView()
public void resizeActiveView(int height, int width)
public void resizeActiveView(int height, int width, int xpos, int ypos)
public void setActiveView(java.lang.String viewId)
viewId
- String - the new value of the propertypublic void setLevel(int i)
public void setNavigationArea(SpInternalFrame na)
na
- JComponent - the new value of the propertypublic void setProcess(Processor proc)
proc
- com.ibm.dse.automaton.DSEProcessor - the new value of the property.public void undo(java.lang.String viewId)
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |