public class MetricFormat extends TaskbarFormat
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricFormat.Display |
| Constructor and Description |
|---|
MetricFormat(java.lang.String label,
java.lang.String styleClass,
MetricFormat.Display display)
Constructs an instance of a TaskbarFormat for Resource Utilization Gantt using style class.
|
MetricFormat(java.lang.String label,
java.lang.String fillColor,
java.lang.String fillImagePattern,
java.lang.String borderColor,
MetricFormat.Display display)
Constructs an instance of a TaskbarFormat for Resource Utilization Gantt.
|
| Modifier and Type | Method and Description |
|---|---|
MetricFormat.Display |
getDisplayAs()
Retrieve the render type of the task bar.
|
void |
setDisplayAs(MetricFormat.Display type)
Specifies the render type of the task bar.
|
getBorderColor, getFillColor, getFillImagePattern, getHeight, getImage, getInstance, getLabel, getLabelColor, getLabelStyleClass, getLeftImage, getLeftShapeOffset, getLeftStyleClass, getLinker, getMiddleStyleClass, getName, getRightImage, getRightShapeOffset, getRightStyleClass, getStartupStyleClass, getStyleClass, getWidth, isStacked, setBorderColor, setFillColor, setHeight, setLabel, setLabelColor, setLabelStyleClass, setLeftShapeOffset, setLinker, setRightShapeOffset, setStackedpublic MetricFormat(java.lang.String label,
java.lang.String styleClass,
MetricFormat.Display display)
label - The label associated with this TaskbarFormat.styleClass - The style class.display - Specifies the display typr for the task bar.public MetricFormat(java.lang.String label,
java.lang.String fillColor,
java.lang.String fillImagePattern,
java.lang.String borderColor,
MetricFormat.Display display)
label - The label associated with this TaskbarFormat.fillColor - The fill color of the task bar.fillImagePattern - The image pattern used to fill the task bar.borderColor - The border color of the task bar.display - Specifies the display typr for the task bar.public void setDisplayAs(MetricFormat.Display type)
type - It should be one of the following:
Display.STEPPED_LINE Render task as a horizontal line
Display.STACK Render task as a bar stacked on the previous bar.
Display.BAR (Default) Render task as a bar.public MetricFormat.Display getDisplayAs()