public class PointerGaugeGlyph extends GaugeGlyph
限定符和类型 | 字段和说明 |
---|---|
protected java.awt.geom.Rectangle2D |
bigBounds |
protected double |
oneLineHeight |
protected static double |
PROPORTION |
protected static double |
VALUE_GAP |
attrLabel, bounds, CATEGORY_LABEL_GAP, cateOrPercentLabelString, centerPoint, colorList, DEFAULT_COLOR_NUMBER, defaultColors, extent, GAP, gaugeAxisGlyph, gaugeDetailStyle, PIE, radius, startAngle, valueLabelString, valueList
构造器和说明 |
---|
PointerGaugeGlyph(java.awt.geom.Rectangle2D bounds,
AttrLabel attrLabel,
GaugeDetailStyle gaugeDetailStyle,
VanChartGaugeAxisGlyph gaugeAxisGlyph) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
calculateRadiusAndCenterPoint(double width,
double height,
double cateLabelHeight) |
protected void |
calculateValueBackgroundBounds(java.awt.geom.Rectangle2D labelBounds,
double valueAngle) |
protected void |
drawInfo(java.awt.Graphics2D g2d,
int resolution) |
protected void |
drawValueLabel(java.awt.Graphics2D g2d,
int resolution) |
protected java.awt.geom.Rectangle2D |
getCateOrPercentLabelBounds(int position,
java.awt.geom.Dimension2D dim) |
java.lang.String |
getCateOrPercentLabelWithDataPoint(DataPoint dataPoint) |
protected double |
getHingeBackgroundSize() |
protected double |
getHingeSize() |
java.lang.String |
getValueLabelWithDataPoint(DataPoint dataPoint) |
protected void |
initStartAngleAndExtent() |
protected void |
setFirstBigBounds() |
addValue, doLayout, draw, drawCateOrPercentageLabel, drawPaneBackground, getDefaultValueColor, getPosition, getShape, getValueColor, getValueLabelBounds, setCateOrPercentLabelAutoFont, setCateOrPercentLabelString, setColorList, setDefaultColors, setPosition, setValueLabelString
clone, selectableChildren, toJSONObject
protected static final double VALUE_GAP
protected static final double PROPORTION
protected java.awt.geom.Rectangle2D bigBounds
protected double oneLineHeight
public PointerGaugeGlyph(java.awt.geom.Rectangle2D bounds, AttrLabel attrLabel, GaugeDetailStyle gaugeDetailStyle, VanChartGaugeAxisGlyph gaugeAxisGlyph)
protected void initStartAngleAndExtent()
initStartAngleAndExtent
在类中 GaugeGlyph
protected void calculateRadiusAndCenterPoint(double width, double height, double cateLabelHeight)
protected void drawInfo(java.awt.Graphics2D g2d, int resolution)
drawInfo
在类中 GaugeGlyph
protected void setFirstBigBounds()
protected double getHingeBackgroundSize()
protected double getHingeSize()
protected void calculateValueBackgroundBounds(java.awt.geom.Rectangle2D labelBounds, double valueAngle)
protected java.awt.geom.Rectangle2D getCateOrPercentLabelBounds(int position, java.awt.geom.Dimension2D dim)
protected void drawValueLabel(java.awt.Graphics2D g2d, int resolution)
drawValueLabel
在类中 GaugeGlyph
public java.lang.String getCateOrPercentLabelWithDataPoint(DataPoint dataPoint)
public java.lang.String getValueLabelWithDataPoint(DataPoint dataPoint)
getValueLabelWithDataPoint
在类中 GaugeGlyph