com.primix.tapestry.inspector
Class Selector

java.lang.Object
  |
  +--com.primix.tapestry.AbstractComponent
        |
        +--com.primix.tapestry.BaseComponent
              |
              +--com.primix.tapestry.inspector.Selector
All Implemented Interfaces:
IComponent, 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,v 1.10 2001/10/08 18:28:40 hship Exp $
Author:
Howard Ship

Fields inherited from class com.primix.tapestry.BaseComponent
outer, OUTER_INIT_SIZE, outerCount
 
Fields inherited from class com.primix.tapestry.AbstractComponent
id, page, specification, wrapped, wrappedCount
 
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.
 java.util.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 com.primix.tapestry.BaseComponent
addOuter, finishLoad, readTemplate, render
 
Methods inherited from class com.primix.tapestry.AbstractComponent
addAsset, addComponent, addWrapped, cleanupAfterRender, cleanupComponent, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getPage, getSpecification, prepareForRender, renderWrapped, reset, setBinding, setContainer, setId, setPage, setSpecification, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 java.util.List getCrumbTrail()
The crumb trail is all the components from the inspected component up to (but not including) the page.