Packages

class GridImpl extends Grid

Grid for the mono-spaced characters of a text. Can translate between cursor positions and visual pixel positions.

Linear Supertypes
Grid, Observable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridImpl
  2. Grid
  3. Observable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GridImpl(cellWidth0: Int, cellHeight0: Int, ascent0: Int, insetLeft: Int = 0, insetTop: Int = 0, insetRight: Int = 0, insetBottom: Int = 0)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def ascent: Int
    Definition Classes
    GridImplGrid
  6. def ascent_=(value: Int): Unit
  7. def cellHeight: Int
    Definition Classes
    GridImplGrid
  8. def cellHeight_=(value: Int): Unit
  9. def cellWidth: Int
    Definition Classes
    GridImplGrid
  10. def cellWidth_=(value: Int): Unit
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val insetBottom: Int
    Definition Classes
    GridImplGrid
  17. val insetLeft: Int
    Definition Classes
    GridImplGrid
  18. val insetRight: Int
    Definition Classes
    GridImplGrid
  19. val insetTop: Int
    Definition Classes
    GridImplGrid
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def notifyObservers(): Unit
    Definition Classes
    Observable
  25. def onChange(action: => Unit): Unit
    Definition Classes
    Observable
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toArea(rectangle: Rectangle): Area

    Translates a visible (pixel) rectangle to a virtual text (grid) area.

    Translates a visible (pixel) rectangle to a virtual text (grid) area. It does so by rounding down the top and left coordinate, and rounding up the right and bottom coordinate to the next grid element. In other words, the returned area is guaranteed to fully contain the rectangle argument.

    Opposite of toRectangle.

    Definition Classes
    GridImplGrid
  28. def toLocation(point: Point): Location

    Translates a visible (pixel) point to a virtual text (grid) location.

    Translates a visible (pixel) point to a virtual text (grid) location. It does so by rounding down the coordinates to the next grid element.

    Opposite of toPoint.

    Definition Classes
    GridImplGrid
  29. def toPoint(location: Location): Point

    Translates a virtual text (grid) location to a visible (pixel) point.

    Translates a virtual text (grid) location to a visible (pixel) point.

    Opposite of toLocation.

    Definition Classes
    GridImplGrid
  30. def toRectangle(area: Area): Rectangle

    Translates a virtual text (grid) area to a visible (pixel) rectangle.

    Translates a virtual text (grid) area to a visible (pixel) rectangle.

    Opposite of toArea.

    Definition Classes
    GridImplGrid
  31. def toSize(lines: Int, maximumIndent: Int): Dimension
    Definition Classes
    GridImplGrid
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Grid

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped