|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.ceryle.xnode.util.XNodeOpener
public class XNodeOpener
XNodeOpener extends java.lang.Thread to open files or documents
via the XNodeStore, used by the XNodeShell sample application.
This class was built by stripping all non-XNode content from
ResourceOpener.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
XNodeOpener(XNodeShell shell,
XNodeID xnodeid)
Constructor provided a parent XNodeShell and an XNodeID indicating the Collection ID and XNode ID. |
|
| Method Summary | |
|---|---|
PlainDocument |
getDocument()
Returns the PlainDocument opened, null if unavailable. |
XNode |
getXNode()
Returns the XNode opened, null if unavailable. |
XNodeID |
getXNodeID()
Returns the XNodeID of the opened document, null if unavailable. |
PlainDocument |
openNode(XNodeID xid,
PlainDocument pdoc)
Open the XNode indicated by the XNodeID xid. |
void |
run()
Starts the thread by calling start(). |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XNodeOpener(XNodeShell shell,
XNodeID xnodeid)
throws ProcessException
ProcessException| Method Detail |
|---|
public void run()
run in interface Runnablerun in class Threadpublic XNodeID getXNodeID()
public XNode getXNode()
public PlainDocument getDocument()
public PlainDocument openNode(XNodeID xid,
PlainDocument pdoc)
throws XNodeException,
ProcessException
XNodeException
ProcessException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||