Class RoundScaledRamp.ThresholdMarker
- java.lang.Object
-
- org.eclipse.nebula.visualization.widgets.figureparts.RoundScaledRamp.ThresholdMarker
-
- Enclosing class:
- RoundScaledRamp
static class RoundScaledRamp.ThresholdMarker extends java.lang.ObjectHold the properties for each threshold.
-
-
Field Summary
Fields Modifier and Type Field Description private intabsolutePositionIts absolute degree position on the scaleprivate org.eclipse.swt.graphics.Colorcolorprivate org.eclipse.draw2d.geometry.PointleftPointThe left overlap point.private intrelativePositionIts relative degree position on the scaleprivate org.eclipse.draw2d.geometry.PointrightPointThe right overlap point.private doublevalueprivate booleanvisible
-
Constructor Summary
Constructors Constructor Description ThresholdMarker(double value, org.eclipse.swt.graphics.RGB color, boolean visible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetColor(org.eclipse.swt.graphics.RGB color)
-
-
-
Field Detail
-
value
private double value
-
color
private org.eclipse.swt.graphics.Color color
-
visible
private boolean visible
-
absolutePosition
private int absolutePosition
Its absolute degree position on the scale
-
relativePosition
private int relativePosition
Its relative degree position on the scale
-
rightPoint
private org.eclipse.draw2d.geometry.Point rightPoint
The right overlap point. Only used for gradient
-
leftPoint
private org.eclipse.draw2d.geometry.Point leftPoint
The left overlap point. Only used for gradient
-
-