fulmine.model.container.events
Class AbstractContainerFieldEvent

java.lang.Object
  extended by fulmine.event.AbstractEvent
      extended by fulmine.model.container.events.AbstractContainerFieldEvent
All Implemented Interfaces:
IEvent, IAddressable, IDescriptor, Cloneable
Direct Known Subclasses:
ContainerFieldAddedEvent, ContainerFieldRemovedEvent

public abstract class AbstractContainerFieldEvent
extends AbstractEvent

Base-class for events associated with IField instances being added or removed from an IContainer. The source of the event is the IContainer.

Author:
Ramon Servadei

Constructor Summary
protected AbstractContainerFieldEvent(IContainer source, IField field)
          Standard constructor with the field
 
Method Summary
protected  String getAdditionalToString()
          Delegate method for subclasses to provide additional toString information.
 IField getField()
          Get the field for the event.
 
Methods inherited from class fulmine.event.AbstractEvent
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, hideSourceFromToString, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractContainerFieldEvent

protected AbstractContainerFieldEvent(IContainer source,
                                      IField field)
Standard constructor with the field

Parameters:
field - the field for the event
Method Detail

getField

public final IField getField()
Get the field for the event.

Returns:
the field for the event

getAdditionalToString

protected String getAdditionalToString()
Description copied from class: AbstractEvent
Delegate method for subclasses to provide additional toString information. This should be a comma separated string, e.g. "one, two, three"

Overrides:
getAdditionalToString in class AbstractEvent
Returns:
the additional toString information in comma separated format


Copyright © 2007-2009. All Rights Reserved.