public class LinearGauge extends GenericGauge<LinearScale>
background, foregroundfilling, outline, RelativeCoordinates, RelativeStroke| Constructor and Description |
|---|
LinearGauge()
Initializes a new instance of the
LinearGauge class. |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.geom.Dimension2D |
getDefaultSize()
Gets the initial size of the gauge.
|
com.mindfusion.common.Orientation |
getOrientation()
Gets the orientation of the gauge.
|
void |
measure(double maxWidth,
double maxHeight,
RenderContext context)
Measures the desired size of this component.
|
void |
setOrientation(com.mindfusion.common.Orientation value)
Sets the orientation of the gauge.
|
getScales, setScalesaddBaseGaugeListener, createController, draw, getElementByName, getFontName, getFontSize, getFontStyle, getPointerBackground, getPointerStroke, getPointerStrokeThickness, getScaleBackground, getScaleStroke, getScaleStrokeThickness, getTickBackground, getTickStroke, getTickStrokeThickness, hitTestObj, onInvalidated, onPaintBackground, onPaintForeground, onPaintPointer, onPaintScale, onPaintTick, onPrepaintBackground, onPrepaintForeground, onPrepaintPointer, onPrepaintScale, onPrepaintTick, processMouseDown, processMouseMove, processMouseUp, removeBaseGaugeListener, setFontName, setFontSize, setFontStyle, setPointerBackground, setPointerStroke, setPointerStrokeThickness, setScaleBackground, setScaleStroke, setScaleStrokeThickness, setTickBackground, setTickStroke, setTickStrokeThicknessarrangeaddVisualElementListener, getEffectiveFill, getFill, getMargin, getName, getStroke, hitTest, onPostpaint, onPrepaint, onQueryAmbientPropertyValue, removeVisualElementListener, setFill, setMargin, setName, setStroke, toStringadd, associateJComponent, 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 LinearGauge()
LinearGauge class.public void measure(double maxWidth,
double maxHeight,
RenderContext context)
VisualElementmeasure in class BaseGaugemaxWidth - The maximum width provided by parent component.maxHeight - The maximum height provided by parent component.context - A RenderContext instance.public com.mindfusion.common.Orientation getOrientation()
public void setOrientation(com.mindfusion.common.Orientation value)
protected java.awt.geom.Dimension2D getDefaultSize()
getDefaultSize in class BaseGauge