org.apache.tapestry.contrib.inspector
Class ShowSpecification
java.lang.Object
|
+--org.apache.tapestry.spec.BaseLocatable
|
+--org.apache.tapestry.AbstractComponent
|
+--org.apache.tapestry.BaseComponent
|
+--org.apache.tapestry.contrib.inspector.ShowSpecification
- All Implemented Interfaces:
- EventListener, IComponent, ILocatable, ILocationHolder, IRender, PageRenderListener
- public class ShowSpecification
- extends BaseComponent
- implements PageRenderListener
Component of the Inspector
page used to display
the specification, parameters and bindings and assets of the inspected component.
- Version:
- $Id: ShowSpecification.java,v 1.3 2003/04/25 21:03:28 hlship Exp $
- Author:
- Howard Lewis Ship
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, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString |
ShowSpecification
public ShowSpecification()
pageEndRender
public void pageEndRender(PageEvent event)
- Clears all cached information about the component and such after
each render (including the rewind phase render used to process
the tab view).
- Specified by:
pageEndRender
in interface PageRenderListener
- Overrides:
pageEndRender
in class AbstractComponent
- Since:
- 1.0.5
pageBeginRender
public void pageBeginRender(PageEvent event)
- Gets the inspected component and specification from the
Inspector
page.
- Specified by:
pageBeginRender
in interface PageRenderListener
- Since:
- 1.0.5
getInspectedComponent
public IComponent getInspectedComponent()
getInspectedSpecification
public IComponentSpecification getInspectedSpecification()
getFormalParameterNames
public List getFormalParameterNames()
- Returns a sorted list of formal parameter names.
getInformalParameterNames
public List getInformalParameterNames()
- Returns a sorted list of informal parameter names. This is
the list of all bindings, with the list of parameter names removed,
sorted.
getParameterName
public String getParameterName()
setParameterName
public void setParameterName(String value)
getParameterSpecification
public IParameterSpecification getParameterSpecification()
- Returns the
ParameterSpecification
corresponding to
the value of the parameterName property.
getBinding
public IBinding getBinding()
- Returns the
IBinding
corresponding to the value of
the parameterName property.
setAssetName
public void setAssetName(String value)
getAssetName
public String getAssetName()
getAsset
public IAsset getAsset()
- Returns the
IAsset
corresponding to the value
of the assetName property.
getAssetNames
public List getAssetNames()
- Returns a sorted list of asset names, or null if the
component contains no assets.
getSortedComponents
public List getSortedComponents()
setComponent
public void setComponent(IComponent value)
getComponent
public IComponent getComponent()
getComponentType
public String getComponentType()
- Returns the type of the component, as specified in the container's
specification (i.e., the component alias if known).
getSortedPropertyNames
public List getSortedPropertyNames()
- Returns a list of the properties for the component
(from its specification), or null if the component
has no properties.
setPropertyName
public void setPropertyName(String value)
getPropertyName
public String getPropertyName()
getPropertyValue
public String getPropertyValue()
getBeanNames
public List getBeanNames()
setBeanName
public void setBeanName(String value)
getBeanName
public String getBeanName()
getBeanSpecification
public IBeanSpecification getBeanSpecification()