|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.gui.components.gauger.ScaleTransform
com.cosylab.gui.components.gauger.PolarTransform
com.cosylab.gui.components.gauger.PolarHorizontalTransform
public class PolarHorizontalTransform
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.
| 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 |
|---|
public PolarHorizontalTransform()
| Method Detail |
|---|
public void setParameters(int w,
int h,
int marginX,
int marginY,
int tickOffset)
ScaleTransform
setParameters in class PolarTransformw - width of the component that will display this transformationh - height of the component that will display this transformationmarginX - not usedmarginY - not usedtickOffset - space between the edge of the scale and the first tick
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||