public class CharSetDataModelChangeEvent extends javax.swing.event.ChangeEvent
CharSetDataModel
. Concrete events will always be of classes
inherited from this class.Constructor and Description |
---|
CharSetDataModelChangeEvent(CharSetDataModel source,
boolean lastEvent,
java.lang.String charSetID,
CharSet charSet) |
Modifier and Type | Method and Description |
---|---|
CharSet |
getCharSet() |
java.lang.String |
getCharSetID()
Returns the ID of the affected character set used by the associated model.
|
CharSetDataModel |
getSource() |
boolean |
isLastEvent()
Determines whether this event is the last in a possible row of events triggered by a single operation.
|
public CharSetDataModelChangeEvent(CharSetDataModel source, boolean lastEvent, java.lang.String charSetID, CharSet charSet)
public CharSetDataModel getSource()
getSource
in class java.util.EventObject
public boolean isLastEvent()
CharSetDataModel.clear()
will e.g. trigger one event for each character set that is removed.
Listeners that only need to react to that change once, may only react to the event which stores
true
for this property.
true
if this event is the last or false
if additional events will follow as a
result of the same operationpublic java.lang.String getCharSetID()
If the ID is unknown, only getCharSet()
can be used to find out which character set is
affected.
null
if the ID is unknownpublic CharSet getCharSet()