JIDE 3.5.15

com.jidesoft.gauge
Class IndicatorStyle

java.lang.Object
  extended by com.jidesoft.gauge.IndicatorStyle

public class IndicatorStyle
extends Object


Constructor Summary
IndicatorStyle()
           
 
Method Summary
 Paint getFill()
           
 Color getOutline()
          Returns the color of the outline
 float getOutlineWidth()
          Returns the width of the outline
 void setFill(Paint fill)
           
 void setOutline(Color outlineColor)
          Specify the color of the outline
 void setOutlineWidth(float outlineWidth)
          Specify the width of the outline of the indicator, given as a percentage of the width of the bullet.
 IndicatorStyle withFill(Paint fill)
           
 IndicatorStyle withOutline(Color outline)
           
 IndicatorStyle withOutlineWidth(float outlineWidth)
          Specify the width of the outline of the indicator and return this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndicatorStyle

public IndicatorStyle()
Method Detail

getFill

public Paint getFill()

setFill

public void setFill(Paint fill)

withFill

public IndicatorStyle withFill(Paint fill)

getOutline

public Color getOutline()
Returns the color of the outline

Returns:
the color of the outline

setOutline

public void setOutline(Color outlineColor)
Specify the color of the outline

Parameters:
outlineColor - the color of the outline

withOutline

public IndicatorStyle withOutline(Color outline)

getOutlineWidth

public float getOutlineWidth()
Returns the width of the outline

Returns:
the width of the outline

setOutlineWidth

public void setOutlineWidth(float outlineWidth)
Specify the width of the outline of the indicator, given as a percentage of the width of the bullet. In practice this means that a value of 1 should give a fine outline, whereas a value of say, 3, would give a thicker outline.

Parameters:
outlineWidth - the width of the outline

withOutlineWidth

public IndicatorStyle withOutlineWidth(float outlineWidth)
Specify the width of the outline of the indicator and return this object

Parameters:
outlineWidth - the width of the outline of the indicator
Returns:
this object, so method calls can be chained together

JIDE 3.5.15