org.richfaces.component.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

    All Methods Instance Methods Abstract 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.component.attribute.DisabledProps

      `isDisabled`

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

    - #### 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 © 2015 JBoss by Red Hat. All Rights Reserved.