-
- All Superinterfaces:
AttributeReadEnabled
,AttributeReadId
,AttributeReadValid
,AttributeReadVisible
,AttributeWriteEnabled
,AttributeWriteId
,AttributeWriteReadOnly
,AttributeWriteTooltip
,AttributeWriteVisible
,EventSource<UiEvent,UiEventListener>
,UiWidget
- All Known Subinterfaces:
UiAbstractButton
,UiAbstractCheckbox
,UiAbstractRadioButton
,UiButton
,UiCheckbox
,UiClickableWidget
,UiInternalLink
,UiMenuItem
,UiMenuItemCheckbox
,UiMenuItemRadioButton
,UiRadioButton
,UiTab
,UiWidgetWithSelection
- All Known Implementing Classes:
FxAbstractButton
,FxAbstractChoice
,FxAbstractLink
,FxActiveValidatableWidget
,FxActiveWidget
,FxButton
,FxCheckbox
,FxClickableWidget
,FxComboBox
,FxCompositeInput
,FxDataTable
,FxExternalLink
,FxHorizontalInput
,FxInput
,FxInternalLink
,FxPasswordInput
,FxRadioButton
,FxRadioChoice
,FxStringInput
,FxTextArea
,FxTextInput
,FxTextualInput
,TestAbstractButton
,TestAbstractChoice
,TestAbstractLink
,TestAbstractRadioButton
,TestAbstractSingleChoice
,TestActiveValidatableWidget
,TestActiveWidget
,TestButton
,TestCheckbox
,TestClickableWidget
,TestComboBox
,TestDataList
,TestExternalLink
,TestInput
,TestInternalLink
,TestPasswordInput
,TestRadioButton
,TestRadioChoice
,TestSelectionInput
,TestStringInput
,TestTextArea
,TestTextInput
,TestTextualInput
,TestValuedWidget
,TvmAbstractButton
,TvmAbstractLink
,TvmAbstractTextArea
,TvmActiveWidget
,TvmBooleanInput
,TvmButton
,TvmCheckbox
,TvmClickableWidget
,TvmComboBoxDataList
,TvmComboBoxSelect
,TvmExternalLink
,TvmHtmlInput
,TvmHtmlSelect
,TvmInput
,TvmInternalLink
,TvmLabelledInput
,TvmPasswordInput
,TvmRadioButton
,TvmRadioChoice
,TvmStringInput
,TvmTextArea
,TvmTextInput
,TvmTextualInput
public interface UiActiveWidget extends UiWidget
UiWidget
that is active so it can befocused
and allows toassign an access-key
. If aUiComposite
is active it will delegate focus and access-key to the first active child.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static char
ACCESS_KEY_NONE
Theaccess key
value if no access key is defined.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description char
getAccessKey()
void
setAccessKey(char accessKey)
This method sets theaccessKey
attribute of this object.-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltip
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.ui.api.widget.UiWidget
cast, dispose, getModificationTimestamp, getParent, getReadOnlyFixed, getStyles, isDisposed, isEnabled, isEnabled, isFocused, isModified, isReadOnly, isValid, isVisible, isVisible, reset, setEnabled, setEnabled, setFocused, setReadOnly, setReadOnlyFixed, setVisible, setVisible, validate, validate, validate, validateDown, validateUp
-
-
-
-
Field Detail
-
ACCESS_KEY_NONE
static final char ACCESS_KEY_NONE
Theaccess key
value if no access key is defined.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccessKey
char getAccessKey()
- Returns:
- the access key of this widget. If the access key is pressed together with the [shift] and [alt]
keys this widget will be invoked means that it is clicked. If not an action item (button, link,
etc.) it will get the
focus
. Will beACCESS_KEY_NONE
if no access key is defined.
-
setAccessKey
void setAccessKey(char accessKey)
This method sets theaccessKey
attribute of this object.- Parameters:
accessKey
- is the new value ofgetAccessKey()
. UseACCESS_KEY_NONE
to unset.
-
-