|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.gauge.NeedleStyle
public class NeedleStyle
Contains information about the presentation of the needle
Constructor Summary | |
---|---|
NeedleStyle()
|
Method Summary | |
---|---|
double |
getBaseWidth()
Returns the width of the base of the needle, as a proportion of the radius |
Paint |
getFillPaint()
|
double |
getHeadLength()
Returns the length of the head of the needle |
NeedleEndShape |
getHeadShape()
Returns the shape of the head of the needle |
double |
getHeadWidth()
Returns the width of the head of the needle |
Color |
getOutlineColor()
|
BasicStroke |
getOutlineStroke()
|
double |
getTailLength()
Returns the length of the tail of the needle |
NeedleEndShape |
getTailShape()
Returns the shape of the tail of the needle |
double |
getTailWidth()
Returns the width of the tail of the needle |
boolean |
isVisible()
Returns a boolean to indicate whether the needle is visible. |
void |
setBaseWidth(double baseWidth)
Specify the width of the base of the needle |
void |
setFillPaint(Paint paint)
|
void |
setHeadLength(double headLength)
Specify the length of the head of the needle, as a proportion of the radius |
void |
setHeadShape(NeedleEndShape headShape)
Specify the shape of the head of the needle |
void |
setHeadWidth(double headWidth)
Specify the width of the head of the needle, as a proportion of the radius |
void |
setOutlineColor(Color outlineColor)
|
void |
setOutlineStroke(BasicStroke outlineStroke)
|
void |
setTailLength(double tailLength)
Specify the length of the tail of the needle, as a proportion of the radius |
void |
setTailShape(NeedleEndShape tailShape)
Specify the shape of the tail of the needle |
void |
setTailWidth(double tailWidth)
Specify the width of the tail of the needle |
void |
setVisible(boolean visible)
Specify whether the needle should be visible; true by default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeedleStyle()
Method Detail |
---|
public Color getOutlineColor()
public void setOutlineColor(Color outlineColor)
public BasicStroke getOutlineStroke()
public void setOutlineStroke(BasicStroke outlineStroke)
public void setFillPaint(Paint paint)
public Paint getFillPaint()
public double getHeadLength()
public void setHeadLength(double headLength)
headLength
- the length of the head of the needlepublic double getHeadWidth()
public void setHeadWidth(double headWidth)
headWidth
- the width of the head of the needlepublic double getTailLength()
public void setTailLength(double tailLength)
tailLength
- the length of the tail of the needlepublic double getTailWidth()
public void setTailWidth(double tailWidth)
tailWidth
- the width of the tail of the needlepublic double getBaseWidth()
public void setBaseWidth(double baseWidth)
baseWidth
- the width of the base of the needlepublic NeedleEndShape getHeadShape()
public void setHeadShape(NeedleEndShape headShape)
headShape
- the shape of the head of the needlepublic NeedleEndShape getTailShape()
public void setTailShape(NeedleEndShape tailShape)
tailShape
- the shape of the tail of the needlepublic boolean isVisible()
public void setVisible(boolean visible)
visible
- whether the needle should be visible
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |