Class

dotterweide.editor

GridImpl

Related Doc: package editor

Permalink

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. All

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ascent: Int

    Permalink
    Definition Classes
    GridImplGrid
  6. def ascent_=(value: Int): Unit

    Permalink
  7. def cellHeight: Int

    Permalink
    Definition Classes
    GridImplGrid
  8. def cellHeight_=(value: Int): Unit

    Permalink
  9. def cellWidth: Int

    Permalink
    Definition Classes
    GridImplGrid
  10. def cellWidth_=(value: Int): Unit

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. val insetBottom: Int

    Permalink
    Definition Classes
    GridImplGrid
  18. val insetLeft: Int

    Permalink
    Definition Classes
    GridImplGrid
  19. val insetRight: Int

    Permalink
    Definition Classes
    GridImplGrid
  20. val insetTop: Int

    Permalink
    Definition Classes
    GridImplGrid
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def notifyObservers(): Unit

    Permalink
    Definition Classes
    Observable
  26. def onChange(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Observable
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toArea(rectangle: Rectangle): Area

    Permalink

    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
  29. def toLocation(point: Point): Location

    Permalink

    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
  30. def toPoint(location: Location): Point

    Permalink

    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
  31. def toRectangle(area: Area): Rectangle

    Permalink

    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
  32. def toSize(lines: Int, maximumIndent: Int): Dimension

    Permalink
    Definition Classes
    GridImplGrid
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Grid

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped