public class ColumnButton extends Object implements org.apache.wicket.util.io.IClusterable
DataTable| Constructor and Description |
|---|
ColumnButton(org.apache.wicket.model.IModel<String> model,
String property)
Constructor
|
ColumnButton(String text,
String property)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Indicates whether this
ColumnButton is equal to another ColumnButton.Are considered equals buttons having the same text representation, which is the text supplied to the constructor (if toString() is not overridden). |
protected String |
getMarkupId()
Gets the markupId of the specified button.
This can be used to enable/disable the button |
String |
getProperty() |
int |
hashCode() |
boolean |
match(String text)
Indicates whether this
ColumnButton text representation (toString()) match to the supplied text. |
String |
toString() |
public ColumnButton(String text, String property)
text - the button's textproperty - the property used to retrieve the row's object valuepublic String getProperty()
protected String getMarkupId()
public boolean equals(Object object)
ColumnButton is equal to another ColumnButton.toString() is not overridden).equals in class Objectobject - a ColumnButton to compare topublic boolean match(String text)
ColumnButton text representation (toString()) match to the supplied text.text - the text to compare toCopyright © 2014 7thWeb. All Rights Reserved.