|
|||||||||
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.AbstractPage org.apache.tapestry.html.BasePage org.apache.tapestry.contrib.inspector.Inspector
public abstract class Inspector
The Tapestry Inspector page.
Constructor Summary | |
---|---|
Inspector()
|
Method Summary | |
---|---|
protected void |
finishLoad()
Invoked, as a convienience, from AbstractComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification) . |
Block |
getBlockForView()
Returns the Block for the currently selected view. |
IComponent |
getInspectedComponent()
Returns the IComponent current inspected; this is determined
from the inspectedPageName and inspectedIdPath properties. |
abstract String |
getInspectedIdPath()
|
IPage |
getInspectedPage()
Returns the IPage currently inspected by the Inspector, as determined
from the inspectedPageName property. |
abstract String |
getInspectedPageName()
|
String |
getInspectorTitle()
|
abstract View |
getView()
|
void |
inspect(String pageName,
IRequestCycle cycle)
Method invoked by the InspectorButton component,
to begin inspecting a page. |
void |
selectComponent(IRequestCycle cycle)
Listener for the component selection, which allows a particular component. |
void |
selectComponent(String idPath)
Invoked to change the component being inspected within the current page. |
abstract void |
setInspectedIdPath(String value)
|
abstract void |
setInspectedPageName(String value)
|
abstract void |
setView(View value)
|
Methods inherited from class org.apache.tapestry.html.BasePage |
---|
getResponseWriter |
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.IComponent |
---|
addAsset, addBody, addComponent, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getId, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification |
Methods inherited from interface org.apache.tapestry.IRender |
---|
render |
Methods inherited from interface org.apache.tapestry.ILocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.tapestry.ILocatable |
---|
getLocation |
Constructor Detail |
---|
public Inspector()
Method Detail |
---|
protected void finishLoad()
AbstractComponent
AbstractComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification)
.
This implemenation does nothing. Subclasses may override without invoking
this implementation.
finishLoad
in class AbstractComponent
public abstract View getView()
public abstract void setView(View value)
public abstract String getInspectedPageName()
public abstract void setInspectedPageName(String value)
public abstract String getInspectedIdPath()
public abstract void setInspectedIdPath(String value)
public void selectComponent(String idPath)
public void inspect(String pageName, IRequestCycle cycle)
InspectorButton
component,
to begin inspecting a page.
public void selectComponent(IRequestCycle cycle)
The context is a single string,
the id path of the component to be selected (or null to inspect
the page itself). This invokes
selectComponent(String)
.
public IPage getInspectedPage()
IPage
currently inspected by the Inspector, as determined
from the inspectedPageName property.
public IComponent getInspectedComponent()
IComponent
current inspected; this is determined
from the inspectedPageName and inspectedIdPath properties.
public String getInspectorTitle()
public Block getBlockForView()
Block
for the currently selected view.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |