DESY ACOP Beans Home

com.cosylab.gui.components.gauger
Class PolarVerticalTransform

java.lang.Object
  extended by com.cosylab.gui.components.gauger.ScaleTransform
      extended by com.cosylab.gui.components.gauger.PolarTransform
          extended by com.cosylab.gui.components.gauger.PolarVerticalTransform

public class PolarVerticalTransform
extends PolarTransform

Defines vertical polar transform. This transform will define gauger with arc scale with origin at left and arc spanning to the right. Minimum will be at top and maximum at bottom.

Version:
$id$
Author:
Ales Pucelj

Nested Class Summary
 
Nested classes/interfaces inherited from class com.cosylab.gui.components.gauger.ScaleTransform
ScaleTransform.ArcSegment, ScaleTransform.LineSegment, ScaleTransform.RectangleSegment, ScaleTransform.ScaleSegment
 
Field Summary
 
Fields inherited from class com.cosylab.gui.components.gauger.PolarTransform
alpha, centre, height, r, R, span, tickOffset
 
Constructor Summary
PolarVerticalTransform()
           
 
Method Summary
 void setParameters(int w, int h, int marginX, int marginY, int tickOffset)
          Sets the component parameters for this transformation.
 
Methods inherited from class com.cosylab.gui.components.gauger.PolarTransform
mapUVtoXY, mapXYtoUV, measureTick, scaleHeight, scaleWidth
 
Methods inherited from class com.cosylab.gui.components.gauger.ScaleTransform
addSegment, getAngle, getLabelPosition, getSegment, getSegmentCount, isPolar, mapUVtoXY, mapUVtoXY, setLabelPosition, setPolar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolarVerticalTransform

public PolarVerticalTransform()
Method Detail

setParameters

public void setParameters(int w,
                          int h,
                          int marginX,
                          int marginY,
                          int tickOffset)
Description copied from class: ScaleTransform
Sets the component parameters for this transformation.

Overrides:
setParameters in class PolarTransform
Parameters:
w - width of the component that will display this transformation
h - height of the component that will display this transformation
marginX - not used
marginY - not used
tickOffset - space between the edge of the scale and the first tick


Copyright © 2010. All Rights Reserved.