|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.BaseRenderer
org.apache.myfaces.trinidadinternal.ui.ElementRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.HtmlLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.TreeRenderer
@Deprecated public class TreeRenderer
Renderer for trees. A TreeDataProxy may be set on the tree to create specify different values of node properties at render time.
| Nested Class Summary | |
|---|---|
static class |
TreeRenderer.TreeImageURIBoundValue
Deprecated. This class comes from the old Java 1.2 UIX codebase and should not be used anymore. |
| Field Summary | |
|---|---|
protected static int |
EXPAND_ALWAYS
Deprecated. |
protected static int |
EXPAND_CLOSED
Deprecated. |
protected static int |
EXPAND_OPEN
Deprecated. |
protected static int |
NO_CHILDREN
Deprecated. |
| Fields inherited from class org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer |
|---|
TRANSPARENT_GIF |
| Fields inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
|---|
NO_CHILD_INDEX |
| Fields inherited from interface org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafConstants |
|---|
NBSP_CHAR, NBSP_STRING, NOT_FOUND, ONE, TWO, URI_DELIMITER, ZERO |
| Constructor Summary | |
|---|---|
TreeRenderer()
Deprecated. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getConnectingBackgroundIcon(boolean isLine,
boolean leftToRight)
Deprecated. |
protected java.lang.String |
getDefaultIconName()
Deprecated. |
protected java.lang.String |
getElementName(UIXRenderingContext context,
UINode node)
Deprecated. Called to retrieve the element name to render. |
protected org.apache.myfaces.trinidad.model.RowKeySet |
getExpandedRowKeys(org.apache.myfaces.trinidad.component.UIXHierarchy tree)
Deprecated. |
protected UINode |
getIcon()
Deprecated. |
protected java.lang.String |
getIconBackgroundIcon(int expand,
boolean isLeftToRight)
Deprecated. |
protected java.util.Map<java.lang.Object,java.lang.Boolean> |
getSelectedPaths(java.lang.Object focusPath)
Deprecated. |
protected UINode |
getStamp(UIXRenderingContext context,
UINode node)
Deprecated. |
protected org.apache.myfaces.trinidad.component.UIXHierarchy |
getTree(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.String |
mapKey(java.lang.String key)
Deprecated. |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
Deprecated. |
protected void |
renderExpandCell(UIXRenderingContext context,
org.apache.myfaces.trinidad.component.UIXHierarchy tree,
boolean isLeftToRight,
boolean isRoot,
boolean isLastSibling,
int expanded,
java.lang.String onclick)
Deprecated. |
protected void |
renderIconCell(UIXRenderingContext context,
org.apache.myfaces.trinidad.component.UIXHierarchy tree,
java.lang.String backgroundIcon,
java.lang.String icon,
boolean isIconAbsoluteURI,
java.lang.Object altText,
java.lang.String width,
java.lang.String height,
java.lang.String onclick)
Deprecated. |
protected boolean |
setInitialPath(UIXRenderingContext context,
UINode node,
org.apache.myfaces.trinidad.component.UIXHierarchy tree)
Deprecated. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.HtmlLafRenderer |
|---|
isGecko, isIE, isNetscape, isSafari, renderRepeatingImage, renderRepeatingImage, renderRepeatingImage, renderTableDataIcon, renderTransparent, writeCacheImageURI |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.ElementRenderer |
|---|
getRenderer, renderAttribute, renderAttribute, renderAttribute, renderAttribute |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
|---|
getNextRenderedChildIndex, getNextRenderedChildNode, getVisibleIndexedChildCount, renderBetweenIndexedChildren, renderBetweenIndexedChildren, renderChild, renderIndexedChild, renderIndexedChild, renderNamedChild, renderNamedChild, skipChild, skipNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int NO_CHILDREN
protected static final int EXPAND_CLOSED
protected static final int EXPAND_OPEN
protected static final int EXPAND_ALWAYS
| Constructor Detail |
|---|
public TreeRenderer()
| Method Detail |
|---|
protected void renderContent(UIXRenderingContext context,
UINode node)
throws java.io.IOException
renderContent in class BaseRendererjava.io.IOException
protected org.apache.myfaces.trinidad.component.UIXHierarchy getTree(UIXRenderingContext context,
UINode node)
protected UINode getStamp(UIXRenderingContext context,
UINode node)
protected boolean setInitialPath(UIXRenderingContext context,
UINode node,
org.apache.myfaces.trinidad.component.UIXHierarchy tree)
protected java.util.Map<java.lang.Object,java.lang.Boolean> getSelectedPaths(java.lang.Object focusPath)
protected org.apache.myfaces.trinidad.model.RowKeySet getExpandedRowKeys(org.apache.myfaces.trinidad.component.UIXHierarchy tree)
protected java.lang.String getConnectingBackgroundIcon(boolean isLine,
boolean leftToRight)
protected java.lang.String getIconBackgroundIcon(int expand,
boolean isLeftToRight)
protected void renderExpandCell(UIXRenderingContext context,
org.apache.myfaces.trinidad.component.UIXHierarchy tree,
boolean isLeftToRight,
boolean isRoot,
boolean isLastSibling,
int expanded,
java.lang.String onclick)
throws java.io.IOException
java.io.IOException
protected void renderIconCell(UIXRenderingContext context,
org.apache.myfaces.trinidad.component.UIXHierarchy tree,
java.lang.String backgroundIcon,
java.lang.String icon,
boolean isIconAbsoluteURI,
java.lang.Object altText,
java.lang.String width,
java.lang.String height,
java.lang.String onclick)
throws java.io.IOException
java.io.IOException
protected java.lang.String getElementName(UIXRenderingContext context,
UINode node)
ElementRenderer
getElementName in class ElementRenderercontext - the rendering contextnode - the current nodeprotected UINode getIcon()
protected java.lang.String getDefaultIconName()
protected java.lang.String mapKey(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||