JToggleButton

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

Methods

MethodReturnsDescription
new(any)JToggleButton() -> JToggleButton: A toggle button with no text, not selected.
init(JToggleButton, any)()(JToggleButton) -> (): A toggle button with no text, not selected.
isInstance(any)booleanWhether obj is a JToggleButton object, a class(JToggleButton) subclass's included.

Fields

FieldTypeDescription
superAbstractButtonClassAbstractButton's class table: the base class.

Returned by

MethodReturnsDescription
JToggleButtonClass.newJToggleButton() -> JToggleButton: A toggle button with no text, not selected.

Method details

new

new: (any) -> JToggleButton

() -> JToggleButton: A toggle button with no text, not selected.

(string?) -> JToggleButton: A toggle button showing text, not selected.

(any) -> JToggleButton: A toggle button showing icon, not selected.

init

init: (JToggleButton, any) -> ()

(JToggleButton) -> (): A toggle button with no text, not selected.

(JToggleButton, string?) -> (): A toggle button showing text, not selected.

(JToggleButton, any) -> (): A toggle button showing icon, not selected.

isInstance

isInstance: (any) -> boolean

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