Liking cljdoc? Tell your friends :D

jdk.awt.event.PaintEvent

The component-level paint event. This event is a special type which is used to ensure that paint/update method calls are serialized along with the other events delivered from the event queue. This event is not designed to be used with the Event Listener model; programs should continue to override paint/update methods in order render themselves properly.

An unspecified behavior will be caused if the id parameter of any particular PaintEvent instance is not in the range from PAINT_FIRST to PAINT_LAST.

The component-level paint event.
This event is a special type which is used to ensure that
paint/update method calls are serialized along with the other
events delivered from the event queue.  This event is not
designed to be used with the Event Listener model; programs
should continue to override paint/update methods in order
render themselves properly.

An unspecified behavior will be caused if the id parameter
of any particular PaintEvent instance is not
in the range from PAINT_FIRST to PAINT_LAST.
raw docstring

*-paintclj

Static Constant.

The paint event type.

type: int

Static Constant.

The paint event type.

type: int
raw docstring

*-paint-firstclj

Static Constant.

Marks the first integer id for the range of paint event ids.

type: int

Static Constant.

Marks the first integer id for the range of paint event ids.

type: int
raw docstring

*-paint-lastclj

Static Constant.

Marks the last integer id for the range of paint event ids.

type: int

Static Constant.

Marks the last integer id for the range of paint event ids.

type: int
raw docstring

*-updateclj

Static Constant.

The update event type.

type: int

Static Constant.

The update event type.

type: int
raw docstring

->paint-eventclj

(->paint-event source id update-rect)

Constructor.

Constructs a PaintEvent object with the specified source component and type. This method throws an IllegalArgumentException if source is null.

source - The object where the event originated - java.awt.Component id - The integer that identifies the event type. For information on allowable values, see the class description for PaintEvent - int update-rect - The rectangle area which needs to be repainted - java.awt.Rectangle

throws: java.lang.IllegalArgumentException - if source is null

Constructor.

Constructs a PaintEvent object with the specified
 source component and type.
  This method throws an
 IllegalArgumentException if source
 is null.

source - The object where the event originated - `java.awt.Component`
id - The integer that identifies the event type. For information on allowable values, see the class description for PaintEvent - `int`
update-rect - The rectangle area which needs to be repainted - `java.awt.Rectangle`

throws: java.lang.IllegalArgumentException - if source is null
raw docstring

get-update-rectclj

(get-update-rect this)

Returns the rectangle representing the area which needs to be repainted in response to this event.

returns: java.awt.Rectangle

Returns the rectangle representing the area which needs to be
 repainted in response to this event.

returns: `java.awt.Rectangle`
raw docstring

param-stringclj

(param-string this)

Description copied from class: ComponentEvent

returns: a string identifying the event and its attributes - java.lang.String

Description copied from class: ComponentEvent

returns: a string identifying the event and its attributes - `java.lang.String`
raw docstring

set-update-rectclj

(set-update-rect this update-rect)

Sets the rectangle representing the area which needs to be repainted in response to this event.

update-rect - the rectangle area which needs to be repainted - java.awt.Rectangle

Sets the rectangle representing the area which needs to be
 repainted in response to this event.

update-rect - the rectangle area which needs to be repainted - `java.awt.Rectangle`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close