org.apache.tapestry.contrib.inspector
Class ShowTemplate
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
org.apache.tapestry.contrib.inspector.ShowTemplate
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IDirect, IDirectEvent, IDynamicInvoker, Component, IRender, ITemplateComponent
public abstract class ShowTemplate
- extends BaseComponent
- implements IDirect
Component of the Inspector
page used to display the ids and types of all embedded
components.
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
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, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName |
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 |
ShowTemplate
public ShowTemplate()
getTemplateSource
public abstract TemplateSource getTemplateSource()
- Since:
- 4.0
getDirectService
public abstract IEngineService getDirectService()
- Since:
- 4.1
getHasTemplate
public boolean getHasTemplate()
getTemplateDelegate
public IRender getTemplateDelegate()
trigger
public void trigger(IRequestCycle cycle)
- Invoked when a component id is clicked.
- Specified by:
trigger
in interface IDirect
- Parameters:
cycle
- The current request.
isStateful
public boolean isStateful()
- Always returns true.
- Specified by:
isStateful
in interface IDirect
- Specified by:
isStateful
in interface IDirectEvent
- Overrides:
isStateful
in class AbstractComponent
- Returns:
- Whether or not invocation should include state information and validate
that a valid session exists when triggered.
- Since:
- 2.3
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.