org.jasig.portal.layout
Class LayoutEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jasig.portal.layout.LayoutEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LayoutMoveEvent

public class LayoutEvent
extends EventObject

A basic user layout event, involving just one node.

Version:
1.0
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com"
See Also:
Serialized Form

Field Summary
protected  IUserLayoutNodeDescription node
           
protected  IUserLayoutNodeDescription parentNode
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LayoutEvent(Object source, IUserLayoutNodeDescription parentNode, IUserLayoutNodeDescription node)
          Construct a LayoutEvent from a given source, and a given node.
 
Method Summary
 IUserLayoutNodeDescription getNodeDescription()
          Obtain a description of a node involved in the event.
 IUserLayoutNodeDescription getParentNode()
          Obtain a description of the parent of the node involved in 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
 

Field Detail

parentNode

protected final IUserLayoutNodeDescription parentNode

node

protected final IUserLayoutNodeDescription node
Constructor Detail

LayoutEvent

public LayoutEvent(Object source,
                   IUserLayoutNodeDescription parentNode,
                   IUserLayoutNodeDescription node)
Construct a LayoutEvent from a given source, and a given node.

Parameters:
source - an Object that generated the event
node - an UserLayoutNodeDescription of the node that was involved
Method Detail

getParentNode

public IUserLayoutNodeDescription getParentNode()
Obtain a description of the parent of the node involved in the event

Returns:
the parentNode

getNodeDescription

public IUserLayoutNodeDescription getNodeDescription()
Obtain a description of a node involved in the event.

Returns:
an UserLayoutNodeDescription value


Copyright © 2010 Jasig. All Rights Reserved.