public class SlotGaugeGlyph extends GaugeGlyph
attrLabel, bounds, CATEGORY_LABEL_GAP, cateOrPercentLabelString, centerPoint, colorList, DEFAULT_COLOR_NUMBER, defaultColors, extent, GAP, gaugeAxisGlyph, gaugeDetailStyle, PIE, radius, startAngle, valueLabelString, valueList| 构造器和说明 |
|---|
SlotGaugeGlyph(java.awt.geom.Rectangle2D bounds,
AttrLabel attrLabel,
GaugeDetailStyle gaugeDetailStyle,
VanChartGaugeAxisGlyph gaugeAxisGlyph) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doLayout(double cateLabelHeight,
int resolution) |
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) |
protected java.awt.geom.Rectangle2D |
getValueLabelBounds(int position,
java.awt.geom.Dimension2D dim) |
java.lang.String |
getValueLabelWithDataPoint(DataPoint dataPoint) |
protected void |
initStartAngleAndExtent() |
protected void |
setCateOrPercentLabelAutoFont(TextAttr textAttr) |
addValue, calculateRadiusAndCenterPoint, draw, drawCateOrPercentageLabel, drawPaneBackground, getCateOrPercentLabelWithDataPoint, getDefaultValueColor, getPosition, getShape, getValueColor, setCateOrPercentLabelString, setColorList, setDefaultColors, setPosition, setValueLabelStringclone, selectableChildren, toJSONObjectpublic SlotGaugeGlyph(java.awt.geom.Rectangle2D bounds,
AttrLabel attrLabel,
GaugeDetailStyle gaugeDetailStyle,
VanChartGaugeAxisGlyph gaugeAxisGlyph)
protected void initStartAngleAndExtent()
initStartAngleAndExtent 在类中 GaugeGlyphpublic void doLayout(double cateLabelHeight,
int resolution)
doLayout 在类中 GaugeGlyphprotected void drawInfo(java.awt.Graphics2D g2d,
int resolution)
drawInfo 在类中 GaugeGlyphprotected void setCateOrPercentLabelAutoFont(TextAttr textAttr)
protected java.awt.geom.Rectangle2D getCateOrPercentLabelBounds(int position,
java.awt.geom.Dimension2D dim)
protected void drawValueLabel(java.awt.Graphics2D g2d,
int resolution)
drawValueLabel 在类中 GaugeGlyphprotected java.awt.geom.Rectangle2D getValueLabelBounds(int position,
java.awt.geom.Dimension2D dim)
getValueLabelBounds 在类中 GaugeGlyphpublic java.lang.String getValueLabelWithDataPoint(DataPoint dataPoint)
getValueLabelWithDataPoint 在类中 GaugeGlyph