org.richfaces.ui.attribute

## Interface CommandButtonProps

- All Superinterfaces:
    DisabledProps, EventsKeyProps, EventsMouseProps
  All Known Implementing Classes:
    AbstractCommandButton, UICommandButton

      public interface CommandButtonProps
      extends DisabledProps, 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.

    - ### Methods inherited from interface org.richfaces.ui.attribute.DisabledProps

      `isDisabled`

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

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

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

      `getOnkeydown, getOnkeypress, getOnkeyup`

- - ### Method Detail

    - #### getOnclick

          String getOnclick()

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

    - #### 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".

Copyright © 2014 JBoss by Red Hat. All rights reserved.