org.apache.tapestry.contrib.popup
Class PopupLink

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.contrib.popup.PopupLink
All Implemented Interfaces:
IComponent, ILocatable, ILocationHolder, IRender

public class PopupLink
extends BaseComponent

This component provides a popup link to launch a new window using a given href, windowName and windowFeatures for the javascript function: window.open(URL, windowName, windowFeatures). [Component Reference]

Version:
$Id: PopupLink.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Joe Panico

Field Summary
static String DEFAULT_WINDOW_NAME
          The default popup window name 'popuplink_window'.
 
Constructor Summary
PopupLink()
           
 
Method Summary
 String getFeatures()
           
 IBinding getFeaturesBinding()
           
 String getHref()
           
 IBinding getHrefBinding()
           
 String getPopupFunctionName()
           
 String getWindowName()
           
 IBinding getWindowNameBinding()
           
 void setFeaturesBinding(IBinding featuresBinding)
           
 void setHrefBinding(IBinding hrefBinding)
           
 void setWindowNameBinding(IBinding windowNameBinding)
           
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

DEFAULT_WINDOW_NAME

public static final String DEFAULT_WINDOW_NAME
The default popup window name 'popuplink_window'.

See Also:
Constant Field Values
Constructor Detail

PopupLink

public PopupLink()
Method Detail

getHrefBinding

public IBinding getHrefBinding()

setHrefBinding

public void setHrefBinding(IBinding hrefBinding)

getWindowNameBinding

public IBinding getWindowNameBinding()

setWindowNameBinding

public void setWindowNameBinding(IBinding windowNameBinding)

getFeaturesBinding

public IBinding getFeaturesBinding()

setFeaturesBinding

public void setFeaturesBinding(IBinding featuresBinding)

getHref

public String getHref()

getWindowName

public String getWindowName()

getFeatures

public String getFeatures()

getPopupFunctionName

public String getPopupFunctionName()