org.richfaces.component.attribute

## Interface CommandButtonProps

- All Superinterfaces:
    EventsKeyProps, EventsMouseProps

      public interface CommandButtonProps
      extends EventsMouseProps, EventsKeyProps

  Interface defining the methods for command-button-props.xml
  Author:
    Brian Leathem

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getOnclick()` Javascript code executed when a pointer button is clicked over this element.
    `String` | `getType()` Type of button to create.
    `boolean` | `isDisabled()` Flag indicating that this element must never receive focus or be included in a subsequent submit.

    - ### Methods inherited from interface org.richfaces.component.attribute.EventsMouseProps

      `getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup`

    - ### Methods inherited from interface org.richfaces.component.attribute.EventsKeyProps

      `getOnkeydown, getOnkeypress, getOnkeyup`

- - ### Method Detail

    - #### getType

          String getType()

      Type of button to create. Can be one of "submit", "button", "image" and "reset". If not specified, the default value is "submit".

    - #### isDisabled

          boolean isDisabled()

      Flag indicating that this element must never receive focus or be included in a subsequent submit.

    - #### getOnclick

          String getOnclick()

      Javascript code executed when a pointer button is clicked over this element.
      Specified by:
        `getOnclick` in interface `EventsMouseProps`

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.