DESY ACOP Beans Home

com.cosylab.gui.components.gauger
Class PolarFullTransform

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

public class PolarFullTransform
extends PolarTransform

Defines polar transform for angles larger than 180 degrees, but less than 360. Minimum will be at lower left and maximum at lower 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
PolarFullTransform()
           
 
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

PolarFullTransform

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