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, setValueLabelString
clone, selectableChildren, toJSONObject
public SlotGaugeGlyph(java.awt.geom.Rectangle2D bounds, AttrLabel attrLabel, GaugeDetailStyle gaugeDetailStyle, VanChartGaugeAxisGlyph gaugeAxisGlyph)
protected void initStartAngleAndExtent()
initStartAngleAndExtent
在类中 GaugeGlyph
public void doLayout(double cateLabelHeight, int resolution)
doLayout
在类中 GaugeGlyph
protected void drawInfo(java.awt.Graphics2D g2d, int resolution)
drawInfo
在类中 GaugeGlyph
protected 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
在类中 GaugeGlyph
protected java.awt.geom.Rectangle2D getValueLabelBounds(int position, java.awt.geom.Dimension2D dim)
getValueLabelBounds
在类中 GaugeGlyph
public java.lang.String getValueLabelWithDataPoint(DataPoint dataPoint)
getValueLabelWithDataPoint
在类中 GaugeGlyph