japlot
Class Global
- java.lang.Object
-
- japlot.Global
-
public class Global extends java.lang.ObjectShow information about jHplot. Also keeps some global variables.
-
-
Field Summary
Fields Modifier and Type Field and Description static intSECONDSstatic intsizeXstatic intsizeYstatic javax.swing.JLabelstatusbarstatic javax.swing.Timertimer
-
Constructor Summary
Constructors Constructor and Description Global()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intfromX(float x)static intfromY(float y)static voidinit(int sizex, int sizey)static voidshowMessage(java.lang.String text)Show a text on status bar permanently.static voidshowStatusBarText(java.lang.String text)Show a text on status bar for 5 sec.static floattoX(int x)static floattoY(int y)
-
-
-
Field Detail
-
statusbar
public static javax.swing.JLabel statusbar
-
sizeX
public static int sizeX
-
sizeY
public static int sizeY
-
SECONDS
public static final int SECONDS
- See Also:
- Constant Field Values
-
timer
public static javax.swing.Timer timer
-
-
Method Detail
-
init
public static void init(int sizex, int sizey)
-
toX
public static float toX(int x)
-
toY
public static float toY(int y)
-
fromX
public static int fromX(float x)
-
fromY
public static int fromY(float y)
-
showStatusBarText
public static void showStatusBarText(java.lang.String text)
Show a text on status bar for 5 sec.- Parameters:
text- Text
-
showMessage
public static void showMessage(java.lang.String text)
Show a text on status bar permanently.- Parameters:
text- Text
-
-
DMelt 3.0 © DataMelt by jWork.ORG