Class

dotterweide.editor.painter

FlashPainter

Related Doc: package painter

Permalink

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

Instance Constructors

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

    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 canvas: Canvas

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  6. def caretRectangleAt(offset: Int, overwrite: Boolean = terminal.overwriteMode): Rectangle

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(chars: CharSequence, char: Char): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  9. def data: Data

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  10. def disconnect(action: (Rectangle) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ObservableEvents
  11. def dispose(): Unit

    Permalink

    Default implementation does nothing.

    Default implementation does nothing.

    Definition Classes
    FlashPainterAbstractPainterPainter
  12. def document: Document

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def fill(g: Graphics, r: Rectangle): Unit

    Permalink

    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 finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def font: FontSettings

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def grid: Grid

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def id: String

    Permalink

    Purely informal / informational

    Purely informal / informational

    Definition Classes
    FlashPainterPainter
  22. def immediate: Boolean

    Permalink
    Definition Classes
    Painter
  23. def intervalOf(area: Area): Interval

    Permalink

    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
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def layer: Int

    Permalink

    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
  26. def lineRectangleAt(offset: Int): Rectangle

    Permalink

    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
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def notifyObservers(interval: Interval): Unit

    Permalink

    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
  31. def notifyObservers(event: Rectangle): Unit

    Permalink
    Definition Classes
    ObservableEvents
  32. def onChange(action: (Rectangle) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ObservableEvents
  33. def paint(g: Graphics2D, bounds: Rectangle): Unit

    Permalink

    Paints the contents within the given visual bounds.

    Paints the contents within the given visual bounds.

    Definition Classes
    FlashPainterPainter
  34. def rectanglesOf(interval: Interval): Seq[Rectangle]

    Permalink

    Calculates the visual rectangles covering a given text interval

    Calculates the visual rectangles covering a given text interval

    Attributes
    protected
    Definition Classes
    AbstractPainter
  35. def styling: Styling

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def terminal: Terminal

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPainter
  38. def toPoint(offset: Int): Point

    Permalink

    Calculates the visual location of a text offset

    Calculates the visual location of a text offset

    Attributes
    protected
    Definition Classes
    AbstractPainter
  39. def toString(): String

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

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

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

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

Inherited from AbstractPainter

Inherited from Painter

Inherited from ObservableEvents[Rectangle]

Inherited from AnyRef

Inherited from Any

Ungrouped