|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NavigationController interface must be implemented by a class that wants to control the navigation among views.
Method Summary | |
void |
activateView(java.lang.String viewId)
This method shows the view associated to this viewId param@ viewId String |
void |
cancel(java.lang.String viewId)
This method initiates a rollback sequence.This method will close or not all the peers for the viewId, restoring the view hierarchy and activating the parent view |
void |
close()
This method gets the active view and call the closeView method to close the view. |
void |
closeNavigation(java.lang.String viewId,
DataMapperFormat mapper)
This method close all the navigation of the panels and if an closeMapFormat is declared maps the value to the active view. |
void |
closeNavigation(java.lang.String viewId,
java.lang.String closeMapFormat)
This method close all the navigation and maps the context of the viewId to the context of the parent view. |
void |
closeView(java.lang.String id)
This method close the view passed as parameter. |
void |
deActivateView(java.lang.String viewId)
This method disactivates the view associated to this viewId |
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 associated to this viewId |
java.lang.String |
getPreviousView(java.lang.String viewId)
returns the String associated to the previous view of the viewId. |
CoordinatedPanel |
getViewInstance(java.lang.String viewId)
This method returns the instance of the viewId |
boolean |
isChildren(java.lang.String viewId)
Indicates that the viewId has children views. |
boolean |
isPeer(java.lang.String viewId)
Indicates that the viewId is peer of another view. |
void |
nextView(java.lang.String viewId,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat)
This method instanciates de viewId,sets this view as the active view,and update the registry with the propertys of the view 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)
This method shows the next view and activates this,and stores the next and previous id of the views |
void |
openView(java.lang.String viewId)
This method instanciates de viewId,sets this view as the active view and shows it . |
void |
openView(java.lang.String viewId,
ClientOperation op,
java.lang.Boolean executeOp)
This method instanciates de viewId and associates the operation name to the view. |
void |
openView(java.lang.String viewId,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat)
This method instanciates de viewId,sets this view as the active view,and update the registry with the propertys of the view and shows it . |
void |
openView(java.lang.String viewId,
java.lang.String viewSource,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
DataMapperFormat mapper)
This method open a view and activates this,and stores all information related to this view |
void |
openView(java.lang.String viewId,
java.lang.String viewSource,
ClientOperation op,
int navigation,
java.lang.String linkContextTo,
java.lang.String inputMapFormat)
This method instanciates de viewId,sets this view as the active view,and update the registry with the propertys of the view and shows it . |
void |
previousView()
This method activates and shows the previous view associated to the activeView |
void |
refreshActiveView()
This method refresh the active view of the Task |
void |
resizeActiveView(int height,
int width)
This method resizes the current displayed view param@ height int param@ width int |
void |
resizeActiveView(int height,
int width,
int xpos,
int ypos)
This method resizes the current displayed view at the indicated position param@ height int param@ width int param@ xpos float param@ ypos float |
void |
setActiveView(java.lang.String viewId)
Sets the value of the ActiveView property. |
void |
setLevel(int i)
return the level of the navigationArea respects 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)
This method initiates a rollback sequence. |
Method Detail |
public void activateView(java.lang.String viewId)
public void cancel(java.lang.String viewId)
public void close()
public void closeNavigation(java.lang.String viewId, DataMapperFormat mapper)
public void closeNavigation(java.lang.String viewId, java.lang.String closeMapFormat)
public void closeView(java.lang.String id)
id
- java.lang.String identifier of the view.public void deActivateView(java.lang.String viewId)
public 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
- DSEClientOperationnavigation
- intcontextUsed
- StringassignContext
- booleanpublic 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 openView(java.lang.String viewId) throws java.lang.Exception
viewId
- Stringpublic void openView(java.lang.String viewId, ClientOperation op, int navigation, java.lang.String linkContextTo, java.lang.String inputMapFormat)
viewId
- Stringop
- DSEClientOperationnavigation
- intcontextUsed
- StringassignContext
- booleanpublic void openView(java.lang.String viewId, ClientOperation op, java.lang.Boolean executeOp) throws java.lang.Exception
viewId
- Stringop
- Stringpublic 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 viewoperation
- ClientOperationnavigation
- intlinkContextTo
- StringDataMapperFormat
- mapperpublic void openView(java.lang.String viewId, java.lang.String viewSource, ClientOperation op, int navigation, java.lang.String linkContextTo, java.lang.String inputMapFormat)
viewId
- Stringop
- DSEClientOperationnavigation
- intcontextUsed
- StringassignContext
- booleanpublic void previousView()
public 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 property.public void setLevel(int i)
public void setNavigationArea(SpInternalFrame na)
na
- JComponent The new value of the property.public void setProcess(Processor proc)
proc
- com.ibm.dse.automaton.DSEProcessor
The new value of the property.public void undo(java.lang.String viewId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |