de.hillenbrand.jedi.editor
Class ClassBrowserHistory

java.lang.Object
  extended by de.hillenbrand.jedi.editor.ClassBrowserHistory

public class ClassBrowserHistory
extends java.lang.Object

The class browser history stored all method selected by the user and enabled him to browse back and forth in the list. Classes and Packages are not stored because this might end up in too much entries.


Constructor Summary
ClassBrowserHistory()
           
 
Method Summary
static void addNextComponent(javax.swing.JComponent c)
          Add a component that acts as a "next" component.
static void addPrevComponent(javax.swing.JComponent c)
          Add a component that acts as a "previous" component.
static java.lang.String[] getNextList()
           
static java.lang.String[] getPreviousList()
           
static void init()
          Initializes the class.
static void next()
          Jumps to the next entry in the list.
static void next(int n)
          Jumps to the next n-th entry in the list.
static void previous()
          Jumps to the previous entry in the list.
static void previous(int n)
          Jumps to the n-th previous entry in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassBrowserHistory

public ClassBrowserHistory()
Method Detail

addNextComponent

public static void addNextComponent(javax.swing.JComponent c)
Add a component that acts as a "next" component. It will be disabled and enabled when the corresponding list is empty or not.


addPrevComponent

public static void addPrevComponent(javax.swing.JComponent c)
Add a component that acts as a "previous" component. It will be disabled and enabled when the corresponding list is empty or not.


getNextList

public static java.lang.String[] getNextList()

getPreviousList

public static java.lang.String[] getPreviousList()

init

public static void init()
Initializes the class. It is safe to call this method more than once - initialization will only be made once.


next

public static final void next()
Jumps to the next entry in the list.


next

public static final void next(int n)
Jumps to the next n-th entry in the list.


previous

public static final void previous()
Jumps to the previous entry in the list.


previous

public static final void previous(int n)
Jumps to the n-th previous entry in the list.