net.dpml.transit.model
Class LayoutRegistryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.dpml.transit.model.LayoutRegistryEvent
All Implemented Interfaces:
Serializable

public abstract class LayoutRegistryEvent
extends EventObject

An event issued by a layout registry signalling addition or removal of a layout model.

Version:
1.0.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LayoutRegistryEvent(LayoutRegistryModel system, LayoutModel resolver)
          Creation of a new LayoutRegistryEvent signalling the addition or removal of a layout model.
 
Method Summary
 LayoutModel getLayoutModel()
          Return the resolver model that was added or removed.
 LayoutRegistryModel getLayoutRegistryModel()
          Return the model initiating the event.
 
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

LayoutRegistryEvent

public LayoutRegistryEvent(LayoutRegistryModel system,
                           LayoutModel resolver)
Creation of a new LayoutRegistryEvent signalling the addition or removal of a layout model.

Parameters:
system - the layout model
resolver - the layout resolver model that was added or removed
Method Detail

getLayoutRegistryModel

public LayoutRegistryModel getLayoutRegistryModel()
Return the model initiating the event.

Returns:
the layout model

getLayoutModel

public LayoutModel getLayoutModel()
Return the resolver model that was added or removed.

Returns:
the resolver model