public class IlvCompositeStringProperty extends Object implements IlvStringProperty
IlvCompositeStringProperty
represents a string property that is
composed of separate IlvStringProperty
's concatenated together.Constructor and Description |
---|
IlvCompositeStringProperty()
Creates an
IlvCompositeStringProperty . |
Modifier and Type | Method and Description |
---|---|
IlvCompositeStringProperty |
append(IlvStringProperty property)
Appends the specified string
property to this composite
property. |
IlvCompositeStringProperty |
append(String s)
Appends the specified constant string to this composite
property.
|
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. |
String |
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.
|
void |
setValue(Object target,
String s)
Sets the value of the property represented by this adapter in the
specified
target object. |
public IlvCompositeStringProperty()
IlvCompositeStringProperty
.public String getValue(Object target)
target
object.getValue
in interface IlvProperty
getValue
in interface IlvStringProperty
target
- the target objectpublic void setValue(Object target, String s) throws ParseException
target
object. If a formatter has been installed
and s
does not match its validation requirements, a
ParseException
will be thrown.setValue
in interface IlvStringProperty
target
- the target objects
- the new value of the propertyParseException
- if the specified string is invalidpublic Class 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.getEventClass
in interface IlvProperty
public boolean isPropertyChangedEvent(EventObject event)
isPropertyChangedEvent
in interface IlvProperty
public 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.changedRowsIterator
in interface IlvProperty
public IlvCompositeStringProperty append(IlvStringProperty property)
property
to this composite
property.property
- a string propertypublic IlvCompositeStringProperty append(String s)
s
- a constant string© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.