public static final class SelectColorCallback.Action extends AsyncCallbackAction<Response>
SelectColorCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the browser that the user has canceled color selection.
|
void |
select(Color color)
Notifies the browser that the user has selected a color.
|
isClosed
public void select(Color color)
color
- the selected colorpublic void cancel()