|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.ceryle.ui.graph.OccurrenceViewer
public class OccurrenceViewer
Extends Thread to display a Topic Occurrence.
| Nested Class Summary | |
|---|---|
class |
OccurrenceViewer.OccurrenceView
Extends DocumentView by limiting various features, adding a different toolbar and button panel in the South. |
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected Desktop |
m_desktop
|
protected SetModel |
m_occurrences
|
protected Topic |
m_topic
|
protected MessageHandler |
mh
|
protected Services |
srvs
|
protected TMLayoutPanel |
tmlp
|
protected TopicMapProcessor |
tmproc
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
OccurrenceViewer(TMLayoutPanel tmpanel,
Topic topic,
Object o,
Thread current)
Constructor provided a reference to the TMLayoutPanel, an Object that can be either a single Occurrence or a Collection containing one or more Occurrences, and the current Thread. |
|
| Method Summary | |
|---|---|
void |
closeView(boolean force)
Closes the current view after checking for dirtiness. |
int |
getType()
Returns the View type as an int. |
void |
openOccurrences()
Open the occurrence viewer. |
void |
run()
|
boolean |
saveOccurrence()
Saves the occurrence content to either the database or its original file. |
void |
suspendGraphAnimation()
Finishes up the current graph animation, then slows any other TouchGraph thread(s). |
| 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 |
| Field Detail |
|---|
protected SetModel m_occurrences
protected TopicMapProcessor tmproc
protected TMLayoutPanel tmlp
protected Topic m_topic
protected Desktop m_desktop
protected Services srvs
protected MessageHandler mh
| Constructor Detail |
|---|
public OccurrenceViewer(TMLayoutPanel tmpanel,
Topic topic,
Object o,
Thread current)
| Method Detail |
|---|
public void run()
run in interface Runnablerun in class Threadpublic void suspendGraphAnimation()
public void openOccurrences()
throws TopicMapException
TopicMapExceptionpublic boolean saveOccurrence()
public void closeView(boolean force)
public int getType()
View.DOCUMENT
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||