|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.spec.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.BaseComponent org.apache.tapestry.contrib.inspector.ShowSpecification
public class ShowSpecification
Component of the Inspector
page used to display
the specification, parameters and bindings and assets of the inspected component.
Constructor Summary | |
---|---|
ShowSpecification()
|
Method Summary | |
---|---|
IAsset |
getAsset()
Returns the IAsset corresponding to the value
of the assetName property. |
String |
getAssetName()
|
List |
getAssetNames()
Returns a sorted list of asset names, or null if the component contains no assets. |
String |
getBeanName()
|
List |
getBeanNames()
|
IBeanSpecification |
getBeanSpecification()
|
IBinding |
getBinding()
Returns the IBinding corresponding to the value of
the parameterName property. |
IComponent |
getComponent()
|
String |
getComponentType()
Returns the type of the component, as specified in the container's specification (i.e., the component alias if known). |
List |
getFormalParameterNames()
Returns a sorted list of formal parameter names. |
List |
getInformalParameterNames()
Returns a sorted list of informal parameter names. |
IComponent |
getInspectedComponent()
|
IComponentSpecification |
getInspectedSpecification()
|
String |
getParameterName()
|
IParameterSpecification |
getParameterSpecification()
Returns the ParameterSpecification corresponding to
the value of the parameterName property. |
String |
getPropertyName()
|
String |
getPropertyValue()
|
List |
getSortedComponents()
|
List |
getSortedPropertyNames()
Returns a list of the properties for the component (from its specification), or null if the component has no properties. |
void |
pageBeginRender(PageEvent event)
Gets the inspected component and specification from the Inspector page. |
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). |
void |
setAssetName(String value)
|
void |
setBeanName(String value)
|
void |
setComponent(IComponent value)
|
void |
setParameterName(String value)
|
void |
setPropertyName(String value)
|
Methods inherited from class org.apache.tapestry.BaseComponent |
---|
addOuter, finishLoad, renderComponent |
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 |
Constructor Detail |
---|
public ShowSpecification()
Method Detail |
---|
public void pageEndRender(PageEvent event)
pageEndRender
in interface PageRenderListener
pageEndRender
in class AbstractComponent
AbstractComponent.pageEndRender(PageEvent)
public void pageBeginRender(PageEvent event)
Inspector
page.
pageBeginRender
in interface PageRenderListener
public IComponent getInspectedComponent()
public IComponentSpecification getInspectedSpecification()
public List getFormalParameterNames()
public List getInformalParameterNames()
public String getParameterName()
public void setParameterName(String value)
public IParameterSpecification getParameterSpecification()
ParameterSpecification
corresponding to
the value of the parameterName property.
public IBinding getBinding()
IBinding
corresponding to the value of
the parameterName property.
public void setAssetName(String value)
public String getAssetName()
public IAsset getAsset()
IAsset
corresponding to the value
of the assetName property.
public List getAssetNames()
public List getSortedComponents()
public void setComponent(IComponent value)
public IComponent getComponent()
public String getComponentType()
public List getSortedPropertyNames()
public void setPropertyName(String value)
public String getPropertyName()
public String getPropertyValue()
public List getBeanNames()
public void setBeanName(String value)
public String getBeanName()
public IBeanSpecification getBeanSpecification()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |