JButton

A type alias: another name for the type it stands for.

Methods

MethodReturnsDescription
new(any)JButton() -> JButton: A button with no text.
new<T>(string?, T)JButton
init(JButton, any)()(JButton) -> (): A button with no text.
init<T>(JButton, string?, T)()
isInstance(any)booleanWhether obj is a JButton object, a class(JButton) subclass's included.

Fields

FieldTypeDescription
superAbstractButtonClassAbstractButton's class table: the base class.

Returned by

MethodReturnsDescription
JButtonClass.newJButton() -> JButton: A button with no text.

Method details

new

new: ((any) -> JButton) & (<T>(string?, T) -> JButton)

() -> JButton: A button with no text.

(string?) -> JButton: A button showing text.

(any) -> JButton: A button showing icon.

<T>(string?, T) -> JButton: A button showing text and icon.

init

init: ((JButton, any) -> ()) & (<T>(JButton, string?, T) -> ())

(JButton) -> (): A button with no text.

(JButton, string?) -> (): A button showing text.

(JButton, any) -> (): A button showing icon.

<T>(JButton, string?, T) -> (): A button showing text and icon.

isInstance

isInstance: (any) -> boolean

Whether obj is a JButton object, a class(JButton) subclass's included.