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
- See Also:
-
Constructor Summary
ConstructorDescriptionButtonWrapper
(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
Modifier and TypeMethodDescriptionprotected org.apache.wicket.markup.html.form.Button
decorate
(org.apache.wicket.markup.html.form.Button button) org.apache.wicket.markup.html.form.Button
protected wicket.contrib.input.events.key.KeyType
boolean
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
void
setStyle
(ButtonStyle style) protected void
setType
(ButtonType buttonType) void
setVisible
(boolean isVisible)
-
Constructor Details
-
ButtonWrapper
public ButtonWrapper(org.apache.wicket.markup.html.form.Button button) -
ButtonWrapper
-
ButtonWrapper
-
-
Method Details
-
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
-
setKeyType
public void setKeyType(wicket.contrib.input.events.key.KeyType keyType) -
setStyle
-
onSubmit
protected void onSubmit() -
hasChanges
public boolean hasChanges() -
rendered
public void rendered() -
getKeyType
protected wicket.contrib.input.events.key.KeyType getKeyType() -
setType
-