public class TickMark extends BaseGaugeComponent
m_commonGauge, m_compType
Constructor and Description |
---|
TickMark(CommonGauge gauge) |
Modifier and Type | Method and Description |
---|---|
int |
getContent()
Gets the tick content specification for all gauges in this gauge set.
|
java.awt.Color |
getMajorTickColor()
Retrieves the color of the major tick marks.
|
int |
getMajorTickCount()
Gets the MajorTick count for all gauges in this gauge set.
|
double |
getMajorTickStep()
Gets the MajorTick count for all gauges in this gauge set.
|
java.awt.Color |
getMinorTickColor()
Retrieves the color of the minor tick marks.
|
int |
getMinorTickCount()
Gets the minor tick count for all gauges in this gauge set.
|
double |
getMinorTickStep()
Gets the minor tick step for all gauges in this gauge set.
|
void |
setContent(int content)
Sets the tick content specification for all gauges in this gauge set.
|
void |
setMajorTickColor(java.awt.Color color)
Specifies the color of the major tick marks.
|
void |
setMajorTickCount(int tickCount)
Sets the MajorTick count for all gauges in this gauge set.
|
void |
setMajorTickStep(double tickStep)
Sets the MajorTick step for all gauges in this gauge set.
|
void |
setMinorTickColor(java.awt.Color color)
Specifies the color of the minor tick marks.
|
void |
setMinorTickCount(int tickCount)
Sets the minor tick count for all gauges in this gauge set.
|
void |
setMinorTickStep(double tickStep)
Sets the minor tick step for all gauges in this gauge set.
|
getComponentName, getComponentType, selectObject
public TickMark(CommonGauge gauge)
public int getContent()
GaugeConstants
beginning with TICK_
.public void setContent(int content)
content
- Integer representing 0 or more tick types to display; valid values include those constants in GaugeConstants
beginning with TICK_
.public int getMajorTickCount()
public void setMajorTickCount(int tickCount)
tickCount
- Integer representing MajorTick count.public java.awt.Color getMajorTickColor()
public void setMajorTickColor(java.awt.Color color)
color
- The color of the major tick marks.public int getMinorTickCount()
public void setMinorTickCount(int tickCount)
tickCount
- Integer representing minor tick count.public java.awt.Color getMinorTickColor()
public void setMinorTickColor(java.awt.Color color)
color
- The color of the minor tick marks.public double getMinorTickStep()
public void setMinorTickStep(double tickStep)
tickStep
- representing minor tick count.public double getMajorTickStep()
public void setMajorTickStep(double tickStep)
tickStep
- representing MajorTick step.