public class CustomInterval
extends java.lang.Object
| Constructor and Description |
|---|
CustomInterval()
Initializes a new instance of the
CustomInterval class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
Brush |
getFill()
Gets the brush to apply as a background of the elements within the custom interval.
|
java.awt.Color |
getForeground()
Gets the color to apply as a foreground to the elements within this custom interval.
|
double |
getMaxValue()
Gets the end of this custom interval.
|
double |
getMinValue()
Gets the start of this custom interval.
|
Pen |
getStroke()
Gets the brush to apply as an outline of the elements within the custom interval.
|
protected void |
raisePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setFill(Brush value)
Sets the brush to apply as a background of the elements within the custom interval.
|
void |
setForeground(java.awt.Color value)
Sets the color to apply as a foreground to the elements within this custom interval.
|
void |
setMaxValue(double value)
Sets the end of this custom interval.
|
void |
setMinValue(double value)
Sets the start of this custom interval.
|
void |
setStroke(Pen value)
Sets the brush to apply as an outline of the elements within the custom interval.
|
public CustomInterval()
CustomInterval class.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
protected void raisePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
public double getMinValue()
If this property is set to NaN, negative infinity will be considered as the start of the interval.
public void setMinValue(double value)
If this property is set to NaN, negative infinity will be considered as the start of the interval.
public double getMaxValue()
If this property is set to NaN, positive infinity will be considered as the end of the interval.
public void setMaxValue(double value)
If this property is set to NaN, positive infinity will be considered as the end of the interval.
public Brush getFill()
public void setFill(Brush value)
public Pen getStroke()
public void setStroke(Pen value)
public java.awt.Color getForeground()
public void setForeground(java.awt.Color value)