public abstract class ScaleElement extends VisualElementContainer
filling, outline, RelativeCoordinates, RelativeStroke| Modifier | Constructor and Description |
|---|---|
protected |
ScaleElement()
Initializes a new instance of the
ScaleElement class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addScaleElementListener(ScaleElementListener listener) |
Component |
hitTest(double x,
double y)
Returns the component containing specified point.
|
protected void |
onClicked(GaugeMouseEvent args)
|
void |
removeScaleElementListener(ScaleElementListener listener) |
arrange, draw, hitTestObj, measureaddVisualElementListener, getEffectiveFill, 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, visitprotected ScaleElement()
ScaleElement class.public Component hitTest(double x, double y)
VisualElementhitTest in class VisualElementx - X coordinate of the point to test.y - Y coordinate of the point to test.Component instance if one contains the point, or null otherwise.public void addScaleElementListener(ScaleElementListener listener)
public void removeScaleElementListener(ScaleElementListener listener)
protected void onClicked(GaugeMouseEvent args)
ScaleElementListener.clicked(com.mindfusion.charting.components.gauges.GaugeMouseEvent) event.e - An object, containing the event data.