HintStyleBase Class

The base class for hint apperance settings storages.

Declaration

public class HintStyleBase
extends TextElementStyleBase

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

HintStyleBase() Constructor

Initializes a new HintStyleBase class instance with default parameters.

Declaration

public HintStyleBase()

Methods

HintStyleBase.getBackgroundColor() Method

Returns the hint background color.

Declaration

public Integer getBackgroundColor()

Returns

Type Description
Integer

The background color.

HintStyleBase.getMarkerSize() Method

Returns the hint item marker's size.

Declaration

public Integer getMarkerSize()

Returns

Type Description
Integer

The marker size in pixels.

HintStyleBase.getPaddingBottom() Method

Returns the hint's bottom padding.

Declaration

public Integer getPaddingBottom()

Returns

Type Description
Integer

The bottom padding in pixels.

HintStyleBase.getPaddingLeft() Method

Returns the hint's left padding.

Declaration

public Integer getPaddingLeft()

Returns

Type Description
Integer

The left padding in pixels.

HintStyleBase.getPaddingRight() Method

Returns the hint's right padding.

Declaration

public Integer getPaddingRight()

Returns

Type Description
Integer

The right padding in pixels.

HintStyleBase.getPaddingTop() Method

Returns the hint's top padding.

Declaration

public Integer getPaddingTop()

Returns

Type Description
Integer

The top padding in pixels.

HintStyleBase.getTextIndent() Method

Returns the indent between a marker and a hint item's text.

Declaration

public Integer getTextIndent()

Returns

Type Description
Integer

The indent between a marker and a hint item's text in pixels.

HintStyleBase.setBackgroundColor(Integer) Method

Specifies the hint background color.

Declaration

public void setBackgroundColor(Integer color)

Parameters

Type Name Description
Integer color

The background color.

HintStyleBase.setMarkerSize(Integer) Method

Specifies the hint item marker's size.

Declaration

public void setMarkerSize(Integer markerSize)

Parameters

Type Name Description
Integer markerSize

The marker size in pixels.

HintStyleBase.setPadding(Integer, Integer, Integer, Integer) Method

Specifies hint paddings, in pixels.

Declaration

public void setPadding(Integer left, Integer top, Integer right, Integer bottom)

Parameters

Type Name Description
Integer left

The left padding.

Integer top

The top padding.

Integer right

The right padding.

Integer bottom

The bottom padding.

HintStyleBase.setTextIndent(Integer) Method

Specifies the indent between a marker and a hint item's text.

Declaration

public void setTextIndent(Integer textIndent)

Parameters

Type Name Description
Integer textIndent

The indent between a marker and a hint item's text in pixels.