Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)


Class JavaNode

  extended by oracle.ide.model.Node
      extended by oracle.ide.model.TextNode
          extended by oracle.ide.model.DeployableTextNode
              extended by oracle.jdeveloper.model.JavaNode
All Implemented Interfaces:
Displayable, Element, LazyLoadable, Locatable, Subject, Dirtyable
Direct Known Subclasses:
JavaClassNode, JavaSourceNode

public abstract class JavaNode
extends DeployableTextNode

The JavaNode represents a Java class element in the JDeveloper browser. A JavaNode could be either a .class file or a .java file; however, JDeveloper normally represents a .java file with JavaSourceNode and a .class file with JavaClassNode, both of which extend JavaNode.

See Also:

Field Summary
Fields inherited from class oracle.ide.model.DeployableTextNode
Fields inherited from class oracle.ide.model.Node
Method Summary
 javax.swing.Icon getIcon()
          Displayable interface method.
 void setIcon(javax.swing.Icon icon)
          Override the default icon for this node.
Methods inherited from class oracle.ide.model.TextNode
acquireTextBuffer, acquireTextBufferOrThrow, addTextBufferListener, closeImpl, createOutputStreamWriter, createReader, getInputStream, getInputStream, getLoadEncoding, getReader, getSaveEncoding, getTextBufferDirectly, hasEmptyTextBuffer, isDirty, isReadOnly, markDirty, markDirtyImpl, openImpl, readUnlock, releaseTextBuffer, removeTextBufferListener, reportOpenException, revertImpl, saveImpl, setDefaultLineTerminator, setLoadEncoding, setSaveEncoding, tryAcquireTextBuffer, upgradeUnlock, urlReadOnlyChanged, writeUnlock
Methods inherited from class oracle.ide.model.Node
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, getURL, isLoaded, isMigrating, isNew, isOpen, isReadLocked, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, lockCount, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, revert, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, unsetMigrating, upgradeLock, writeLock, writeLockCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail


public final javax.swing.Icon getIcon()
                               throws TransientMarker
Description copied from class: Node
Displayable interface method. The Node class returns a generic icon.

Specified by:
getIcon in interface Displayable
getIcon in class Node
the Icon for this node instance


public final void setIcon(javax.swing.Icon icon)
Override the default icon for this node.

icon -

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)


Copyright © 1997, 2010, Oracle. All rights reserved.