Package org.apache.tapestry5.corelib.base

# Class AbstractComponentEventLink

java.lang.Object
org.apache.tapestry5.corelib.base.AbstractLink
org.apache.tapestry5.corelib.base.AbstractComponentEventLink

All Implemented Interfaces:
  `ClientElement`

Direct Known Subclasses:
  `ActionLink`, `EventLink`

public abstract class AbstractComponentEventLink extends AbstractLink
Base class for link-generating components that are based on a component event request. Such events have an event context and may also update a `Zone`.

- ## Field Summary

  ### Fields inherited from class org.apache.tapestry5.corelib.base.AbstractLink

  `resources`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractComponentEventLink()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected abstract Link`
  `createLink(Object[] eventContext)`
  Invoked to create the Link that will become the href attribute of the output.

  ### Methods inherited from class org.apache.tapestry5.corelib.base.AbstractLink

  `addParameters, getClientId, getLink, isDisabled, writeLink`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AbstractComponentEventLink

    public AbstractComponentEventLink()

- ## Method Details

  - ### createLink

    protected abstract Link createLink(Object[] eventContext)
    Invoked to create the Link that will become the href attribute of the output.
    Parameters:
      `eventContext` - the context as an object array, possibly null
    Returns:
      the link, not null