public class IlvActivityUserDefinedProperty extends IlvAbstractUserDefinedProperty
IlvActivityUserDefinedProperty is an adapter that allows
a user-defined property of an IlvGeneralActivity to be accessed
via the generic IlvStringProperty interface._formatter| Constructor and Description |
|---|
IlvActivityUserDefinedProperty(String userPropertyName)
Constructs a new
IlvActivityUserDefinedProperty for the
given user-property, assuming the property is a String. |
IlvActivityUserDefinedProperty(String userPropertyName,
Class userPropertyClass)
Constructs a new
IlvActivityUserDefinedProperty for the
given user-property and its class. |
| Modifier and Type | Method and Description |
|---|---|
Class |
getEventClass()
Returns the class of events that are triggered by an
IlvGeneralActivity when its user-defined property
changes value. |
boolean |
isPropertyChangedEvent(EventObject event)
Returns whether the specified event is a changed event for
this property.
|
getPropertyClass, getPropertyName, getValueImpl, setValueImplchangedRowsIterator, getFormat, getValue, setFormat, setValuepublic IlvActivityUserDefinedProperty(String userPropertyName)
IlvActivityUserDefinedProperty for the
given user-property, assuming the property is a String.userPropertyName - the name of the property in the model.public IlvActivityUserDefinedProperty(String userPropertyName, Class userPropertyClass)
IlvActivityUserDefinedProperty for the
given user-property and its class.userPropertyName - the name of the property in the model.userPropertyClass - the class of the property.public Class getEventClass()
IlvGeneralActivity when its user-defined property
changes value.public boolean isPropertyChangedEvent(EventObject event)
true
if and only if event is the same or a subclass of
getEventClass(), is also an
IlvPropertyEvent,
and ((IlvPropertyEvent)event).isChangedEvent() returns
true. This implementation is suitable for a property that
fires a specific IlvPropertyEvent subclass when its value
changes. Subclasses should override this method as necessary.isPropertyChangedEvent in interface IlvPropertyisPropertyChangedEvent in class IlvAbstractStringProperty© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.