Package org.luwrain.controls
Class WrappingControlContext
java.lang.Object
org.luwrain.controls.WrappingControlContext
- All Implemented Interfaces:
ControlContext
,HookContainer
- Direct Known Subclasses:
LayoutBase.LayoutControlContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.core.HookContainer
HookContainer.Hook, HookContainer.HookResult, HookContainer.HookRunner
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeBkg
(FutureTask task) int
getAreaVisibleHeight
(Area area) int
getAreaVisibleWidth
(Area area) getI18n()
int
int
getSpeakableText
(String text, Luwrain.SpeakableTextType type) getStaticStr
(String id) getUniRefInfo
(String uniRef) void
message
(String text, Luwrain.MessageType messageType) void
onAreaNewBackgroundSound
(Area area) void
onAreaNewContent
(Area area) void
onAreaNewHotPoint
(Area area) void
onAreaNewName
(Area area) void
void
boolean
runHooks
(String hookName, HookContainer.HookRunner runner) void
runUiSafely
(Runnable runnable) void
void
void
sayLetter
(char letter) void
void
setEventResponse
(EventResponse eventResponse) void
silence()
staticStr
(LangStatic id)
-
Field Details
-
context
-
-
Constructor Details
-
WrappingControlContext
-
-
Method Details
-
say
- Specified by:
say
in interfaceControlContext
-
say
- Specified by:
say
in interfaceControlContext
-
sayStaticStr
- Specified by:
sayStaticStr
in interfaceControlContext
-
sayLetter
public void sayLetter(char letter) - Specified by:
sayLetter
in interfaceControlContext
-
onAreaNewName
- Specified by:
onAreaNewName
in interfaceControlContext
-
onAreaNewContent
- Specified by:
onAreaNewContent
in interfaceControlContext
-
onAreaNewHotPoint
- Specified by:
onAreaNewHotPoint
in interfaceControlContext
-
getAreaVisibleWidth
- Specified by:
getAreaVisibleWidth
in interfaceControlContext
-
getAreaVisibleHeight
- Specified by:
getAreaVisibleHeight
in interfaceControlContext
-
popup
- Specified by:
popup
in interfaceControlContext
-
staticStr
- Specified by:
staticStr
in interfaceControlContext
-
getStaticStr
- Specified by:
getStaticStr
in interfaceControlContext
-
playSound
- Specified by:
playSound
in interfaceControlContext
-
getUniRefInfo
- Specified by:
getUniRefInfo
in interfaceControlContext
-
silence
public void silence()- Specified by:
silence
in interfaceControlContext
-
setEventResponse
- Specified by:
setEventResponse
in interfaceControlContext
-
getClipboard
- Specified by:
getClipboard
in interfaceControlContext
-
getI18n
- Specified by:
getI18n
in interfaceControlContext
-
getScreenWidth
public int getScreenWidth()- Specified by:
getScreenWidth
in interfaceControlContext
-
getScreenHeight
public int getScreenHeight()- Specified by:
getScreenHeight
in interfaceControlContext
-
executeBkg
- Specified by:
executeBkg
in interfaceControlContext
-
onAreaNewBackgroundSound
- Specified by:
onAreaNewBackgroundSound
in interfaceControlContext
-
getSpeakableText
- Specified by:
getSpeakableText
in interfaceControlContext
-
runHooks
- Specified by:
runHooks
in interfaceHookContainer
-
message
- Specified by:
message
in interfaceControlContext
-
runUiSafely
- Specified by:
runUiSafely
in interfaceControlContext
-