Interface View.Button
- Enclosing interface:
View
public static interface View.Button
One button of
View.Buttons.-
Method Summary
Modifier and TypeMethodDescriptionA value sent with the action (ActionContext.string(String)...), or a parameter of the page it opens (Viewer.param(String)).
-
Method Details
-
with
A value sent with the action (ActionContext.string(String)...), or a parameter of the page it opens (Viewer.param(String)).- Parameters:
key- its namevalue- a string, a number or a boolean- Returns:
- this button
-
tone
- Parameters:
tone- its colour:Tone.ACCENTfor the main one,Tone.BADfor what cannot be undone- Returns:
- this button
-
icon
- Parameters:
icon- an icon's name or path data, asExtension.icon(String)- Returns:
- this button
-
confirm
- Parameters:
question- asked first, in a dialog, before the action runs- Returns:
- this button
-