public class OvalScale extends BaseScale
filling, outline, RelativeCoordinates, RelativeStroke| Constructor and Description |
|---|
OvalScale()
Initializes a new instance of the
OvalScale class. |
| Modifier and Type | Method and Description |
|---|---|
double |
getEndAngle()
Gets the end angle of the scale.
|
java.awt.geom.Point2D |
getScaleRelativeCenter()
Gets the center of the scale relative to the scale bounds.
|
double |
getScaleRelativeRadius()
Gets the radius of the scale relative to the scale bounds.
|
double |
getStartAngle()
Gets the start angle of the scale.
|
double |
getValueFromPoint(java.awt.geom.Point2D point)
Returns the value corresponding to the specified point.
|
void |
measure(double maxWidth,
double maxHeight,
RenderContext context)
Measures the desired size of this component.
|
void |
setEndAngle(double value)
Sets the end angle of the scale.
|
void |
setScaleRelativeCenter(java.awt.geom.Point2D value)
Sets the center of the scale relative to the scale bounds.
|
void |
setScaleRelativeRadius(double value)
Sets the radius of the scale relative to the scale bounds.
|
void |
setStartAngle(double value)
Sets the start angle of the scale.
|
addBaseScaleListener, beginInit, endInit, getCustomFunction, getEffectiveFill, getEffectiveStroke, getEndWidth, getFunctionArgument, getFunctionType, getLogarithmBase, getMajorTickSettings, getMaxValue, getMiddleTickSettings, getMinorTickSettings, getMinValue, getPointers, getRanges, getReversedCustomFunction, getScaleChildren, getStartWidth, onPointerClicked, onQueryLabelValue, onScaleGeometryClicked, removeBaseScaleListener, setCustomFunction, setEndWidth, setFunctionArgument, setFunctionType, setLogarithmBase, setMajorTickSettings, setMaxValue, setMiddleTickSettings, setMinorTickSettings, setMinValue, setPointers, setRanges, setReversedCustomFunction, setScaleChildren, setStartWidthaddScaleElementListener, hitTest, onClicked, removeScaleElementListenerarrange, draw, hitTestObjaddVisualElementListener, getFill, getMargin, getName, getStroke, onInvalidated, onPostpaint, onPrepaint, onQueryAmbientPropertyValue, removeVisualElementListener, setFill, setMargin, setName, setStroke, toStringadd, associateJComponent, createController, dissociateJComponent, effectiveMeasuredHeight, effectiveMeasuredWidth, getActualHeight, getActualWidth, getDesiredHeight, getDesiredWidth, getGridColumn, getGridRow, getHeight, getHitTestVisibility, getHorizontalAlignment, getParent, getRectInParent, getToolTip, getVerticalAlignment, getVisibility, getWidth, getXInParent, getYInParent, invalidate, invalidate, invalidate, invalidateLayout, invalidateLayout, localToRoot, rootToLocal, setActualHeight, setActualWidth, setDesiredHeight, setDesiredWidth, setGridColumn, setGridRow, setHeight, setHitTestVisibility, setHorizontalAlignment, setParent, setToolTip, setVerticalAlignment, setVisibility, setWidth, setXInParent, setYInParent, visitpublic OvalScale()
OvalScale class.public void measure(double maxWidth,
double maxHeight,
RenderContext context)
VisualElementmeasure in class VisualElementContainermaxWidth - The maximum width provided by parent component.maxHeight - The maximum height provided by parent component.context - A RenderContext instance.public double getValueFromPoint(java.awt.geom.Point2D point)
getValueFromPoint in class BaseScalepoint - The point to test.MinValue
or MaxValue if the specified point cannot be associated with a value.public double getScaleRelativeRadius()
public void setScaleRelativeRadius(double value)
public java.awt.geom.Point2D getScaleRelativeCenter()
public void setScaleRelativeCenter(java.awt.geom.Point2D value)
public double getStartAngle()
public void setStartAngle(double value)
public double getEndAngle()
public void setEndAngle(double value)