Interface ClientItem
- All Superinterfaces:
org.timepedia.exporter.client.Exportable
public interface ClientItem
extends org.timepedia.exporter.client.Exportable
Interface for an action.
Example for the creation of a
Example for the creation of a
ClientItem
:
// context:ClientItemContext
var clientItem = context.createItem
("iconUrl", "title", function clientItemPerformable() { // Perform action });
- Since:
- 5.2.181105
- See Also:
-
Method Summary
-
Method Details
-
getTitle
String getTitle()Returns the action's title to be used for visualization.- Returns:
- The action title.
- Since:
- 5.2.181105
-
getIcon
String getIcon()Returns the action's icon to be used for visualization.- Returns:
- action icon.
- Since:
- 5.2.181105
-
perform
void perform()Performs the action.- Since:
- 5.2.181105
-