public final class ConnectionNodeDecorator extends DefaultContainer
_children
LOG_READONLY
Constructor and Description |
---|
ConnectionNodeDecorator(Element element) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeImpl()
Subclasses should override this method to customize the close() behavior.
|
ConnectionNode |
getConnectionNode() |
javax.swing.Icon |
getIcon()
Displayable interface method. |
java.lang.String |
getLongLabel()
Displayable interface method. |
java.lang.String |
getShortLabel()
Displayable interface method. |
java.lang.String |
getToolTipText()
Displayable interface method. |
protected void |
openImpl()
Subclasses should override this method to customize the open() behavior.
|
void |
setConnectionNode(ConnectionNode connectionNode) |
add, add, canAdd, canRemove, containsChild, getChildren, mayHaveChildren, remove, remove, removeAll, removeAll, size
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getData, getInputStream, getSubject, getTimestamp, getTimestampLoadedUnsafe, getTransientProperties, getUnmodifiedTimestamp, getURL, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, saveImpl, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttributes, getData
toString
public ConnectionNodeDecorator(Element element)
public final ConnectionNode getConnectionNode()
public final void setConnectionNode(ConnectionNode connectionNode)
public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns a generic icon.getIcon
in interface Displayable
getIcon
in class Node
Icon
to be displayed for the Displayable
.public java.lang.String getToolTipText()
Node
Displayable
interface method. The Node class returns returns the String form of the currently set URL
.getToolTipText
in interface Displayable
getToolTipText
in class Node
Displayable
.public java.lang.String getLongLabel()
Node
Displayable
interface method. The Node class returns the path name part of the currently set URL
. If the currently set URL
is null
, then this method returns "<null>".getLongLabel
in interface Displayable
getLongLabel
in class Node
Displayable
that can be shown to the user.public java.lang.String getShortLabel()
Node
Displayable
interface method. The Node class returns the file name part of the currently set URL
. If the currently set URL
is null
, then this method returns "<null>".getShortLabel
in interface Displayable
getShortLabel
in class Node
Displayable
that can be shown to the user.protected void openImpl() throws java.io.IOException
Node
Node.open()
invokes this only if the node is not open, under write lock. The Node
implementation does nothing.protected void closeImpl() throws java.io.IOException
Node
Node.close()
invokes this only if the node is open, under write lock. The Node
implementation does nothing.