com.taursys.model.event
Class ContentChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.swing.event.ChangeEvent
          extended bycom.taursys.model.event.ContentChangeEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContentValueChangeEvent, ListContentChangeEvent

public class ContentChangeEvent
extends javax.swing.event.ChangeEvent

ContentChangeEvent Indicates that the current contents of a value holder have changed. Either it is a new value object in the holder, or many of the value object's properties have changed.

Version:
1.0
Author:
Marty Phelan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ContentChangeEvent(ValueHolder source)
          Constructs a new ContentChangeEvent for given source and indicates contents not null.
ContentChangeEvent(ValueHolder source, boolean contentNull)
          Constructs a new ContentChangeEvent for given source with indication of null state.
 
Method Summary
 boolean isContentNull()
          Get flag indicating whether or not the current contents of value holder is null.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentChangeEvent

public ContentChangeEvent(ValueHolder source,
                          boolean contentNull)
Constructs a new ContentChangeEvent for given source with indication of null state.


ContentChangeEvent

public ContentChangeEvent(ValueHolder source)
Constructs a new ContentChangeEvent for given source and indicates contents not null.

Method Detail

isContentNull

public boolean isContentNull()
Get flag indicating whether or not the current contents of value holder is null.

Returns:
flag indicating whether or not the current contents of value holder is null.


Copyright © 2007 Martin T Phelan. All Rights Reserved.