public class YRangeIndicator extends AbstractRangeValueIndicator
text label describing the range.
Style Classes (from least to most specific):
range-indicator-label, y-range-indicator-label, y-range-indicator-label[index]range-indicator-rect, y-range-indicator-rect, y-range-indicator-rect[index][index] corresponds to the index (zero based) of this indicator instance added to the
XYChartPane. For example class y-range-indicator-label1 can be used to style label of the second
instance of this indicator added to the chart pane.labelHorizontalPositionProperty, labelVerticalPositionProperty, lowerBoundProperty, upperBoundPropertyeditableIndicatorProperty, labelHorizontalAnchorProperty, labelVerticalAnchorProperty, textPropertyaddButtonsToToolBarProperty, chartPropertyAbstractValueIndicator.Deltarectangle, STYLE_CLASS_LABEL, STYLE_CLASS_RECTdragDelta, editableIndicator, label| Constructor and Description |
|---|
YRangeIndicator(Axis axis,
double lowerBound,
double upperBound)
Creates a new instance that indicates given Y range of the specified Y axis.
|
YRangeIndicator(Axis axis,
double lowerBound,
double upperBound,
String text)
Creates a new instance that indicates given Y range.
|
| Modifier and Type | Method and Description |
|---|---|
void |
layoutChildren()
Optional method that allows the plug-in to react in case the size of the chart that it belongs to has changed.
|
void |
updateStyleClass()
There might be several instances of a given indicator class.
|
getLabelHorizontalPosition, getLabelVerticalPosition, getLowerBound, getUpperBound, labelHorizontalPositionProperty, labelVerticalPositionProperty, layout, lowerBoundProperty, setLabelHorizontalPosition, setLabelVerticalPosition, setLowerBound, setUpperBound, upperBoundPropertyaddChildNodeIfNotPresent, editableIndicatorProperty, getLabelHorizontalAnchor, getLabelVerticalAnchor, getNumericAxis, getText, isEditable, labelHorizontalAnchorProperty, labelVerticalAnchorProperty, layoutLabel, setEditable, setLabelHorizontalAnchor, setLabelVerticalAnchor, setStyleClasses, setText, textPropertyaddButtonsToToolBarProperty, chartProperty, getChart, getChartChildren, getLocationInPlotArea, isAddButtonsToToolBar, registerInputEventHandler, setAddButtonsToToolBar, setChart, toDataPoint, toDisplayPointpublic YRangeIndicator(Axis axis, double lowerBound, double upperBound)
axis - the axis this indicator is associated withlowerBound - lower bound (min value) of the rangeupperBound - upper bound (max value) of the rangepublic YRangeIndicator(Axis axis, double lowerBound, double upperBound, String text)
axis - the axis this indicator is associated withlowerBound - lower bound (min value) of the rangeupperBound - upper bound (max value) of the rangetext - the indicator's label's textpublic void layoutChildren()
ChartPluginlayoutChildren in class ChartPluginpublic void updateStyleClass()
AbstractValueIndicatorupdateStyleClass in class AbstractValueIndicatorCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.