createButton Method

This member of Class WaveLinkScreen is supported on: CE

The createButton Method creates a button widget.

Syntax

public ButtonHandle createButton(Region r,
              java.lang.String text,
              WidgetOptions options,
              WaveLinkListener listener)

Parameters

r

The widget region

text

The button text

options

The widget options or null for the screen default

listener

The WaveLinkListener or null for none

Returns

ButtonHandle

Throws

WaveLinkError

Remarks

WidgetOptions are inherited from the screen, but can be overridden by the supplied WidgetOptions object.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal