If listener is null, no exception is thrown and no action is performed. @param propertyName one of the property names listed above @param listener the PropertyChangeListener to be added @see #removePropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener) @see #getPropertyChangeListeners(java.lang.String) @see #addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)
listener
in parameter to this library.
listener
in parameter to this home.
listener
in parameter to this environment.
listener
in parameter to this piece.
listener
in parameter to this wall.
listener
in parameter to this wall.
true
) or right side?
Component
is inheriting a bound property, then no event will be fired in response to a change in the inherited property. If listener
is null
, no exception is thrown and no action is performed.
@param listener the property change listener to be added
@see #removePropertyChangeListener
@see #getPropertyChangeListeners
@see #addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)
If listener is null, no exception is thrown and no action is performed. @param listener the PropertyChangeListener to be added @see Component#removePropertyChangeListener @see #addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)
listener
is null, no exception is thrown and no action is taken.
@param listener The PropertyChangeListener to be added
PropertyChangeListener
to this BeanContextChild
in order to receive a PropertyChangeEvent
whenever the specified property has changed.
@param name the name of the property to listen on
@param pcl the PropertyChangeListener
to add
name
or pcl
is null, no exception is thrown and no action is taken.
@param name The name of the property to listen on
@param pcl The PropertyChangeListener
to be added
PropertyChangeListener
to the listener list. The listener is registered for all properties. A PropertyChangeEvent
will get fired in response to an explicit call to setFont
, setBackground
, or setForeground
on the current component. Note that if the current component is inheriting its foreground, background, or font from its container, then no event will be fired in response to a change in the inherited property.
@param listener the listener to be added
listener
to the registered listeners.
@param listener The PropertyChangeListener to add.
Component
.
@param l the listener to add
Note: Depending on the means in which the property values changed, the old and new values for the property can be either typed, a string representation of the value, or null
. Clients who wish to behave properly in all cases should all three cases in their implementation of the property change listener.
Adds a property change listener to this preference store.
Note The types of the oldValue and newValue of the generated PropertyChangeEvent are determined by whether or not the typed API in IPreferenceStore was called. If values are changed via setValue(name,type) the values in the PropertyChangedEvent will be of that type. If they are set using a non typed API (i.e. #setToDefault or using the OSGI Preferences) the values will be unconverted Strings.
A listener will be called in the same Thread that it is invoked in. Any Thread dependant listeners (such as those who update an SWT widget) will need to update in the correct Thread. In the case of an SWT update you can update using Display#syncExec(Runnable) or Display#asyncExec(Runnable).
Likewise any application that updates an IPreferenceStore from a Thread other than the UI Thread should be aware of any listeners that require an update in the UI Thread.
@param listener a property change listener @see org.eclipse.jface.util.PropertyChangeEvent @see #setToDefault(String) @see #setValue(String,boolean) @see #setValue(String,double) @see #setValue(String,float) @see #setValue(String,int) @see #setValue(String,long) @see #setValue(String,String)The changes supported by the console view are as follows:
IBasicPropertyConstants.P_TEXT
- indicates the name of a console has changedIBasicPropertyConstants.P_IMAGE
- indicates the image of a console has changedConsoles may define additional properties as required.
@param listener a property change listenerPropertyChangeListener
that will be notified on all PropertyChangeEvents
originating in the monitored project.
@param lst the listener to add
If listener is null, no exception is thrown and no action is performed. @param propertyName one of the property names listed above @param listener the PropertyChangeListener to be added @see #removePropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener) @see #getPropertyChangeListeners(java.lang.String) @see #addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|