org.apache.tapestry.binding
Class ListenerMethodBinding

java.lang.Object
  extended by org.apache.tapestry.binding.AbstractBinding
      extended by org.apache.tapestry.binding.ListenerMethodBinding
All Implemented Interfaces:
org.apache.hivemind.Locatable, IBinding

public class ListenerMethodBinding
extends AbstractBinding

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ListenerMethodBinding(IComponent component, java.lang.String methodName, java.lang.String description, ValueConverter valueConverter, org.apache.hivemind.Location location)
           
 
Method Summary
 java.lang.Object getComponent()
          Returns the component to which this binding is connected; this is currently only used when building certain exceptions.
 java.lang.Object getObject()
          Returns the value of this binding.
 
Methods inherited from class org.apache.tapestry.binding.AbstractBinding
createReadOnlyBindingException, getDescription, getLocation, getObject, getValueConverter, isInvariant, setObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerMethodBinding

public ListenerMethodBinding(IComponent component,
                             java.lang.String methodName,
                             java.lang.String description,
                             ValueConverter valueConverter,
                             org.apache.hivemind.Location location)
Method Detail

getComponent

public java.lang.Object getComponent()
Description copied from class: AbstractBinding
Returns the component to which this binding is connected; this is currently only used when building certain exceptions. This implementation returns null.

Overrides:
getComponent in class AbstractBinding

getObject

public java.lang.Object getObject()
Description copied from interface: IBinding
Returns the value of this binding. This is the essential method.