|
ej-technologies | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--org.openide.windows.TopComponent
|
+--org.gjt.jclasslib.nbmodule.ClassFileViewer
Parent component for a class file browser in Netbeans.
| Field Summary |
| Fields inherited from class org.openide.windows.TopComponent |
CLOSE_EACH, CLOSE_LAST |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ClassFileViewer()
Constructor. |
|
| Method Summary | |
void |
activate()
Activate this view. |
boolean |
canClose(Workspace workspace,
boolean last)
|
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(org.openide.filesystems.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 org.openide.windows.TopComponent |
availableModes, close, close, closeNotify, componentActivated, componentClosed, componentDeactivated, componentHidden, componentOpened, componentShowing, getAccessibleContext, getActivatedNodes, getCloseOperation, getHelpCtx, getRegistry, getSystemActions, getUndoRedo, isOpened, isOpened, open, openNotify, requestFocus, requestVisible, setActivatedNodes, setCloseOperation, setIcon, setName, writeReplace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ClassFileViewer()
| Method Detail |
public static ClassFileViewer getCachedClassFileViewer(org.openide.filesystems.FileObject fo)
fo - the FileObject for which to create a
ClassFileViewer
public boolean canClose(Workspace workspace,
boolean last)
canClose in class TopComponentpublic Image getIcon()
getIcon in class TopComponentpublic void open(Workspace ws)
open in class TopComponent
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class TopComponentIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class TopComponentIOException
ClassNotFoundExceptionpublic ClassFile getClassFile()
BrowserServices
getClassFile in interface BrowserServicespublic BrowserComponent getBrowserComponent()
BrowserServices
getBrowserComponent in interface BrowserServicespublic Action getActionBackward()
BrowserServices
getActionBackward in interface BrowserServicespublic Action getActionForward()
BrowserServices
getActionForward in interface BrowserServices
public void openClassFile(String className,
BrowserPath browserPath)
BrowserServices
openClassFile in interface BrowserServicesclassName - the name of the class.browserPath - an optional BrowserPath object. May be null.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 | |||||||||