com.iplanet.jato.view.event
Class TiledViewRequestInvocationEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.iplanet.jato.view.event.ViewRequestInvocationEvent
              |
              +--com.iplanet.jato.view.event.TiledViewRequestInvocationEvent
All Implemented Interfaces:
RequestInvocationEvent, java.io.Serializable

public class TiledViewRequestInvocationEvent
extends ViewRequestInvocationEvent

Provides notification of a client request invocation directed at a TiledView. This provides detailed information about the request source and access to the RequestContext. The request source may often be (but is not limited to) a CommandField.

Since:
JATO/1.2
Version:
JATO/1.2.2 $Id: TiledViewRequestInvocationEvent.java,v 1.7 2002/03/16 03:26:43 todd Exp $
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TiledViewRequestInvocationEvent(java.lang.Object source, RequestContext requestContext, java.lang.String childName, java.lang.String qualifiedChildName, int tileNumber)
          Creates a TiledViewRequestInvocationEvent object
TiledViewRequestInvocationEvent(java.lang.Object source, RequestContext requestContext, java.lang.String childName, java.lang.String qualifiedChildName, int tileNumber, int imageX, int imageY)
          Creates a TiledViewRequestInvocationEvent object
TiledViewRequestInvocationEvent(java.lang.Object source, RequestContext requestContext, TiledViewInvocation invocation)
          Creates a TiledViewRequestInvocationEvent object
 
Method Summary
 int getTileNumber()
          Returns the index of the tile which is associated with the request invocation.
 java.lang.String toString()
          Returns a String representation of this TiledViewRequestInvocationEvent.
 
Methods inherited from class com.iplanet.jato.view.event.ViewRequestInvocationEvent
getChildName, getImageXCoordinate, getImageYCoordinate, getQualifiedChildName, getRequestContext, hasImageCoordinates
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TiledViewRequestInvocationEvent

public TiledViewRequestInvocationEvent(java.lang.Object source,
                                       RequestContext requestContext,
                                       TiledViewInvocation invocation)
Creates a TiledViewRequestInvocationEvent object
Parameters:
source - The request source.
requestContext - The RequestContext.
invocation - The TiledViewInvocation.

TiledViewRequestInvocationEvent

public TiledViewRequestInvocationEvent(java.lang.Object source,
                                       RequestContext requestContext,
                                       java.lang.String childName,
                                       java.lang.String qualifiedChildName,
                                       int tileNumber)
Creates a TiledViewRequestInvocationEvent object
Parameters:
source - The request source.
requestContext - The RequestContext.
childName - The unqualified name of the child View associated with the request invocation.
qualifiedChildName - The fully qualified name of the child View associated with the request invocation.
tileNumber - The index of the tile which is associated with the request invocation.

TiledViewRequestInvocationEvent

public TiledViewRequestInvocationEvent(java.lang.Object source,
                                       RequestContext requestContext,
                                       java.lang.String childName,
                                       java.lang.String qualifiedChildName,
                                       int tileNumber,
                                       int imageX,
                                       int imageY)
Creates a TiledViewRequestInvocationEvent object
Parameters:
source - The request source.
requestContext - The RequestContext.
childName - The unqualified name of the child View associated with the request invocation.
qualifiedChildName - The fully qualified name of the child View associated with the request invocation.
tileNumber - The index of the tile view which is associated with the request invocation.
imageX - The X coordinate value of the image which triggerd the request.
imageY - The Y coordinate value of the image which triggerd the request.
Method Detail

toString

public java.lang.String toString()
Returns a String representation of this TiledViewRequestInvocationEvent.
Overrides:
toString in class ViewRequestInvocationEvent
Returns:
a String representation of this TilediewRequestInvocationEvent.

getTileNumber

public int getTileNumber()
Returns the index of the tile which is associated with the request invocation.
Returns:
The index of the tile which is associated with the request invocation.