|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.spec.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.BaseComponent org.apache.tapestry.contrib.tree.components.TreeNodeView
public class TreeNodeView
Constructor Summary | |
---|---|
TreeNodeView()
|
Method Summary | |
---|---|
void |
finishLoad(IRequestCycle objCycle,
IPageLoader arg0,
ComponentSpecification arg1)
|
String |
getCleanSelectedID()
|
IAsset |
getCloseNodeImage()
Returns the closeNodeImage. |
IRender |
getCurrentRenderer()
|
boolean |
getMakeNodeDirect()
Returns the makeNodeDirect. |
IBinding |
getMakeNodeDirectBinding()
Returns the makeNodeDirectBinding. |
boolean |
getMakeNodeNoDirect()
|
Object[] |
getNodeContext()
|
IAsset |
getNodeImage()
Returns the openNodeImage. |
INodeRenderFactory |
getNodeRenderFactory()
|
IBinding |
getNodeRenderFactoryBinding()
Returns the nodeRenderFactoryBinding. |
String |
getNodeStyleClass()
|
String |
getOffsetStyle()
|
IAsset |
getOpenNodeImage()
Returns the openNodeImage. |
String |
getSelectedID()
|
boolean |
getShowImages()
|
IBinding |
getShowNodeImagesBinding()
Returns the ShowNodeImagesBinding. |
boolean |
getShowWithoutImages()
|
ITreeModelSource |
getTreeModelSource()
|
ITreeRowSource |
getTreeRowSource()
|
boolean |
isNodeOpen()
|
Boolean |
isShowNodeImages()
Returns the ShowNodeImages. |
void |
nodeSelect(IRequestCycle cycle)
Called when a node in the tree is clicked by the user. |
void |
pageDetached(PageEvent arg0)
Invoked by the page from its IPage.detach() method. |
protected void |
renderComponent(IMarkupWriter arg0,
IRequestCycle arg1)
Renders the top level components contained by the receiver. |
void |
setCloseNodeImage(IAsset closeNodeImage)
Sets the closeNodeImage. |
void |
setMakeNodeDirectBinding(IBinding makeNodeDirectBinding)
Sets the makeNodeDirectBinding. |
void |
setNodeRenderFactoryBinding(IBinding nodeRenderFactoryBinding)
Sets the nodeRenderFactoryBinding. |
void |
setOpenNodeImage(IAsset openNodeImage)
Sets the openNodeImage. |
void |
setShowNodeImagesBinding(IBinding ShowNodeImagesBinding)
Sets the ShowNodeImagesBinding. |
Methods inherited from class org.apache.tapestry.BaseComponent |
---|
addOuter, finishLoad |
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 |
---|
public TreeNodeView()
Method Detail |
---|
public IRender getCurrentRenderer()
public Object[] getNodeContext()
public void nodeSelect(IRequestCycle cycle)
cycle
- The Tapestry request cycle object.public void pageDetached(PageEvent arg0)
PageDetachListener
IPage.detach()
method.
pageDetached
in interface PageDetachListener
public void finishLoad(IRequestCycle objCycle, IPageLoader arg0, ComponentSpecification arg1)
public boolean isNodeOpen()
public IAsset getNodeImage()
public IAsset getCloseNodeImage()
public IAsset getOpenNodeImage()
public void setCloseNodeImage(IAsset closeNodeImage)
closeNodeImage
- The closeNodeImage to setpublic void setOpenNodeImage(IAsset openNodeImage)
openNodeImage
- The openNodeImage to setprotected void renderComponent(IMarkupWriter arg0, IRequestCycle arg1)
BaseComponent
renderComponent
in class BaseComponent
AbstractComponent.renderComponent(IMarkupWriter,
IRequestCycle)
public IBinding getShowNodeImagesBinding()
public void setShowNodeImagesBinding(IBinding ShowNodeImagesBinding)
ShowNodeImagesBinding
- The ShowNodeImagesBinding to setpublic Boolean isShowNodeImages()
public boolean getShowImages()
public boolean getShowWithoutImages()
public String getOffsetStyle()
public IBinding getNodeRenderFactoryBinding()
public void setNodeRenderFactoryBinding(IBinding nodeRenderFactoryBinding)
nodeRenderFactoryBinding
- The nodeRenderFactoryBinding to setpublic INodeRenderFactory getNodeRenderFactory()
public IBinding getMakeNodeDirectBinding()
public void setMakeNodeDirectBinding(IBinding makeNodeDirectBinding)
makeNodeDirectBinding
- The makeNodeDirectBinding to setpublic boolean getMakeNodeDirect()
public boolean getMakeNodeNoDirect()
public String getCleanSelectedID()
public String getSelectedID()
public String getNodeStyleClass()
public ITreeRowSource getTreeRowSource()
public ITreeModelSource getTreeModelSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |