class GridImpl extends Grid
Grid for the mono-spaced characters of a text. Can translate between cursor positions and visual pixel positions.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GridImpl
- Grid
- Observable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GridImpl(cellWidth0: Int, cellHeight0: Int, ascent0: Int, insetLeft: Int = 0, insetTop: Int = 0, insetRight: Int = 0, insetBottom: Int = 0)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ascent: Int
- def ascent_=(value: Int): Unit
- def cellHeight: Int
- def cellHeight_=(value: Int): Unit
- def cellWidth: Int
- def cellWidth_=(value: Int): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val insetBottom: Int
- val insetLeft: Int
- val insetRight: Int
- val insetTop: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def notifyObservers(): Unit
- Definition Classes
- Observable
- def onChange(action: => Unit): Unit
- Definition Classes
- Observable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
rectangleargument.Opposite of
toRectangle. - def toLocation(point: Point): Location
Translates a visible (pixel) point to a virtual text (grid) location.
- def toPoint(location: Location): Point
Translates a virtual text (grid) location to a visible (pixel) point.
- def toRectangle(area: Area): Rectangle
Translates a virtual text (grid) area to a visible (pixel) rectangle.
- def toSize(lines: Int, maximumIndent: Int): Dimension
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated