Packages

c

dotterweide.editor.painter

AbstractPainter

abstract class AbstractPainter extends Painter

Linear Supertypes
Painter, ObservableEvents[Rectangle], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractPainter
  2. Painter
  3. ObservableEvents
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AbstractPainter(context: PainterContext)

Abstract Value Members

  1. abstract def id: String

    Purely informal / informational

    Purely informal / informational

    Definition Classes
    Painter
  2. abstract def layer: Int

    Relative position in the painting stack.

    Relative position in the painting stack. Lower layers are painted early, higher layers are painted on top of lower layers.

    Definition Classes
    Painter
  3. abstract def paint(g: Graphics2D, bounds: Rectangle): Unit

    Paints the contents within the given visual bounds.

    Paints the contents within the given visual bounds.

    Definition Classes
    Painter

Concrete 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 canvas: Canvas
    Attributes
    protected
  6. def caretRectangleAt(offset: Int, overwrite: Boolean = terminal.overwriteMode): Rectangle

    Calculates the caret's visual rectangle given a text offset

    Calculates the caret's visual rectangle given a text offset

    Attributes
    protected
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def contains(chars: CharSequence, char: Char): Boolean
    Attributes
    protected
  9. def data: Data
    Attributes
    protected
  10. def disconnect(action: (Rectangle) => Unit): Unit
    Definition Classes
    ObservableEvents
  11. def dispose(): Unit

    Default implementation does nothing.

    Default implementation does nothing.

    Definition Classes
    AbstractPainterPainter
  12. def document: Document
    Attributes
    protected
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def fill(g: Graphics, r: Rectangle): Unit

    Fills a rectangle on the graphics using its current color

    Fills a rectangle on the graphics using its current color

    Attributes
    protected
  16. def font: FontSettings
    Attributes
    protected
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def grid: Grid
    Attributes
    protected
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def immediate: Boolean
    Definition Classes
    Painter
  21. def intervalOf(area: Area): Interval

    Translates a text area to an interval.

    Translates a text area to an interval. The interval is enlarged to start at the beginning of a line and to stop at the end of a line.

    Attributes
    protected
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def lineRectangleAt(offset: Int): Rectangle

    Calculates the visual rectangle for a text line containing an offset

    Calculates the visual rectangle for a text line containing an offset

    Attributes
    protected
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def notifyObservers(interval: Interval): Unit

    Calculates the visual rectangles for a text interval, and publishes events for them.

    Calculates the visual rectangles for a text interval, and publishes events for them.

    interval

    a "dirty" interval that needs repainting

    Attributes
    protected
  28. def notifyObservers(event: Rectangle): Unit
    Definition Classes
    ObservableEvents
  29. def onChange(action: (Rectangle) => Unit): Unit
    Definition Classes
    ObservableEvents
  30. def rectanglesOf(interval: Interval): Seq[Rectangle]

    Calculates the visual rectangles covering a given text interval

    Calculates the visual rectangles covering a given text interval

    Attributes
    protected
  31. def styling: Styling
    Attributes
    protected
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def terminal: Terminal
    Attributes
    protected
  34. def toPoint(offset: Int): Point

    Calculates the visual location of a text offset

    Calculates the visual location of a text offset

    Attributes
    protected
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. 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 Painter

Inherited from ObservableEvents[Rectangle]

Inherited from AnyRef

Inherited from Any

Ungrouped