public abstract class TickSettings
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
TickSettings()
Initializes a new instance of the
TickSettings class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
int |
getCount()
Gets the number of ticks and labels.
|
com.mindfusion.common.ObservableList<CustomInterval> |
getCustomIntervals()
Gets a collection with
CustomInterval objects, which can be used to
customize the appearance of the ticks in a particular interval. |
java.lang.String |
getCustomTickShape()
|
Brush |
getFill()
Gets the fill brush of the ticks.
|
java.lang.String |
getFontFamily()
Gets the font family of the labels.
|
Length |
getFontSize()
Gets the font size of the labels.
|
java.util.EnumSet<FontStyle> |
getFontStyle()
Gets the font style of the labels.
|
Alignment |
getLabelAlignment()
Gets the alignment of the labels relative to the scale.
|
java.awt.Color |
getLabelForeground()
Gets the brush used to paint label texts.
|
java.lang.String |
getLabelFormat()
Gets the format for label texts.
|
Length |
getLabelOffset()
Gets the offset of the labels relative to their calculated position.
|
LabelRotation |
getLabelRotation()
Gets the rotation mode of the labels.
|
boolean |
getShowLabels()
Gets a value indicating whether the labels are visible.
|
DisplayType |
getShowMaxValueTick()
Gets a value indicating whether to display a tick for the
MaxValue of the scale. |
boolean |
getShowTicks()
Gets a value indicating whether the ticks are visible.
|
double |
getStep()
Gets the value between adjacent ticks and labels.
|
Pen |
getStroke()
Gets the stroke brush of the ticks.
|
Alignment |
getTickAlignment()
Gets the alignment of the ticks relative to the scale.
|
Length |
getTickHeight()
Gets the height of a tick.
|
Length |
getTickOffset()
Gets the offset of he ticks relative to their calculated position.
|
TickShape |
getTickShape()
Gets the shape of the ticks.
|
abstract TickType |
getTickType()
Gets the type of ticks this object applies to.
|
Length |
getTickWidth()
Gets the width of a tick.
|
protected void |
raisePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setCount(int value)
Sets the number of ticks and labels.
|
void |
setCustomIntervals(com.mindfusion.common.ObservableList<CustomInterval> value)
Sets a collection with
CustomInterval objects, which can be used to
customize the appearance of the ticks in a particular interval. |
void |
setCustomTickShape(java.lang.String value)
|
void |
setFill(Brush value) |
void |
setFontFamily(java.lang.String value)
Sets the font family of the labels.
|
void |
setFontSize(Length value)
Sets the font size of the labels.
|
void |
setFontStyle(java.util.EnumSet<FontStyle> value)
Sets the font style of the labels.
|
void |
setLabelAlignment(Alignment value)
Sets the alignment of the labels relative to the scale.
|
void |
setLabelForeground(java.awt.Color value)
Sets the brush used to paint label texts.
|
void |
setLabelFormat(java.lang.String value)
Sets the format for label texts.
|
void |
setLabelOffset(Length value)
Sets the offset of the labels relative to their calculated position.
|
void |
setLabelRotation(LabelRotation value)
Sets the rotation mode of the labels.
|
void |
setShowLabels(boolean value)
Sets a value indicating whether the labels are visible.
|
void |
setShowMaxValueTick(DisplayType value)
Sets a value indicating whether to display a tick for the
MaxValue of the scale. |
void |
setShowTicks(boolean value)
Sets a value indicating whether the ticks are visible.
|
void |
setStep(double value)
Sets the value between adjacent ticks and labels.
|
void |
setStroke(Pen value)
Sets the stroke brush of the ticks.
|
void |
setTickAlignment(Alignment value)
Sets the alignment of the ticks relative to the scale.
|
void |
setTickHeight(Length value)
Sets the height of a tick.
|
void |
setTickOffset(Length value)
Sets the offset of he ticks relative to their calculated position.
|
void |
setTickShape(TickShape value)
Sets the shape of the ticks.
|
void |
setTickWidth(Length value)
Sets the width of a tick.
|
protected TickSettings()
TickSettings 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 abstract TickType getTickType()
public int getCount()
public void setCount(int value)
public double getStep()
public void setStep(double value)
public Length getTickWidth()
public void setTickWidth(Length value)
public Length getTickHeight()
public void setTickHeight(Length value)
public Brush getFill()
public void setFill(Brush value)
public Pen getStroke()
public void setStroke(Pen value)
public boolean getShowTicks()
public void setShowTicks(boolean value)
public boolean getShowLabels()
public void setShowLabels(boolean value)
public java.lang.String getLabelFormat()
public void setLabelFormat(java.lang.String value)
public Length getLabelOffset()
public void setLabelOffset(Length value)
public Length getTickOffset()
public void setTickOffset(Length value)
public LabelRotation getLabelRotation()
public void setLabelRotation(LabelRotation value)
public java.lang.String getFontFamily()
public void setFontFamily(java.lang.String value)
public Length getFontSize()
public void setFontSize(Length value)
public java.util.EnumSet<FontStyle> getFontStyle()
public void setFontStyle(java.util.EnumSet<FontStyle> value)
public java.awt.Color getLabelForeground()
public void setLabelForeground(java.awt.Color value)
public Alignment getTickAlignment()
public void setTickAlignment(Alignment value)
public Alignment getLabelAlignment()
public void setLabelAlignment(Alignment value)
public TickShape getTickShape()
public void setTickShape(TickShape value)
public java.lang.String getCustomTickShape()
public void setCustomTickShape(java.lang.String value)
public DisplayType getShowMaxValueTick()
MaxValue of the scale.public void setShowMaxValueTick(DisplayType value)
MaxValue of the scale.public com.mindfusion.common.ObservableList<CustomInterval> getCustomIntervals()
CustomInterval objects, which can be used to
customize the appearance of the ticks in a particular interval.public void setCustomIntervals(com.mindfusion.common.ObservableList<CustomInterval> value)
CustomInterval objects, which can be used to
customize the appearance of the ticks in a particular interval.