org.apache.tapestry.dojo.html
Class TitlePane

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.dojo.html.TitlePane
All Implemented Interfaces:
Locatable, LocationHolder, IDojoHtmlWidget, IDojoTitlePane, IWidget, IComponent, IDirectEvent, IRender

public abstract class TitlePane
extends AbstractComponent
implements IWidget, IDojoTitlePane

Implementation of dojo's FloatingPane.

Since:
4.1
Author:
andyhot

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_clientId
 
Constructor Summary
TitlePane()
           
 
Method Summary
abstract  String getIdParameter()
          id.
abstract  String getOptions()
          More js options - JSON style.
abstract  IScript getScript()
          Injected script.
protected  void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle)to actually render the component (with any parameter values already set).
 void renderWidget(IMarkupWriter writer, IRequestCycle cycle)
          Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.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.IDirectEvent
isStateful, triggerEvent
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 
Methods inherited from interface org.apache.tapestry.dojo.html.IDojoTitlePane
getContainerNodeClass, getLabel, getLabelNode, getLabelNodeClass
 
Methods inherited from interface org.apache.tapestry.dojo.html.IDojoHtmlWidget
getToggle, getToggleDuration
 

Constructor Detail

TitlePane

public TitlePane()
Method Detail

getIdParameter

public abstract String getIdParameter()
id.


getOptions

public abstract String getOptions()
More js options - JSON style.


getScript

public abstract IScript getScript()
Injected script.


renderWidget

public void renderWidget(IMarkupWriter writer,
                         IRequestCycle cycle)
Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.

Specified by:
renderWidget in interface IWidget
Parameters:
writer - The markup writer used to write any output.
cycle - The corresponding request.

renderComponent

protected void renderComponent(IMarkupWriter writer,
                               IRequestCycle cycle)
Description copied from class: AbstractComponent
Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle)to actually render the component (with any parameter values already set). This is the method that subclasses must implement.

Specified by:
renderComponent in class AbstractComponent
See Also:
AbstractComponent.renderComponent(org.apache.tapestry.IMarkupWriter, org.apache.tapestry.IRequestCycle)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.