DESY ACOP Beans Home

de.desy.acop.chart
Class AcopText

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

public class AcopText
extends java.lang.Object


Field Summary
protected  double conv_x
           
protected  double conv_y
           
protected  double cos
           
protected  int dev_x
           
protected  int dev_y
           
protected  int height
           
protected  double heightCos
           
protected  double heightSin
           
protected  java.awt.Font inputFont
           
protected  double lastTextx
           
protected  double lastTexty
           
protected  int length
           
protected  double lengthCos
           
protected  double lengthSin
           
protected  int lfAscent
           
protected  int lfDescent
           
protected  int lfHeight
           
protected  int lfWidth
           
protected  int moveable
           
protected  int offsetX
           
protected  int offsetY
           
protected  boolean outside
           
protected  int prePrint
           
protected  int rescaleFlag
           
protected  double rotateGrad
           
protected  int rotationDegree
           
protected  int saveHeight
           
protected  int saveWidth
           
protected  boolean scalable
           
protected  double scaleFactor
           
protected  double sin
           
protected  double text_x
           
protected  double text_y
           
protected  java.awt.Color textColor
           
protected  java.awt.Font textFont
           
protected  boolean textON
           
protected  java.awt.Rectangle textRect
           
protected  java.lang.String textstr
           
protected  int width
           
protected  int xcenter
           
protected  double xOffset
           
protected  double xsize
           
protected  int ycenter
           
protected  double yOffset
           
protected  double ysize
           
 
Constructor Summary
AcopText(Acop acop)
           
 
Method Summary
protected  void adjustXY(int flag)
           
protected  java.lang.String getPrintedText(double[] leftBottom, double[] size, double[] position)
           
protected  int printText(java.lang.String Text, double Xposition, double Yposition, java.awt.Color c, java.awt.Font font)
           
protected  void printUserText(java.awt.Graphics2D a)
           
protected  void refreshText(java.lang.String Text)
           
protected  void rescaleText(int rescaleTextFlag)
           
protected  void scaleFont()
           
protected  void setTextAttribute(boolean newText, double xInput)
           
protected  void setTextRotationParameters()
           
protected  double wrapText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textON

protected boolean textON

outside

protected boolean outside

scalable

protected boolean scalable

xcenter

protected int xcenter

ycenter

protected int ycenter

moveable

protected int moveable

rotationDegree

protected int rotationDegree

prePrint

protected int prePrint

width

protected int width

height

protected int height

length

protected int length

text_x

protected double text_x

text_y

protected double text_y

conv_x

protected double conv_x

conv_y

protected double conv_y

lastTextx

protected double lastTextx

lastTexty

protected double lastTexty

xsize

protected double xsize

ysize

protected double ysize

scaleFactor

protected double scaleFactor

saveHeight

protected int saveHeight

saveWidth

protected int saveWidth

lfHeight

protected int lfHeight

lfWidth

protected int lfWidth

lfAscent

protected int lfAscent

lfDescent

protected int lfDescent

dev_x

protected int dev_x

dev_y

protected int dev_y

textColor

protected java.awt.Color textColor

textstr

protected java.lang.String textstr

textFont

protected java.awt.Font textFont

inputFont

protected java.awt.Font inputFont

textRect

protected java.awt.Rectangle textRect

rescaleFlag

protected int rescaleFlag

rotateGrad

protected double rotateGrad

offsetX

protected int offsetX

offsetY

protected int offsetY

sin

protected double sin

cos

protected double cos

xOffset

protected double xOffset

yOffset

protected double yOffset

heightSin

protected double heightSin

heightCos

protected double heightCos

lengthSin

protected double lengthSin

lengthCos

protected double lengthCos
Constructor Detail

AcopText

public AcopText(Acop acop)
Method Detail

getPrintedText

protected java.lang.String getPrintedText(double[] leftBottom,
                                          double[] size,
                                          double[] position)

printUserText

protected void printUserText(java.awt.Graphics2D a)

printText

protected int printText(java.lang.String Text,
                        double Xposition,
                        double Yposition,
                        java.awt.Color c,
                        java.awt.Font font)

refreshText

protected void refreshText(java.lang.String Text)

setTextRotationParameters

protected void setTextRotationParameters()

setTextAttribute

protected void setTextAttribute(boolean newText,
                                double xInput)

scaleFont

protected void scaleFont()

adjustXY

protected void adjustXY(int flag)

wrapText

protected double wrapText()

rescaleText

protected void rescaleText(int rescaleTextFlag)


Copyright © 2010. All Rights Reserved.