Class RoundScaledRamp.ThresholdMarker
- java.lang.Object
-
- org.eclipse.nebula.visualization.widgets.figureparts.RoundScaledRamp.ThresholdMarker
-
- Enclosing class:
- RoundScaledRamp
static class RoundScaledRamp.ThresholdMarker extends java.lang.Object
Hold the properties for each threshold.
-
-
Field Summary
Fields Modifier and Type Field Description private int
absolutePosition
Its absolute degree position on the scaleprivate org.eclipse.swt.graphics.Color
color
private org.eclipse.draw2d.geometry.Point
leftPoint
The left overlap point.private int
relativePosition
Its relative degree position on the scaleprivate org.eclipse.draw2d.geometry.Point
rightPoint
The right overlap point.private double
value
private boolean
visible
-
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 void
setColor(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
-
-