Package org.luwrain.controls.block
Class BlockArea
java.lang.Object
org.luwrain.controls.block.BlockArea
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BlockArea.Appearance
protected BlockArea.ClickHandler
protected final ControlContext
protected BlockIterator
protected View
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
Action[]
int
int
getLine
(int index) int
boolean
isEmpty()
protected boolean
protected void
protected String
boolean
onAreaQuery
(AreaQuery query) protected boolean
onClick()
boolean
onInputEvent
(InputEvent event) protected boolean
onMoveDown
(InputEvent event) protected boolean
onMoveLeft
(InputEvent event) protected boolean
onMoveRight
(InputEvent event) protected boolean
onMoveUp
(InputEvent event) boolean
onSystemEvent
(SystemEvent event) void
-
Field Details
-
context
-
appearance
-
clickHandler
-
view
-
it
-
blocks
-
-
Constructor Details
-
BlockArea
-
-
Method Details
-
clear
public void clear() -
setBlocks
-
isEmpty
public boolean isEmpty() -
getHotPointX
public int getHotPointX()- Specified by:
getHotPointX
in interfaceArea
- Specified by:
getHotPointX
in interfaceHotPoint
-
getHotPointY
public int getHotPointY()- Specified by:
getHotPointY
in interfaceArea
- Specified by:
getHotPointY
in interfaceHotPoint
-
getLineCount
public int getLineCount()- Specified by:
getLineCount
in interfaceLines
-
getLine
-
getAreaName
- Specified by:
getAreaName
in interfaceArea
-
onInputEvent
- Specified by:
onInputEvent
in interfaceArea
-
onClick
protected boolean onClick() -
onMoveRight
-
onMoveLeft
-
onMoveUp
-
onMoveDown
-
onSystemEvent
- Specified by:
onSystemEvent
in interfaceArea
-
onAreaQuery
- Specified by:
onAreaQuery
in interfaceArea
-
getAreaActions
- Specified by:
getAreaActions
in interfaceArea
-
announceRow
public void announceRow() -
noContentStr
-
noContentMsg
protected void noContentMsg() -
noContent
protected boolean noContent()
-