public class IlvActivityFormattedEndTimeProperty extends IlvFormattedTimeProperty
IlvActivityFormattedEndTimeProperty is an adapter that allows
the end time of an IlvActivity to be accessed via the generic
IlvStringProperty interface._formatter| Constructor and Description |
|---|
IlvActivityFormattedEndTimeProperty()
Constructs a new
IlvActivityFormattedEndTimeProperty with a
default DateFormat in the current locale. |
IlvActivityFormattedEndTimeProperty(DateFormat dateFormatter)
Constructs a new
IlvActivityFormattedEndTimeProperty with
the specified date formatter. |
IlvActivityFormattedEndTimeProperty(String pattern)
Constructs a new
IlvActivityFormattedEndTimeProperty with
a SimpleDateFormat which uses the specified formatting
string in the current locale. |
| Modifier and Type | Method and Description |
|---|---|
Class |
getEventClass()
Returns the class of events that are triggered by
activities when their end time changes value. |
protected Object |
getValueImpl(Object activity)
Returns the specified
IlvActivity's end time. |
boolean |
isPropertyChangedEvent(EventObject event)
Returns whether the specified event is a changed event for
this property.
|
protected void |
setValueImpl(Object activity,
Object t)
Sets the specified
IlvActivity's end time. |
setFormat, setFormat, setFormat, setFormatchangedRowsIterator, getFormat, getValue, setValuepublic IlvActivityFormattedEndTimeProperty()
IlvActivityFormattedEndTimeProperty with a
default DateFormat in the current locale.public IlvActivityFormattedEndTimeProperty(DateFormat dateFormatter)
IlvActivityFormattedEndTimeProperty with
the specified date formatter.dateFormatter - The date formatter.public IlvActivityFormattedEndTimeProperty(String pattern)
IlvActivityFormattedEndTimeProperty with
a SimpleDateFormat which uses the specified formatting
string in the current locale.
Note: Not all locales support SimpleDateFormat. For
for full generality it is preferable to explicitly create a DateFormat
using one of its factory methods.
pattern - The SimpleDateFormat formatting pattern.protected Object getValueImpl(Object activity)
IlvActivity's end time.getValueImpl in class IlvAbstractStringPropertyactivity - The activity.IlvAbstractStringProperty.getValue(java.lang.Object)protected void setValueImpl(Object activity, Object t)
IlvActivity's end time.setValueImpl in class IlvAbstractStringPropertyactivity - The activity.t - The activity's new end time.IlvAbstractStringProperty.setValue(java.lang.Object, java.lang.String)public Class getEventClass()
activities when their end time changes value.public boolean isPropertyChangedEvent(EventObject event)
isPropertyChangedEvent in interface IlvPropertyisPropertyChangedEvent in class IlvAbstractStringPropertyevent - The event.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.