public abstract class AbstractUiModeChanger extends Object implements UiModeChanger
UiModeChanger
. It delegates to
UiWidgetAdapter.setMode(boolean)
if the UiWidgetAdapter
has
already been created
. Otherwise it does nothing.Constructor and Description |
---|
AbstractUiModeChanger()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
changeMode(AbstractUiWidgetNative<?,?> widget,
UiMode newMode,
UiWidgetAdapter widgetAdapter)
This method is called from
changeMode(UiWidget, UiMode) if the UiWidgetAdapter has
already been created . |
void |
changeMode(UiWidget widget,
UiMode newMode)
|
public void changeMode(UiWidget widget, UiMode newMode)
changeMode
in interface UiModeChanger
widget
- is the UiWidget
where to change the UiMode
to newMode
.newMode
- is the new UiMode
.protected void changeMode(AbstractUiWidgetNative<?,?> widget, UiMode newMode, UiWidgetAdapter widgetAdapter)
changeMode(UiWidget, UiMode)
if the UiWidgetAdapter
has
already been created
.widget
- is the UiWidget
where to change the UiMode
to newMode
.newMode
- is the new UiMode
.widgetAdapter
- is the UiWidgetAdapter
of the widget
.Copyright © 2001–2016 mmm-Team. All rights reserved.