Experimental: this API is experimental and might be changed or removed in the future.

ButtonConstructor

切换到手册
public Button ();
public Button (Action clickEvent);

参数

clickEvent单击按钮时触发的操作。

描述

构造一个按钮。