DESY ACOP Beans Home

de.desy.acop.chart
Class AcopScale

java.lang.Object
  extended by de.desy.acop.chart.AcopScale

public class AcopScale
extends java.lang.Object


Field Summary
protected  java.lang.String AxisLabel
           
protected  boolean bestScale
           
protected  double dispSize
           
protected  int fineTicks
           
protected  boolean grid
           
protected static java.awt.Color gridLineColor
           
protected static int gridLineMode
           
protected static int gridLineWidth
           
protected static java.awt.BasicStroke gridStroke
           
protected  java.awt.Rectangle labelRect
           
protected  boolean leftBottLabel
           
protected  boolean leftBottom
           
protected  int log
           
protected  double max
           
protected  double min
           
protected  boolean OnFlag
           
protected  double tick_max
           
protected  double tick_min
           
protected  java.awt.Color tickLabelForeColor
           
protected  int ticks
           
protected  java.awt.Rectangle ticksRect
           
protected  boolean ticktext
           
protected  int time_scale
           
protected  double usermax
           
protected  double usermin
           
protected  double userSize
           
protected  int xtime
           
 
Constructor Summary
AcopScale(Acop acop, boolean xax)
           
 
Method Summary
protected  void drawGrid(java.awt.Graphics2D a)
           
protected  void drawLabel(java.awt.Graphics2D a)
           
protected  void drawTicks(java.awt.Graphics2D a, AcopHisto pHisto)
           
protected  double getMax()
           
protected  double getMin()
           
protected  int getScreenPosition(double userPosition)
           
protected  double getUserPosition(int screenPosition)
           
protected  boolean isOriginMaxMin()
           
protected  void scaleToGrid()
           
protected  void setDispscale(double low, double high)
           
protected  void setscale()
           
protected  void setUserscale(double low, double high)
           
protected  void xyscale(boolean setYaxis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gridLineMode

protected static int gridLineMode

gridLineWidth

protected static int gridLineWidth

gridLineColor

protected static java.awt.Color gridLineColor

gridStroke

protected static java.awt.BasicStroke gridStroke

bestScale

protected boolean bestScale

grid

protected boolean grid

ticktext

protected boolean ticktext

ticks

protected int ticks

fineTicks

protected int fineTicks

xtime

protected int xtime

log

protected int log

AxisLabel

protected java.lang.String AxisLabel

tickLabelForeColor

protected java.awt.Color tickLabelForeColor

time_scale

protected int time_scale

leftBottom

protected boolean leftBottom

leftBottLabel

protected boolean leftBottLabel

labelRect

protected java.awt.Rectangle labelRect

ticksRect

protected java.awt.Rectangle ticksRect

tick_min

protected double tick_min

tick_max

protected double tick_max

min

protected double min

max

protected double max

dispSize

protected double dispSize

usermin

protected double usermin

usermax

protected double usermax

userSize

protected double userSize

OnFlag

protected boolean OnFlag
Constructor Detail

AcopScale

public AcopScale(Acop acop,
                 boolean xax)
Method Detail

getScreenPosition

protected int getScreenPosition(double userPosition)

getUserPosition

protected double getUserPosition(int screenPosition)

getMin

protected double getMin()

getMax

protected double getMax()

setDispscale

protected void setDispscale(double low,
                            double high)

setscale

protected void setscale()

setUserscale

protected void setUserscale(double low,
                            double high)

isOriginMaxMin

protected boolean isOriginMaxMin()

scaleToGrid

protected void scaleToGrid()

xyscale

protected void xyscale(boolean setYaxis)

drawGrid

protected void drawGrid(java.awt.Graphics2D a)

drawLabel

protected void drawLabel(java.awt.Graphics2D a)

drawTicks

protected void drawTicks(java.awt.Graphics2D a,
                         AcopHisto pHisto)


Copyright © 2010. All Rights Reserved.