org.jlab.groot.ui
Class GraphicsAxisFrame
- java.lang.Object
-
- org.jlab.groot.ui.GraphicsAxisFrame
-
public class GraphicsAxisFrame extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description GraphicsAxisFrame()GraphicsAxisFrame(int naxis)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics2D g2d, Dimension2D frame)AttributesgetAttributes()GraphicsAxisgetAxis(int index)returns GraphicsAxis from the array with given index.Dimension2DgetDimension()java.awt.geom.Point2DgetPoint(float x, float y)doublegetPointX(double value)doublegetPointY(double value)static voidmain(java.lang.String[] args)voidsetAxis(int naxis)sets the dimension of the graphics axis.voidshowAxis()voidupdate(java.awt.Graphics2D g2d)
-
-
-
Constructor Detail
-
GraphicsAxisFrame
public GraphicsAxisFrame()
-
GraphicsAxisFrame
public GraphicsAxisFrame(int naxis)
-
-
Method Detail
-
setAxis
public final void setAxis(int naxis)
sets the dimension of the graphics axis.- Parameters:
naxis-
-
getAttributes
public Attributes getAttributes()
-
getAxis
public GraphicsAxis getAxis(int index)
returns GraphicsAxis from the array with given index.- Parameters:
index-- Returns:
-
getPointX
public double getPointX(double value)
-
getPointY
public double getPointY(double value)
-
getPoint
public java.awt.geom.Point2D getPoint(float x, float y)
-
getDimension
public Dimension2D getDimension()
-
showAxis
public void showAxis()
-
draw
public void draw(java.awt.Graphics2D g2d, Dimension2D frame)
-
update
public void update(java.awt.Graphics2D g2d)
-
main
public static void main(java.lang.String[] args)
-
-
DMelt 3.0 © DataMelt by jWork.ORG