|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.model.IlpAttributeValueChangeSupport
public class IlpAttributeValueChangeSupport
This class provides support for storing AttributeValueListeners and
sending them events.
| Constructor Summary | |
|---|---|
IlpAttributeValueChangeSupport(IlpAttributeValueHolder source)
Constructor |
|
| Method Summary | |
|---|---|
void |
addAttributeValueListener(AttributeValueListener l)
Adds a listener to attribute value changes. |
void |
fireAttributeChange(IlpAttribute attribute,
Object newValue,
Object oldValue)
Fires an attribute value change event. |
void |
fireEvent(AttributeValueEvent ev)
Notify events to listeners |
protected IlpAttributeValueHolder |
getSource()
Returns the real object. |
protected boolean |
hasAttributeValueNotification()
Returns true if fireEvent is required to be called for
attribute value changes. |
void |
removeAttributeValueListener(AttributeValueListener l)
Removes the given listener from the attribute value change notifications. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpAttributeValueChangeSupport(IlpAttributeValueHolder source)
source - The real object| Method Detail |
|---|
protected IlpAttributeValueHolder getSource()
protected boolean hasAttributeValueNotification()
fireEvent is required to be called for
attribute value changes. Returns false if fireEvent is
guaranteed to do nothing.
public void addAttributeValueListener(AttributeValueListener l)
public void removeAttributeValueListener(AttributeValueListener l)
public void fireEvent(AttributeValueEvent ev)
ev - Event
public void fireAttributeChange(IlpAttribute attribute,
Object newValue,
Object oldValue)
attribute - Business AttributenewValue - New attribute valueoldValue - Old attribute value
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||