Module jEdit

Class ColumnBlock

All Implemented Interfaces:
Cloneable, Node

public class ColumnBlock extends Selection.Rect implements Node
  • Constructor Details

    • ColumnBlock

      public ColumnBlock()
    • ColumnBlock

      public ColumnBlock(JEditBuffer buffer, int startLine, int startColumn, int endLine, int endColumn)
    • ColumnBlock

      public ColumnBlock(JEditBuffer buffer, int startLine, int endLine)
  • Method Details

    • addChild

      public void addChild(Node node)
      Specified by:
      addChild in interface Node
    • getChildren

      public Vector<Node> getChildren()
      Specified by:
      getChildren in interface Node
    • getParent

      public Node getParent()
      Specified by:
      getParent in interface Node
    • setWidth

      public void setWidth(int width)
    • setParent

      public void setParent(Node parent)
    • setLines

      public void setLines(Vector<ColumnBlockLine> lines)
    • getLines

      public Vector<ColumnBlockLine> getLines()
    • getStartLine

      public int getStartLine()
      Description copied from class: Selection
      Returns the starting line number of this selection.
      Overrides:
      getStartLine in class Selection
    • getEndLine

      public int getEndLine()
      Description copied from class: Selection
      Returns the ending line number of this selection.
      Overrides:
      getEndLine in class Selection
    • getColumnWidth

      public int getColumnWidth()
    • isLineWithinThisBlock

      public int isLineWithinThisBlock(int line)
    • getContainingBlock

      public ColumnBlock getContainingBlock(int line, int offset)
    • getColumnBlock

      public ColumnBlock getColumnBlock(int line, int offset)
    • searchChildren

      public ColumnBlock searchChildren(int line)
    • toString

      public String toString()
      Overrides:
      toString in class Selection
    • setDirtyStatus

      public void setDirtyStatus(boolean status)
    • updateLineNo

      public void updateLineNo(int line)
    • updateColumnBlockLineOffset

      public void updateColumnBlockLineOffset(int line, int offsetAdd, boolean increaseStartOffset)
    • setTabSizeDirtyStatus

      public void setTabSizeDirtyStatus(boolean dirty, boolean recursive)
    • areTabSizesDirty

      public boolean areTabSizesDirty()