Skip to main content

Hint Class

The Chart hint-related settings’ storage.

Declaration

public class Hint
extends HintBase

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)

Hint()

Initializes a new Hint class instance with default parameters.

Declaration

public Hint()

Methods

getBehavior() Method

Returns the HintBehavior descendant that defines how hints behave.

Declaration

public HintBehavior getBehavior()

Returns

Type Description
HintBehavior

The HintBehavior class descendant’s object that specifies hint behavior.

getStyle() Method

Returns the HintStyle object that specifies a hint’s appearance settings.

Declaration

public HintStyle getStyle()

Returns

Type Description
HintStyle

The HintStyle object specifying hint appearance.

setBehavior(HintBehavior) Method

Specifies the HintBehavior descendant that defines how hints behave.

Declaration

public void setBehavior(HintBehavior behavior)

Parameters

Name Type Description
behavior HintBehavior

The HintBehavior class descendant’s object that specifies hint behavior.

setStyle(HintStyle) Method

Specifies the HintStyle object that defines a hint’s appearance settings.

Declaration

public void setStyle(HintStyle style)

Parameters

Name Type Description
style HintStyle

The HintStyle object specifying hint appearance.