public static class Toolbar.Button extends JSONObject implements Toolbar.Item
NULL| Constructor and Description |
|---|
Button(String text,
String handler) |
Button(String text,
String handler,
boolean disabled,
String tooltip) |
| Modifier and Type | Method and Description |
|---|---|
Toolbar.Button |
setDisabled(boolean disabled) |
Toolbar.Button |
setHandler(String handler) |
Toolbar.Button |
setText(String text) |
Toolbar.Button |
setTooltip(String tooltip) |
void |
write(JSONWriter writer)
Serialize to JSON writer.
|
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getString, has, isNull, keys, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOpt, quote, remove, toJSONArray, toString, toString, valueToString, writepublic Toolbar.Button setText(String text)
public Toolbar.Button setHandler(String handler)
public Toolbar.Button setTooltip(String tooltip)
public Toolbar.Button setDisabled(boolean disabled)
public void write(JSONWriter writer) throws JSONException
Toolbar.Itemwrite in interface Toolbar.Itemwriter - the writerJSONException - if a JSON error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved