HActionInputPreferred

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.havi.ui
Interface HActionInputPreferred

All Known Subinterfaces:
  HActionable, HSwitchable

All Known Implementing Classes:
  HGraphicButton, HTextButton, HToggleButton

    public interface HActionInputPreferred

A component which implements `HActionInputPreferred` indicates that this component expects to receive `HActionEvent` input events.

All interoperable implementations of the `HActionInputPreferred` interface must extend `HComponent` .

Note that the `java.awt.Component` method `isFocusTraversable` should always return true for a `java.awt.Component` implementing this interface.

Method Summary
`String` | `getActionCommand()` Gets the command name for the `HActionEvent` event fired by this HActionInputPreferred.
`void` | `processHActionEvent(HActionEvent evt)` Process an `HActionEvent` sent to this HActionInputPreferred.

Method Detail

### processHActionEvent

    void processHActionEvent(HActionEvent evt)

  Process an `HActionEvent` sent to this HActionInputPreferred.

  Parameters:
    `evt` - the `HActionEvent` to process.

### getActionCommand

    String getActionCommand()

  Gets the command name for the `HActionEvent` event fired by this HActionInputPreferred. If this HActionInputPreferred has no action command then an empty string shall be returned.

  Returns:
    A `String` representing the command name of the HActionEvent fired by this HActionInputPreferred.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD