Skip to main content
A newer version of this page is available.

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)(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)(long)
java.lang.Object.wait(long, int)(long,int)

HintStyleBase()

Initializes a new HintStyleBase class instance with default parameters.

Declaration

public HintStyleBase()

Methods

getBackgroundColor() Method

Returns the hint background color.

Declaration

public Integer getBackgroundColor()

Returns

Type Description
Integer

The background color.

getMarkerSize() Method

Returns the hint item marker’s size.

Declaration

public Integer getMarkerSize()

Returns

Type Description
Integer

The marker size in pixels.

getPaddingBottom() Method

Returns the hint’s bottom padding.

Declaration

public Integer getPaddingBottom()

Returns

Type Description
Integer

The bottom padding in pixels.

getPaddingLeft() Method

Returns the hint’s left padding.

Declaration

public Integer getPaddingLeft()

Returns

Type Description
Integer

The left padding in pixels.

getPaddingRight() Method

Returns the hint’s right padding.

Declaration

public Integer getPaddingRight()

Returns

Type Description
Integer

The right padding in pixels.

getPaddingTop() Method

Returns the hint’s top padding.

Declaration

public Integer getPaddingTop()

Returns

Type Description
Integer

The top padding in pixels.

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.

setBackgroundColor(Integer) Method

Specifies the hint background color.

Declaration

public void setBackgroundColor(Integer color)

Parameters

Name Type Description
color Integer

The background color.

setMarkerSize(Integer) Method

Specifies the hint item marker’s size.

Declaration

public void setMarkerSize(Integer markerSize)

Parameters

Name Type Description
markerSize Integer

The marker size in pixels.

setPadding(Integer, Integer, Integer, Integer) Method

Specifies hint paddings, in pixels.

Declaration

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

Parameters

Name Type Description
left Integer

The left padding.

top Integer

The top padding.

right Integer

The right padding.

bottom Integer

The bottom padding.

setTextIndent(Integer) Method

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

Declaration

public void setTextIndent(Integer textIndent)

Parameters

Name Type Description
textIndent Integer

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