public interface IlvProperty
IlvProperty
defines a common interface for accessing a property of
target
objects. As such, this is slightly different than an instance
adapter since multiple target objects can share the same IlvStringProperty
instance.
This interface does not provide a setter method, but its subinterfaces generally do.
Modifier and Type | Method and Description |
---|---|
Iterator<IlvHierarchyNode> |
changedRowsIterator(EventObject event)
Returns an iterator over the activities or resources that the specified event reports
have changed with respect to this property.
|
Class |
getEventClass()
Returns the class of events that are triggered by
target objects when
the property represented by this adapter changes value. |
Object |
getValue(Object target)
Returns the value of the property represented by this adapter from the specified
target object. |
boolean |
isPropertyChangedEvent(EventObject event)
Returns whether the specified event is a changed event for this property.
|
Object getValue(Object target)
target
object.target
- the target objectClass getEventClass()
target
objects when
the property represented by this adapter changes value. Generally, this should be
IlvPropertyEvent
or one of its subclasses, although this is not strictly
guaranteed. If the property triggers more than 1 type of event, then the returned
class should be the lowest level superclass or superinterface that encompasses all of
the event types.boolean isPropertyChangedEvent(EventObject event)
Iterator<IlvHierarchyNode> changedRowsIterator(EventObject event)
IlvActivityNameProperty
and event
is an ActivityNameEvent
, then
this method returns an iterator over the single activity that fired the event.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.