Packages

class FlashPainter extends AbstractPainter

Paints an interval background between selection and text for a given duration in milliseconds.

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

Instance Constructors

  1. new FlashPainter(context: PainterContext, emitter: Flash)

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
    Definition Classes
    AbstractPainter
  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
    Definition Classes
    AbstractPainter
  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
    Definition Classes
    AbstractPainter
  9. def data: Data
    Attributes
    protected
    Definition Classes
    AbstractPainter
  10. def disconnect(action: (Rectangle) => Unit): Unit
    Definition Classes
    ObservableEvents
  11. def dispose(): Unit

    Default implementation does nothing.

    Default implementation does nothing.

    Definition Classes
    FlashPainterAbstractPainterPainter
  12. def document: Document
    Attributes
    protected
    Definition Classes
    AbstractPainter
  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
    Definition Classes
    AbstractPainter
  16. def font: FontSettings
    Attributes
    protected
    Definition Classes
    AbstractPainter
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def grid: Grid
    Attributes
    protected
    Definition Classes
    AbstractPainter
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def id: String

    Purely informal / informational

    Purely informal / informational

    Definition Classes
    FlashPainterPainter
  21. def immediate: Boolean
    Definition Classes
    Painter
  22. 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
    Definition Classes
    AbstractPainter
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. 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
    FlashPainterPainter
  25. 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
    Definition Classes
    AbstractPainter
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. 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
    Definition Classes
    AbstractPainter
  30. def notifyObservers(event: Rectangle): Unit
    Definition Classes
    ObservableEvents
  31. def onChange(action: (Rectangle) => Unit): Unit
    Definition Classes
    ObservableEvents
  32. 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
    FlashPainterPainter
  33. 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
    Definition Classes
    AbstractPainter
  34. def styling: Styling
    Attributes
    protected
    Definition Classes
    AbstractPainter
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def terminal: Terminal
    Attributes
    protected
    Definition Classes
    AbstractPainter
  37. def toPoint(offset: Int): Point

    Calculates the visual location of a text offset

    Calculates the visual location of a text offset

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

Inherited from Painter

Inherited from ObservableEvents[Rectangle]

Inherited from AnyRef

Inherited from Any

Ungrouped