org.apache.tapestry.contrib.inspector
Class Selector

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.contrib.inspector.Selector
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IDirectEvent, Component, IRender, ITemplateComponent

public abstract class Selector
extends BaseComponent

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

Author:
Howard Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
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.
abstract  ISpecificationSource getSpecificationSource()
           
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, getContainedRenderers, getInnerRenderers, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

Selector

public Selector()
Method Detail

getSpecificationSource

public abstract ISpecificationSource getSpecificationSource()

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.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.