org.argouml.ui
Class NavigationHistory

java.lang.Object
  |
  +--org.argouml.ui.NavigationHistory

Deprecated. since 0.15.2 replace with TargetManager,

public class NavigationHistory
extends java.lang.Object

This class implements a navigation history

Since:
0.9

Field Summary
private  java.util.List _history
          Deprecated.  
(package private)  int _isBackEnabled
          Deprecated.  
(package private)  int _isForwardEnabled
          Deprecated.  
private  int _position
          Deprecated.  
 
Constructor Summary
NavigationHistory()
          Deprecated.  
 
Method Summary
 boolean isNavigateBackEnabled()
          Deprecated. Returns true if this listener has a target for a back navigation.
 boolean isNavigateForwardEnabled()
          Deprecated. Returns true if this listener has a target for a back navigation.
 java.lang.Object navigateBack(boolean attempt)
          Deprecated. Called to navigate to previous selection returns true if navigation performed
 java.lang.Object navigateForward(boolean attempt)
          Deprecated. Called to navigate to next selection returns true if navigation performed
 void navigateTo(java.lang.Object element)
          Deprecated. Called by a user interface element when a request to navigate to a model element has been received.
 void open(java.lang.Object element)
          Deprecated. Called by a user interface element when a request to open a model element in a new window has been recieved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_history

private java.util.List _history
Deprecated. 

_position

private int _position
Deprecated. 

_isForwardEnabled

int _isForwardEnabled
Deprecated. 

_isBackEnabled

int _isBackEnabled
Deprecated. 
Constructor Detail

NavigationHistory

public NavigationHistory()
Deprecated. 
Method Detail

navigateTo

public void navigateTo(java.lang.Object element)
Deprecated. 
Called by a user interface element when a request to navigate to a model element has been received.


open

public void open(java.lang.Object element)
Deprecated. 
Called by a user interface element when a request to open a model element in a new window has been recieved.


navigateBack

public java.lang.Object navigateBack(boolean attempt)
Deprecated. 
Called to navigate to previous selection returns true if navigation performed

Parameters:
attempt - false if navigation accomplished by earlier listener
Returns:
true if navigation performed

navigateForward

public java.lang.Object navigateForward(boolean attempt)
Deprecated. 
Called to navigate to next selection returns true if navigation performed

Parameters:
attempt - false if navigation accomplished by earlier listener
Returns:
true if navigation performed

isNavigateBackEnabled

public boolean isNavigateBackEnabled()
Deprecated. 
Returns true if this listener has a target for a back navigation. Only one listener needs to return true for the back button to be enabled.


isNavigateForwardEnabled

public boolean isNavigateForwardEnabled()
Deprecated. 
Returns true if this listener has a target for a back navigation. Only one listener needs to return true for the back button to be enabled.



ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook