public class DataColumnEvent extends EventObject
IlvDataColumnInfo
.DataColumnListener
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
DataColumnEvent.Type
This class defines the event types of the outer event class.
|
source
Constructor and Description |
---|
DataColumnEvent(IlvDataColumnInfo source,
DataColumnEvent.Type type,
boolean oldValue,
boolean newValue)
Creates an event.
|
DataColumnEvent(IlvDataColumnInfo source,
DataColumnEvent.Type type,
Object oldValue,
Object newValue)
Creates an event.
|
Modifier and Type | Method and Description |
---|---|
IlvDataColumnInfo |
getColumnInfo()
Returns the column from which this event comes.
|
Object |
getNewValue()
Returns the new value.
|
Object |
getOldValue()
Returns the old value.
|
DataColumnEvent.Type |
getType()
Returns the event type.
|
String |
toString()
Returns a
String representation of this event. |
getSource
public DataColumnEvent(IlvDataColumnInfo source, DataColumnEvent.Type type, Object oldValue, Object newValue)
source
- The column.type
- One of EMPTY_VALUE_CHANGED
,
ENUM_VALUES_CHANGED
,
MIN_VALUE_CHANGED
,
MAX_VALUE_CHANGED
.oldValue
- The old value.newValue
- The new Value.public DataColumnEvent(IlvDataColumnInfo source, DataColumnEvent.Type type, boolean oldValue, boolean newValue)
source
- The column.type
- One of ENUMERATED_CHANGED
.oldValue
- The old value.newValue
- The new Value.public IlvDataColumnInfo getColumnInfo()
public DataColumnEvent.Type getType()
public Object getOldValue()
public Object getNewValue()
public String toString()
String
representation of this event.toString
in class EventObject
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.