|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
jhplot.HPlotJa
jhplot.SHPlotJa
public class SHPlotJa
A class to create a canvas with several plots and Feynman diagrams. Unlike HPlotJa, it creates a singleton, i.e only one instance is allowed
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class jhplot.HPlotJa |
---|
Exponent, JAVA_CLASSPATH, JAVA_HOME, JAVA_RUNTIME_VERSION, JAVA_VERSION, Key, LabelX, LabelY, OS_ARCH, OS_NAME, OS_VERSION, PREFS_FILENAME, StatBox, Title, USER_HOME, USER_NAME, VERSION, VERSION_NUMBER, WEB_SITE |
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
---|---|
void |
doc()
Show online documentation. |
static SHPlotJa |
getCanvas()
Construct a HPlotJa canvas with a plot with the default size 600x400. |
static SHPlotJa |
getCanvas(String title)
Construct a HPlot canvas with a plot with the default size 600x400. |
static SHPlotJa |
getCanvas(String title,
int xsize,
int ysize)
Construct a HPlot canvas with a single plot. |
static SHPlotJa |
getCanvas(String title,
int xsize,
int ysize,
int n1,
int n2)
Create HPlot canvas with several plots. |
static SHPlotJa |
getCanvas(String title,
int xsize,
int ysize,
int n1,
int n2,
boolean setaxes)
Create HPlotJa canvas with several plots. |
static void |
reloadCanvas()
Reload the canvas by removing components |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static SHPlotJa getCanvas(String title, int xsize, int ysize, int n1, int n2, boolean setaxes)
title
- Titlexsize
- size in x directionysize
- size in y directionn1
- number of plots/graphs in xn2
- number of plots/graphs in ysetaxes
- set or not the graphpublic static SHPlotJa getCanvas(String title, int xsize, int ysize, int n1, int n2)
title
- Titlexsize
- size in x directionysize
- size in y directionn1
- number of plots/graphs in xn2
- number of plots/graphs in ypublic static SHPlotJa getCanvas(String title, int xsize, int ysize)
title
- Title for the canvasxs
- size in xys
- size in ypublic static SHPlotJa getCanvas(String title)
title
- Titlepublic static SHPlotJa getCanvas()
public static void reloadCanvas()
public void doc()
doc
in class HPlotJa
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |