public class StyleChooser extends Object implements Serializable
Constructor and Description |
---|
StyleChooser(Frame f,
String title)
Another constructor.
|
StyleChooser(Frame f,
String title,
boolean global)
Principal constructor.
|
StyleChooser(Frame f,
String title,
LinePars lp)
Constructor.
|
StyleChooser(Frame f,
String title,
LinePars lp,
JPlot jp,
boolean global)
Principal constructor.
|
Modifier and Type | Method and Description |
---|---|
LinePars |
show(int x,
int y,
LinePars initLinePars)
Return a modal JDialog with a customized linestyle chooser.
|
public StyleChooser(Frame f, String title, LinePars lp, JPlot jp, boolean global)
f
- parent frame instance to which this dialog is attachedtitle
- current title of the dialoglp
- line parameter settings (pointtype, color, linestyle...)global
- true if built as a global chooserpublic StyleChooser(Frame f, String title, LinePars lp)
f
- parent frame instance to which this dialog is attachedtitle
- current title of the dialoglp
- line parameter settings (pointtype, color, linestyle...)public StyleChooser(Frame f, String title, boolean global)
f
- parent frame instance to which this dialog is attachedtitle
- current title of the dialogglobal
- true if built as a global chooserpublic LinePars show(int x, int y, LinePars initLinePars)
x
- coordinate of the pin used to fix this framey
- coordinate of the pin used to fix this frameinitLinePars
- initial line parametersJas4pp 1.5 © Java Analysis Studio for Particle Physics