|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscratch.danyel.QuickDraw
public class QuickDraw
Three easy methods for quickly and painlessly popping a graph on screen for debugging. WARNING: this will start the AWT/Swing thread. Your program will not end when the last window is closed, nor will it end when your main thread finishes. You will need to explicitly call
System.exit(1)in order to terminate the program. (Java is annoying like that.)
Constructor Summary | |
---|---|
QuickDraw()
|
Method Summary | |
---|---|
static void |
main(String[] s)
|
static void |
quickDraw(Graph g)
Draws a graph quickly with its default StringLabeller (or nothing) and the SettableRenderer with the "light" style. |
static void |
quickDraw(Graph g,
StringLabeller sl)
Draws a graph quickly with the given StringLabeller and the SettableRenderer with the "light" style. |
static void |
quickDrawWithToString(Graph g)
Draws a graph quickly with a ToString labeller and the SettableRenderer with the "light" style. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuickDraw()
Method Detail |
---|
public static void quickDrawWithToString(Graph g)
public static void quickDraw(Graph g)
public static void quickDraw(Graph g, StringLabeller sl)
public static void main(String[] s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |