Liking cljdoc? Tell your friends :D

javax.swing.event.SwingPropertyChangeSupport

This subclass of java.beans.PropertyChangeSupport is almost identical in functionality. The only difference is if constructed with SwingPropertyChangeSupport(sourceBean, true) it ensures listeners are only ever notified on the Event Dispatch Thread.

This subclass of java.beans.PropertyChangeSupport is almost
identical in functionality. The only difference is if constructed with
SwingPropertyChangeSupport(sourceBean, true) it ensures
listeners are only ever notified on the Event Dispatch Thread.
raw docstring

->swing-property-change-supportclj

(->swing-property-change-support source-bean)
(->swing-property-change-support source-bean notify-on-edt)

Constructor.

Constructs a SwingPropertyChangeSupport object.

source-bean - the bean to be given as the source for any events - java.lang.Object notify-on-edt - whether to notify listeners on the Event Dispatch Thread only - boolean

throws: java.lang.NullPointerException - if sourceBean is null

Constructor.

Constructs a SwingPropertyChangeSupport object.

source-bean - the bean to be given as the source for any events - `java.lang.Object`
notify-on-edt - whether to notify listeners on the Event Dispatch Thread only - `boolean`

throws: java.lang.NullPointerException - if sourceBean is null
raw docstring

fire-property-changeclj

(fire-property-change this evt)

Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name.

No event is fired if the given event's old and new values are equal and non-null.

If isNotifyOnEDT() is true and called off the Event Dispatch Thread this implementation uses SwingUtilities.invokeLater to send out the notification on the Event Dispatch Thread. This ensures listeners are only ever notified on the Event Dispatch Thread.

evt - the PropertyChangeEvent to be fired - java.beans.PropertyChangeEvent

throws: java.lang.NullPointerException - if evt is null

Fires a property change event to listeners
 that have been registered to track updates of
 all properties or a property with the specified name.

 No event is fired if the given event's old and new values are equal and non-null.


 If isNotifyOnEDT() is true and called off the
 Event Dispatch Thread this implementation uses
 SwingUtilities.invokeLater to send out the notification
 on the Event Dispatch Thread. This ensures  listeners
 are only ever notified on the Event Dispatch Thread.

evt - the PropertyChangeEvent to be fired - `java.beans.PropertyChangeEvent`

throws: java.lang.NullPointerException - if evt is null
raw docstring

notify-on-edt?clj

(notify-on-edt? this)

Returns notifyOnEDT property.

returns: notifyOnEDT property - boolean

Returns notifyOnEDT property.

returns: notifyOnEDT property - `boolean`
raw docstring

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

× close