org.apache.tapestry.contrib.inspector
Class Selector

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.contrib.inspector.Selector
All Implemented Interfaces:
IComponent, ILocatable, ILocationHolder, IRender

public class Selector
extends BaseComponent

Component of the Inspector page used to select the page and "crumb trail" of the inspected component.

Version:
$Id: Selector.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
Selector()
           
 
Method Summary
 void formSubmit(IRequestCycle cycle)
          When the form is submitted, the inspectedPageName of the Inspector page will be updated, but we need to reset the inspectedIdPath as well.
 List getCrumbTrail()
          The crumb trail is all the components from the inspected component up to (but not including) the page.
 IPropertySelectionModel getPageModel()
          Returns an {IPropertySelectionModel} used to select the name of the page to inspect.
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
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, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
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

Selector

public Selector()
Method Detail

formSubmit

public void formSubmit(IRequestCycle cycle)
When the form is submitted, the inspectedPageName of the Inspector page will be updated, but we need to reset the inspectedIdPath as well.


getPageModel

public IPropertySelectionModel getPageModel()
Returns an {IPropertySelectionModel} used to select the name of the page to inspect. The page names are sorted.


getCrumbTrail

public List getCrumbTrail()
The crumb trail is all the components from the inspected component up to (but not including) the page.