Class 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 Detail

      • ButtonWrapper

        public ButtonWrapper​(org.apache.wicket.markup.html.form.Button button)
      • ButtonWrapper

        public ButtonWrapper​(org.apache.wicket.model.IModel<String> label)
      • ButtonWrapper

        public ButtonWrapper​(org.apache.wicket.model.IModel<String> label,
                             boolean ajax)
    • 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)