Class BlockArea

java.lang.Object
org.luwrain.controls.block.BlockArea
All Implemented Interfaces:
Area, HotPoint, Lines

public class BlockArea extends Object implements Area
  • Field Details

  • Constructor Details

  • Method Details

    • clear

      public void clear()
    • setBlocks

      public void setBlocks(Block[] blocks)
    • isEmpty

      public boolean isEmpty()
    • getHotPointX

      public int getHotPointX()
      Specified by:
      getHotPointX in interface Area
      Specified by:
      getHotPointX in interface HotPoint
    • getHotPointY

      public int getHotPointY()
      Specified by:
      getHotPointY in interface Area
      Specified by:
      getHotPointY in interface HotPoint
    • getLineCount

      public int getLineCount()
      Specified by:
      getLineCount in interface Lines
    • getLine

      public String getLine(int index)
      Specified by:
      getLine in interface Lines
    • getAreaName

      public String getAreaName()
      Specified by:
      getAreaName in interface Area
    • onInputEvent

      public boolean onInputEvent(InputEvent event)
      Specified by:
      onInputEvent in interface Area
    • onClick

      protected boolean onClick()
    • onMoveRight

      protected boolean onMoveRight(InputEvent event)
    • onMoveLeft

      protected boolean onMoveLeft(InputEvent event)
    • onMoveUp

      protected boolean onMoveUp(InputEvent event)
    • onMoveDown

      protected boolean onMoveDown(InputEvent event)
    • onSystemEvent

      public boolean onSystemEvent(SystemEvent event)
      Specified by:
      onSystemEvent in interface Area
    • onAreaQuery

      public boolean onAreaQuery(AreaQuery query)
      Specified by:
      onAreaQuery in interface Area
    • getAreaActions

      public Action[] getAreaActions()
      Specified by:
      getAreaActions in interface Area
    • announceRow

      public void announceRow()
    • noContentStr

      protected String noContentStr()
    • noContentMsg

      protected void noContentMsg()
    • noContent

      protected boolean noContent()