org.apache.cocoon.portal.event.coplet
Class CopletInstanceSizingEvent

java.lang.Object
  extended byorg.apache.cocoon.portal.event.impl.AbstractActionEvent
      extended byorg.apache.cocoon.portal.event.coplet.CopletInstanceSizingEvent
All Implemented Interfaces:
ActionEvent, ComparableEvent, ConvertableEvent, CopletInstanceEvent, Event

public class CopletInstanceSizingEvent
extends AbstractActionEvent
implements CopletInstanceEvent, ComparableEvent, ConvertableEvent

This event is fired for resizing a coplet.

Version:
$Id: CopletInstanceSizingEvent.java 326626 2005-10-19 18:16:57Z cziegeler $

Field Summary
protected  int size
           
 
Fields inherited from class org.apache.cocoon.portal.event.impl.AbstractActionEvent
target
 
Constructor Summary
CopletInstanceSizingEvent(CopletInstanceData target, int size)
           
CopletInstanceSizingEvent(PortalService service, String eventData)
           
 
Method Summary
 String asString()
          Return the event data as a String.
 boolean equalsEvent(ComparableEvent event)
           
 int getSize()
           
 
Methods inherited from class org.apache.cocoon.portal.event.impl.AbstractActionEvent
getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.portal.event.ActionEvent
getTarget
 

Field Detail

size

protected int size
Constructor Detail

CopletInstanceSizingEvent

public CopletInstanceSizingEvent(PortalService service,
                                 String eventData)

CopletInstanceSizingEvent

public CopletInstanceSizingEvent(CopletInstanceData target,
                                 int size)
Method Detail

getSize

public int getSize()

equalsEvent

public boolean equalsEvent(ComparableEvent event)
Specified by:
equalsEvent in interface ComparableEvent
See Also:
ComparableEvent.equalsEvent(org.apache.cocoon.portal.event.ComparableEvent)

asString

public String asString()
Description copied from interface: ConvertableEvent
Return the event data as a String. If for any reason, the event is not convertable it can return null instead.

Specified by:
asString in interface ConvertableEvent
Returns:
The event data as a String or null.
See Also:
ConvertableEvent.asString()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.