class FlashPainter extends AbstractPainter
Paints an interval background between selection and text for a given duration in milliseconds.
- Alphabetic
- By Inheritance
- FlashPainter
- AbstractPainter
- Painter
- ObservableEvents
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FlashPainter(context: PainterContext, emitter: Flash)
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 canvas: Canvas
- Attributes
- protected
- Definition Classes
- AbstractPainter
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def contains(chars: CharSequence, char: Char): Boolean
- Attributes
- protected
- Definition Classes
- AbstractPainter
- def data: Data
- Attributes
- protected
- Definition Classes
- AbstractPainter
- def disconnect(action: (Rectangle) => Unit): Unit
- Definition Classes
- ObservableEvents
- def dispose(): Unit
Default implementation does nothing.
Default implementation does nothing.
- Definition Classes
- FlashPainter → AbstractPainter → Painter
- def document: Document
- Attributes
- protected
- Definition Classes
- AbstractPainter
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- def font: FontSettings
- Attributes
- protected
- Definition Classes
- AbstractPainter
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def grid: Grid
- Attributes
- protected
- Definition Classes
- AbstractPainter
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def id: String
Purely informal / informational
Purely informal / informational
- Definition Classes
- FlashPainter → Painter
- def immediate: Boolean
- Definition Classes
- Painter
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- FlashPainter → Painter
- 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
- 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(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
- def notifyObservers(event: Rectangle): Unit
- Definition Classes
- ObservableEvents
- def onChange(action: (Rectangle) => Unit): Unit
- Definition Classes
- ObservableEvents
- 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
- FlashPainter → Painter
- 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
- def styling: Styling
- Attributes
- protected
- Definition Classes
- AbstractPainter
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def terminal: Terminal
- Attributes
- protected
- Definition Classes
- AbstractPainter
- 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
- 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