ej-technologies

org.gjt.jclasslib.browser
Interface BrowserServices

All Known Implementing Classes:
BrowserInternalFrame

public interface BrowserServices

Container services for a BrowserComponent.

Version:
$Revision: 1.6 $ $Date: 2006-03-02 11:42:37 $
Author:
Ingo Kegel

Method Summary
 void activate()
          Activate this view.
 boolean canOpenClassFiles()
          Indicates whether openClassFile will be able to show class files or not.
 javax.swing.Action getActionBackward()
          Get the Action which allows to move backward in the navigation history.
 javax.swing.Action getActionForward()
          Get the Action which allows to move forward in the navigation history.
 BrowserComponent getBrowserComponent()
          Get the BrowserComponent which is the top parent of the visual hierarchy of the class file browser.
 ClassFile getClassFile()
          Get the ClassFile object for the show class file.
 void openClassFile(java.lang.String className, BrowserPath browserPath)
          Open a class.
 void showURL(java.lang.String urlSpec)
          Show a URL in the browser.
 

Method Detail

getClassFile

ClassFile getClassFile()
Get the ClassFile object for the show class file.

Returns:
the ClassFile object

activate

void activate()
Activate this view.


getBrowserComponent

BrowserComponent getBrowserComponent()
Get the BrowserComponent which is the top parent of the visual hierarchy of the class file browser.

Returns:
the BrowserComponent

getActionBackward

javax.swing.Action getActionBackward()
Get the Action which allows to move backward in the navigation history.

Returns:
the Action

getActionForward

javax.swing.Action getActionForward()
Get the Action which allows to move forward in the navigation history.

Returns:
the Action

openClassFile

void openClassFile(java.lang.String className,
                   BrowserPath browserPath)
Open a class.

Parameters:
className - the name of the class.
browserPath - an optional BrowserPath object. May be null.

canOpenClassFiles

boolean canOpenClassFiles()
Indicates whether openClassFile will be able to show class files or not.

Returns:
the value

showURL

void showURL(java.lang.String urlSpec)
Show a URL in the browser.

Parameters:
urlSpec - the URL as a browser

ej-technologies