net.sf.tacos.binding
Class CallbackFunctionBinding

java.lang.Object
  extended by org.apache.tapestry.binding.AbstractBinding
      extended by net.sf.tacos.binding.CallbackFunctionBinding
All Implemented Interfaces:
ICallbackFunction, Locatable, org.apache.tapestry.IBinding

public class CallbackFunctionBinding
extends org.apache.tapestry.binding.AbstractBinding
implements ICallbackFunction

Implementation of IBinding that stores a static (invariant) string as the value. This string represents a name of an javascript function.

Since:
4.1
Author:
Igor Drobiazko

Field Summary
 
Fields inherited from class org.apache.tapestry.binding.AbstractBinding
_description
 
Constructor Summary
protected CallbackFunctionBinding(String description, org.apache.tapestry.coerce.ValueConverter valueConverter, Location location, String value)
           
 
Method Summary
 String getFunctionName()
          Returns the function name to be connected.
 Object getObject()
          
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class org.apache.tapestry.binding.AbstractBinding
createReadOnlyBindingException, extendDescription, getComponent, getDescription, getLocation, getObject, getValueConverter, isInvariant, setObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallbackFunctionBinding

protected CallbackFunctionBinding(String description,
                                  org.apache.tapestry.coerce.ValueConverter valueConverter,
                                  Location location,
                                  String value)
Method Detail

getObject

public Object getObject()

Specified by:
getObject in interface org.apache.tapestry.IBinding

getFunctionName

public String getFunctionName()
Returns the function name to be connected.

Specified by:
getFunctionName in interface ICallbackFunction

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class org.apache.tapestry.binding.AbstractBinding


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.