|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTopComponent
org.gjt.jclasslib.nbmodule.ClassFileViewer
Parent component for a class file browser in Netbeans.
Constructor Summary | |
ClassFileViewer()
Constructor. |
Method Summary | |
void |
activate()
Activate this view. |
boolean |
canClose(Workspace workspace,
boolean last)
|
boolean |
canOpenClassFiles()
Indicates whether openClassFile will be able to show class files or not. |
Action |
getActionBackward()
Get the Action which allows to move backward in the navigation history. |
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. |
static ClassFileViewer |
getCachedClassFileViewer(FileObject fo)
Retrieve an already opened ClassFileViewer or create a new one if necessary. |
ClassFile |
getClassFile()
Get the ClassFile object for the show class file. |
Image |
getIcon()
|
void |
open(Workspace ws)
|
void |
openClassFile(String className,
BrowserPath browserPath)
Open a class. |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassFileViewer()
Method Detail |
public static ClassFileViewer getCachedClassFileViewer(FileObject fo)
fo
- the FileObject for which to create a
ClassFileViewer
public boolean canClose(Workspace workspace, boolean last)
public Image getIcon()
public void open(Workspace ws)
public void writeExternal(ObjectOutput out) throws IOException
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public ClassFile getClassFile()
BrowserServices
getClassFile
in interface BrowserServices
public BrowserComponent getBrowserComponent()
BrowserServices
getBrowserComponent
in interface BrowserServices
public Action getActionBackward()
BrowserServices
getActionBackward
in interface BrowserServices
public Action getActionForward()
BrowserServices
getActionForward
in interface BrowserServices
public void openClassFile(String className, BrowserPath browserPath)
BrowserServices
openClassFile
in interface BrowserServices
className
- the name of the class.browserPath
- an optional BrowserPath object. May be null.public boolean canOpenClassFiles()
BrowserServices
canOpenClassFiles
in interface BrowserServices
public void activate()
BrowserServices
activate
in interface BrowserServices
|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |