|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
logic.Visualization
public class Visualization
class, that performs the animation by setting the euclidian coordinates of the nodes of the radial layout and defines ring styles
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Visualization()
|
Method Summary | |
---|---|
static long |
getAnimationTiming()
time of animation in nanoseconds |
static Node |
getFocusNode()
returns the focus node |
static GraphProcessing |
getGraphProcessing()
returns the GraphProcessing of the Visualization |
static Node |
getNodeAt(Vector2 pos)
returns the node at a given euclidian position if one is there and run() is not running, otherwise returns null |
static double |
getRadiusOfRing(int Ring)
gets the radius of a particular ring taking ringScaling and ringDisort into account |
static float |
getRingDisort()
the rings are disorted according to their number and ringDisort (outer rings have less distance) |
static float |
getRingScaling()
ring scaling |
void |
run()
performs the animation |
static void |
setAnimationTiming(long animationTiming)
time of animation in nanoseconds |
static void |
setFocusNode(Node focusNode)
sets the focus node of the radial layout |
static void |
setNodesInstantlyToNewPos()
sets the position of the node instantly to the new one |
static void |
setRingDisort(float ringDisort)
the rings are disorted according to their number and ringDisort (outer rings have less distance) |
static void |
setRingScaling(float ringScaling)
ring scaling |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Visualization()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static long getAnimationTiming()
public static void setAnimationTiming(long animationTiming)
animationTiming
- time of animation in nanosecondspublic static float getRingScaling()
public static void setRingScaling(float ringScaling)
ringScaling
- ring scalingpublic static float getRingDisort()
public static void setRingDisort(float ringDisort)
ringDisort
- the rings are disorted according to their number and ringDisortpublic static double getRadiusOfRing(int Ring)
Ring
- to get radius of
public static Node getFocusNode()
public static void setFocusNode(Node focusNode)
focusNode
- public static Node getNodeAt(Vector2 pos)
pos
- position to search
public static GraphProcessing getGraphProcessing()
public static void setNodesInstantlyToNewPos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |