|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.BaseComponent net.sf.tacos.components.tree.Tree
public abstract class Tree
Base component for providing Tree-like semantics for displaying data.
Field Summary |
---|
Fields inherited from class org.apache.tapestry.AbstractComponent |
---|
_body, _bodyCount |
Constructor Summary | |
---|---|
Tree()
|
Method Summary | |
---|---|
void |
beforeRenderBody(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
Serializable partId,
boolean isRendering)
|
void |
contentExpansion(org.apache.tapestry.IRequestCycle cycle)
Invoked by contentLinkToggle component, will invoke expansion(IRequestCycle) first before checking if the invoking
component specified an IActionListener and any optional
parameters it may need. |
void |
expansion(org.apache.tapestry.IRequestCycle cycle)
Called to request the expansion of a tree node. |
abstract ITreeContentProvider |
getContentProvider()
Injected content provider |
boolean |
getCurrentHasChildren()
Used to pass self into PartialForeach . |
Serializable |
getCurrentKey()
|
boolean |
getCurrentNotExpanded()
|
String |
getCurrentOffset()
|
abstract org.apache.tapestry.engine.IEngineService |
getDirectService()
Injected ajax engine |
IKeyProvider |
getIdentityKeyProvider()
The default IdentityKeyProvider . |
abstract IKeyProvider |
getKeyProvider()
Injected key provider |
abstract org.apache.tapestry.IActionListener |
getLinkListener()
Listener to invoke |
abstract org.apache.tapestry.listener.ListenerInvoker |
getListenerInvoker()
For invoking linkToggleListener, if it exists |
abstract String |
getLoadElement()
Delayed loading display element id |
ITreeManager |
getManager()
|
abstract int |
getOffset()
The offset in pixels for depth-indentation |
abstract String |
getPartialBlockClass()
Partial block class |
org.apache.tapestry.IMarkupWriter |
getPartWriter(Serializable partId)
|
abstract org.apache.tapestry.bean.EvenOdd |
getRowStyle()
Optional EvenOdd component |
abstract org.apache.tapestry.IScript |
getScript()
Injected script |
abstract Comparator |
getSorter()
Injected sort Comparator |
abstract Set |
getState()
Gets default/specified state |
TreeIterator |
getTreeIterator()
The default TreeIterator provided if no other is specified. |
abstract Object |
getValue()
Current value being rendered |
void |
incrementNonRenderBlock()
|
abstract boolean |
isDelayedLoad()
Delayed loading parameter |
boolean |
isExpanded(Object element)
|
abstract boolean |
isRowStyleInOuterDiv()
Where to apply the row style |
boolean |
isStateful()
|
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
abstract void |
setState(Set state)
Saves tree state |
void |
trigger(org.apache.tapestry.IRequestCycle cycle)
|
Methods inherited from class org.apache.tapestry.BaseComponent |
---|
addOuter, finishLoad, getContainedRenderers, getInnerRenderers |
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, 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, finishLoad, 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 |
Methods inherited from interface org.apache.tapestry.IDynamicInvoker |
---|
getUpdateComponents, isAsync, isJson |
Constructor Detail |
---|
public Tree()
Method Detail |
---|
public IKeyProvider getIdentityKeyProvider()
IdentityKeyProvider
.
public TreeIterator getTreeIterator()
TreeIterator
provided if no other is specified.
TreeIterator
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
renderComponent
in class org.apache.tapestry.BaseComponent
public void expansion(org.apache.tapestry.IRequestCycle cycle)
cycle
- public void contentExpansion(org.apache.tapestry.IRequestCycle cycle)
expansion(IRequestCycle)
first before checking if the invoking
component specified an IActionListener
and any optional
parameters it may need.
cycle
- public boolean isExpanded(Object element)
element
- to test expanded of
public ITreeManager getManager()
ITreeManager
for this tree.public void beforeRenderBody(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, Serializable partId, boolean isRendering)
public void incrementNonRenderBlock()
public org.apache.tapestry.IMarkupWriter getPartWriter(Serializable partId)
public boolean getCurrentHasChildren()
PartialForeach
.
public Serializable getCurrentKey()
public boolean getCurrentNotExpanded()
public String getCurrentOffset()
public boolean isStateful()
isStateful
in interface org.apache.tapestry.IDirect
isStateful
in interface org.apache.tapestry.IDirectEvent
isStateful
in class org.apache.tapestry.AbstractComponent
public void trigger(org.apache.tapestry.IRequestCycle cycle)
trigger
in interface org.apache.tapestry.IDirect
public abstract org.apache.tapestry.IScript getScript()
public abstract org.apache.tapestry.engine.IEngineService getDirectService()
public abstract Object getValue()
public abstract Set getState()
public abstract void setState(Set state)
public abstract ITreeContentProvider getContentProvider()
public abstract IKeyProvider getKeyProvider()
public abstract Comparator getSorter()
Comparator
public abstract org.apache.tapestry.bean.EvenOdd getRowStyle()
public abstract int getOffset()
public abstract boolean isRowStyleInOuterDiv()
public abstract String getPartialBlockClass()
public abstract org.apache.tapestry.listener.ListenerInvoker getListenerInvoker()
public abstract org.apache.tapestry.IActionListener getLinkListener()
public abstract boolean isDelayedLoad()
public abstract String getLoadElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |