Trait

dotterweide.editor

Grid

Related Doc: package editor

Permalink

trait Grid extends Observable

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

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

Abstract Value Members

  1. abstract def ascent: Int

    Permalink
  2. abstract def cellHeight: Int

    Permalink
  3. abstract def cellWidth: Int

    Permalink
  4. abstract def insetBottom: Int

    Permalink
  5. abstract def insetLeft: Int

    Permalink
  6. abstract def insetRight: Int

    Permalink
  7. abstract def insetTop: Int

    Permalink
  8. abstract 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.

  9. abstract 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.

  10. abstract 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.

  11. abstract 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.

  12. abstract def toSize(lines: Int, maximumIndent: Int): Dimension

    Permalink

Concrete 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 clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

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

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped