HasEnabled (GWT Javadoc)

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.user.client.ui
Interface HasEnabled

All Known Implementing Classes:
  Anchor, Audio, Button, ButtonBase, ButtonCellBase, Canvas, CheckBox, CustomButton, DateBox, DoubleBox, FileUpload, FocusWidget, IntegerBox, ListBox, LongBox, MediaBase, MenuItem, PasswordTextBox, PushButton, RadioButton, ResetButton, RichTextArea, SimpleCheckBox, SimpleRadioButton, SubmitButton, SuggestBox, TextArea, TextBox, TextBoxBase, TextButtonCell, ToggleButton, ValueBox, ValueBoxBase, ValueListBox, Video

    public interface HasEnabled

A widget that implements this interface can be put in an "enabled" or "disabled" state.

Method Summary
`boolean` | `isEnabled()` Returns true if the widget is enabled, false if not.
`void` | `setEnabled(boolean enabled)` Sets whether this widget is enabled.

Method Detail

### isEnabled

    boolean isEnabled()

  Returns true if the widget is enabled, false if not.

### setEnabled

    void setEnabled(boolean enabled)

  Sets whether this widget is enabled.

  Parameters:
    `enabled` - `true` to enable the widget, `false` to disable it

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD