Package | Description |
---|---|
org.pepstock.charba.client.utils.toast |
Contains all classes to use
Toaster utility. |
Modifier and Type | Method and Description |
---|---|
ActionClickEventHandler |
ActionItem.getClickEventHandler()
Returns the action click event handler instance.
|
ActionClickEventHandler |
ToastItemAction.getClickEventHandler()
Returns the action click event handler instance.
|
Constructor and Description |
---|
ActionItem(Key id,
ActionClickEventHandler handler)
Creates the action with the id of the toast and the handler to invoke when the user will click on the action.
The content is the value of the id. |
ActionItem(Key id,
String content,
ActionClickEventHandler handler)
Creates the action with the id of the action, the content to show on the toast and the handler to invoke when the user will click on the action.
|
ActionItem(String content,
ActionClickEventHandler handler)
Creates the action with the content to show on the toast and the handler to invoke when the user will click on the action.
The id of the action has been created automatically. |
ActionItem(String id,
String content,
ActionClickEventHandler handler)
Creates the action with the id of the action, the content to show on the toast and the handler to invoke when the user will click on the action.
|