Package hec.gfx2d.swing.charts.pie
Class PieSliceRenderControls
java.lang.Object
hec.gfx2d.swing.charts.data.ChartItemRenderControls
hec.gfx2d.swing.charts.pie.PieSliceRenderControls
- All Implemented Interfaces:
PropertyFireable,Serializable
Copyright (C) 2017 Hydrologic Engineering Center,
United States Army Corps of Engineers, All Rights Reserved
HEC-Java NEXGEN
- See Also:
-
Field Summary
FieldsFields inherited from class hec.gfx2d.swing.charts.data.ChartItemRenderControls
PROPERTY_LABEL_COLOR, PROPERTY_LABEL_FONT, PROPERTY_LABEL_FORMAT, PROPERTY_SHOW_LABEL, PROPERTY_SHOW_THRESHOLDS, PROPERTY_SHOW_VALUE, PROPERTY_THRESHOLDS, PROPERTY_UPDATE, PROPERTY_VISIBLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(ChartItemRenderControls copy) booleanvoidsetContour(ColorContourRecord contour) voidsetContourType(ColorContourType contourType) voidsetSingleColor(boolean singleColor) Methods inherited from class hec.gfx2d.swing.charts.data.ChartItemRenderControls
fireUpdate, fireUpdate, getLabelColor, getLabelFont, getLabelFormat, getParentControls, getThresholds, isShowLabel, isShowThresholds, isShowValue, isVisible, setLabelColor, setLabelFont, setLabelFormat, setParentControls, setShowLabel, setShowThresholds, setShowValue, setThresholds, setVisible
-
Field Details
-
PROPERTY_SINGLE_COLOR
- See Also:
-
PROPERTY_CONTOUR
- See Also:
-
PROPERTY_CONTOUR_TYPE
- See Also:
-
-
Constructor Details
-
PieSliceRenderControls
public PieSliceRenderControls()
-
-
Method Details
-
copy
- Overrides:
copyin classChartItemRenderControls
-
isSingleColor
public boolean isSingleColor()- Returns:
- whether the slice is determining a single display color from its contour
-
setSingleColor
public void setSingleColor(boolean singleColor) - Parameters:
singleColor- whether the slice should display a single color from its contour
-
getContour
- Returns:
- this item's contour record
-
setContour
- Parameters:
contour- the contour record to set this item to
-
getContourType
- Returns:
- this item's contour record type
-
setContourType
- Parameters:
contourType- the contour record type to set this item to
-