DESY ACOP Beans Home

com.cosylab.gui.components.gauger
Class PolarHorizontalTransform

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.PolarHorizontalTransform

public class PolarHorizontalTransform
extends PolarTransform

Defines horizontal polar transform. This transform will render the scale as arc of less the 180 degrees with minimum at left and maximum at right.

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
PolarHorizontalTransform()
           
 
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

PolarHorizontalTransform

public PolarHorizontalTransform()
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.