public abstract class Inspector extends org.apache.tapestry.html.BasePage
Constructor and Description |
---|
Inspector() |
Modifier and Type | Method and Description |
---|---|
protected void |
finishLoad() |
org.apache.tapestry.components.Block |
getBlockForView()
Returns the
Block for the currently selected view. |
org.apache.tapestry.IComponent |
getInspectedComponent()
Returns the
IComponent current inspected; this is determined
from the inspectedPageName and inspectedIdPath properties. |
abstract java.lang.String |
getInspectedIdPath() |
org.apache.tapestry.IPage |
getInspectedPage()
Returns the
IPage currently inspected by the Inspector, as determined
from the inspectedPageName property. |
abstract java.lang.String |
getInspectedPageName() |
java.lang.String |
getInspectorTitle() |
abstract java.lang.String |
getView() |
void |
inspect(java.lang.String pageName,
org.apache.tapestry.IRequestCycle cycle)
Method invoked by the
InspectorButton component,
to begin inspecting a page. |
void |
selectComponent(org.apache.tapestry.IRequestCycle cycle)
Listener for the component selection, which allows a particular component.
|
void |
selectComponent(java.lang.String idPath)
Invoked to change the component being inspected within the current
page.
|
abstract void |
setInspectedIdPath(java.lang.String value) |
abstract void |
setInspectedPageName(java.lang.String value) |
abstract void |
setView(java.lang.String value) |
addPageAttachListener, addPageBeginRenderListener, addPageDetachListener, addPageEndRenderListener, addPageRenderListener, addPageValidateListener, attach, beginPageRender, beginResponse, detach, endPageRender, firePageAttached, firePageBeginRender, firePageDetached, firePageEndRender, firePageValidate, getChangeObserver, getEngine, getExtendedId, getGlobal, getIdPath, getLocale, getNestedComponent, getOutputEncoding, getPageName, getRequestCycle, getVisit, initialize, removePageAttachListener, removePageBeginRenderListener, removePageDetachListener, removePageEndRenderListener, removePageRenderListener, removePageValidateListener, renderPage, setChangeObserver, setLocale, setPageName, validate
addOuter, finishLoad, renderComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, 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, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
public Inspector()
protected void finishLoad()
finishLoad
in class org.apache.tapestry.AbstractComponent
public abstract java.lang.String getView()
public abstract void setView(java.lang.String value)
public abstract java.lang.String getInspectedPageName()
public abstract void setInspectedPageName(java.lang.String value)
public abstract java.lang.String getInspectedIdPath()
public abstract void setInspectedIdPath(java.lang.String value)
public void selectComponent(java.lang.String idPath)
public void inspect(java.lang.String pageName, org.apache.tapestry.IRequestCycle cycle)
InspectorButton
component,
to begin inspecting a page.public void selectComponent(org.apache.tapestry.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 org.apache.tapestry.IPage getInspectedPage()
IPage
currently inspected by the Inspector, as determined
from the inspectedPageName property.public org.apache.tapestry.IComponent getInspectedComponent()
IComponent
current inspected; this is determined
from the inspectedPageName and inspectedIdPath properties.public java.lang.String getInspectorTitle()
public org.apache.tapestry.components.Block getBlockForView()
Block
for the currently selected view.