public abstract class ShowSpecification extends org.apache.tapestry.BaseComponent implements org.apache.tapestry.event.PageBeginRenderListener, org.apache.tapestry.event.PageEndRenderListener
Inspector
page used to display the specification, parameters and
bindings and assets of the inspected component.Constructor and Description |
---|
ShowSpecification() |
Modifier and Type | Method and Description |
---|---|
org.apache.tapestry.IAsset |
getAsset()
Returns the
IAsset corresponding to the value of the assetName property. |
java.lang.String |
getAssetName() |
java.util.List |
getAssetNames()
Returns a sorted list of asset names, or null if the component contains no assets.
|
java.lang.String |
getBeanName() |
java.util.List |
getBeanNames() |
org.apache.tapestry.spec.IBeanSpecification |
getBeanSpecification() |
org.apache.tapestry.IBinding |
getBinding()
Returns the
IBinding corresponding to the value of the parameterName property. |
abstract org.apache.tapestry.IComponent |
getCurrentComponent() |
java.util.List |
getFormalParameterNames()
Returns a sorted list of formal parameter names.
|
java.util.List |
getInformalParameterNames()
Returns a sorted list of informal parameter names.
|
org.apache.tapestry.IComponent |
getInspectedComponent() |
org.apache.tapestry.spec.IComponentSpecification |
getInspectedSpecification() |
java.lang.String |
getParameterName() |
org.apache.tapestry.spec.IParameterSpecification |
getParameterSpecification()
Returns the
ParameterSpecification corresponding to the
value of the parameterName property. |
java.lang.String |
getPropertyName() |
java.lang.String |
getPropertyValue() |
java.util.List |
getSortedComponents() |
java.util.List |
getSortedPropertyNames()
Returns a list of the properties for the component (from its specification), or null if the
component has no properties.
|
void |
pageBeginRender(org.apache.tapestry.event.PageEvent event)
Gets the inspected component and specification from the
Inspector page. |
void |
pageEndRender(org.apache.tapestry.event.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).
|
void |
setAssetName(java.lang.String value) |
void |
setBeanName(java.lang.String value) |
abstract void |
setCurrentComponent(org.apache.tapestry.IComponent value) |
void |
setParameterName(java.lang.String value) |
void |
setPropertyName(java.lang.String value) |
addOuter, finishLoad, renderComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
public ShowSpecification()
public void pageEndRender(org.apache.tapestry.event.PageEvent event)
pageEndRender
in interface org.apache.tapestry.event.PageEndRenderListener
pageEndRender
in class org.apache.tapestry.AbstractComponent
public void pageBeginRender(org.apache.tapestry.event.PageEvent event)
Inspector
page.pageBeginRender
in interface org.apache.tapestry.event.PageBeginRenderListener
public org.apache.tapestry.IComponent getInspectedComponent()
public org.apache.tapestry.spec.IComponentSpecification getInspectedSpecification()
public java.util.List getFormalParameterNames()
public java.util.List getInformalParameterNames()
public java.lang.String getParameterName()
public void setParameterName(java.lang.String value)
public org.apache.tapestry.spec.IParameterSpecification getParameterSpecification()
ParameterSpecification
corresponding to the
value of the parameterName property.public org.apache.tapestry.IBinding getBinding()
IBinding
corresponding to the value of the parameterName property.public void setAssetName(java.lang.String value)
public java.lang.String getAssetName()
public org.apache.tapestry.IAsset getAsset()
IAsset
corresponding to the value of the assetName property.public java.util.List getAssetNames()
public java.util.List getSortedComponents()
public abstract void setCurrentComponent(org.apache.tapestry.IComponent value)
public abstract org.apache.tapestry.IComponent getCurrentComponent()
public java.util.List getSortedPropertyNames()
public void setPropertyName(java.lang.String value)
public java.lang.String getPropertyName()
public java.lang.String getPropertyValue()
public java.util.List getBeanNames()
public void setBeanName(java.lang.String value)
public java.lang.String getBeanName()
public org.apache.tapestry.spec.IBeanSpecification getBeanSpecification()