public class ToolbarButton extends AbstractButton
DataTable toolbar| Constructor and Description |
|---|
ToolbarButton(String name)
Constructor for built-in commands
|
ToolbarButton(String name,
org.apache.wicket.model.IModel<String> text)
Constructor for built-in commands
|
ToolbarButton(String name,
org.apache.wicket.model.IModel<String> text,
String property)
Constructor
|
ToolbarButton(String name,
String property)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBuiltIn()
Indicates whether the button acts as a built-in one (like create, edit, update, destroy)
|
void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
List<String> values)
Triggered when the toolbar-button is clicked
|
String |
toString() |
equals, getName, getProperty, getText, hashCode, isVisible, matchpublic ToolbarButton(String name)
name - the button's namepublic ToolbarButton(String name, org.apache.wicket.model.IModel<String> text)
name - the button's nametext - the button's textpublic ToolbarButton(String name, String property)
name - the button's nameproperty - the property used to retrieve the row's object valuepublic boolean isBuiltIn()
AbstractButtonisBuiltIn in class AbstractButtonCopyright © 2017 7thWeb. All rights reserved.