Package org.hippoecm.frontend.dialog
Class ButtonWrapper
- java.lang.Object
-
- org.hippoecm.frontend.dialog.ButtonWrapper
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
public class ButtonWrapper extends Object implements org.apache.wicket.util.io.IClusterable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ButtonWrapper(org.apache.wicket.markup.html.form.Button button)
ButtonWrapper(org.apache.wicket.model.IModel<String> label)
ButtonWrapper(org.apache.wicket.model.IModel<String> label, boolean ajax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.wicket.markup.html.form.Button
decorate(org.apache.wicket.markup.html.form.Button button)
org.apache.wicket.markup.html.form.Button
getButton()
protected wicket.contrib.input.events.key.KeyType
getKeyType()
boolean
hasChanges()
protected void
onSubmit()
protected void
onUpdateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
void
rendered()
void
setAjax(boolean c)
void
setEnabled(boolean isEnabled)
void
setKeyType(wicket.contrib.input.events.key.KeyType keyType)
void
setLabel(org.apache.wicket.model.IModel<String> label)
void
setStyle(ButtonStyle style)
protected void
setType(ButtonType buttonType)
void
setVisible(boolean isVisible)
-
-
-
Method Detail
-
onUpdateAjaxAttributes
protected void onUpdateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
-
getButton
public org.apache.wicket.markup.html.form.Button getButton()
-
decorate
protected org.apache.wicket.markup.html.form.Button decorate(org.apache.wicket.markup.html.form.Button button)
-
setEnabled
public void setEnabled(boolean isEnabled)
-
setVisible
public void setVisible(boolean isVisible)
-
setAjax
public void setAjax(boolean c)
-
setLabel
public void setLabel(org.apache.wicket.model.IModel<String> label)
-
setKeyType
public void setKeyType(wicket.contrib.input.events.key.KeyType keyType)
-
setStyle
public void setStyle(ButtonStyle style)
-
onSubmit
protected void onSubmit()
-
hasChanges
public boolean hasChanges()
-
rendered
public void rendered()
-
getKeyType
protected wicket.contrib.input.events.key.KeyType getKeyType()
-
setType
protected void setType(ButtonType buttonType)
-
-