public final class ConnectionNodeDecorator extends DefaultContainer
_childrenLOG_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, sizeaddNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, addWeakNodeListener, 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, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, removeWeakNodeListener, 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, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributes, getDatagetAttributedLabel, toStringpublic ConnectionNodeDecorator(Element element)
public final ConnectionNode getConnectionNode()
public final void setConnectionNode(ConnectionNode connectionNode)
public javax.swing.Icon getIcon()
NodeDisplayable interface method. The Node class returns
a generic icon.getIcon in interface DisplayablegetIcon in class NodeIcon to be displayed for the
Displayable.public java.lang.String getToolTipText()
NodeDisplayable interface method. The Node class returns
returns the String form of the currently set URL.getToolTipText in interface DisplayablegetToolTipText in class NodeDisplayable.public java.lang.String getLongLabel()
NodeDisplayable 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 DisplayablegetLongLabel in class NodeDisplayable that
can be shown to the user.public java.lang.String getShortLabel()
NodeDisplayable 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 DisplayablegetShortLabel in class NodeDisplayable
that can be shown to the user.protected void openImpl()
throws java.io.IOException
NodeNode.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
NodeNode.close() invokes this only if the node is open, under
write lock. The Node implementation does nothing.