org.apache.myfaces.tobago.component
Class UITreeNode

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIColumn
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUITreeNode
                      extended by org.apache.myfaces.tobago.component.UITreeNode
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, SupportsMarkup, TreeModelBuilder, Configurable, LayoutBox

public class UITreeNode
extends AbstractUITreeNode
implements SupportsMarkup

Creates a tree node. This component represents a single node inside a tree structure. UIComponent class, generated from template component2.0.stg with class TreeNodeTagDeclaration.


Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
UITreeNode()
           
 
Method Summary
 Measure getBorderBottom()
          This attribute is for internal use only.
 Measure getBorderLeft()
          This attribute is for internal use only.
 Measure getBorderRight()
          This attribute is for internal use only.
 Measure getBorderTop()
          This attribute is for internal use only.
 Markup getCurrentMarkup()
           
 String getFamily()
           
 Markup getMarkup()
           
 Measure getPaddingBottom()
          This attribute is for internal use only.
 Measure getPaddingLeft()
          This attribute is for internal use only.
 Measure getPaddingRight()
          This attribute is for internal use only.
 Measure getPaddingTop()
          This attribute is for internal use only.
 String getTip()
          Text value to display as tooltip.
 Measure getWidth()
           
 boolean isDisabled()
          Flag indicating that this element is disabled.
 boolean isOverflowX()
          This attribute is for internal use only.
 boolean isOverflowY()
          This attribute is for internal use only.
 Object saveState(javax.faces.context.FacesContext context)
           
 void setBorderBottom(Measure borderBottom)
           
 void setBorderLeft(Measure borderLeft)
           
 void setBorderRight(Measure borderRight)
           
 void setBorderTop(Measure borderTop)
           
 void setCurrentMarkup(Markup currentMarkup)
           
 void setDisabled(boolean disabled)
           
 void setMarkup(Markup markup)
           
 void setOverflowX(boolean overflowX)
           
 void setOverflowY(boolean overflowY)
           
 void setPaddingBottom(Measure paddingBottom)
           
 void setPaddingLeft(Measure paddingLeft)
           
 void setPaddingRight(Measure paddingRight)
           
 void setPaddingTop(Measure paddingTop)
           
 void setTip(String tip)
           
 void setWidth(Measure width)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUITreeNode
addTreeExpansionListener, addTreeMarkedListener, buildTreeModelBegin, buildTreeModelChildren, buildTreeModelEnd, encodeBegin, getDepth, getJunctions, getLevel, getPath, getRowData, getTreeExpansionListener, getTreeExpansionListeners, getTreeMarkedListener, getTreeMarkedListeners, isExpanded, isFolder, isHasNextSibling, isMarked, isSelected, nodeStateId, removeStateChangeListener, removeStateChangeListener, setDepth, setExpanded, setFolder, setHasNextSibling, setJunctions, setMarked, setPath, setSelected, setTreeExpansionListener, setTreeMarkedListener
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIColumn
isResizable
 
Methods inherited from class javax.faces.component.UIColumn
getFooter, getHeader, getId, setFooter, setHeader
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getRendererType
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

UITreeNode

public UITreeNode()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIColumn

getMarkup

public Markup getMarkup()
Specified by:
getMarkup in interface SupportsMarkup

setMarkup

public void setMarkup(Markup markup)
Specified by:
setMarkup in interface SupportsMarkup

getPaddingTop

public Measure getPaddingTop()
This attribute is for internal use only.

Specified by:
getPaddingTop in interface LayoutBox

setPaddingTop

public void setPaddingTop(Measure paddingTop)
Specified by:
setPaddingTop in interface LayoutBox

getWidth

public Measure getWidth()
Specified by:
getWidth in class AbstractUIColumn

setWidth

public void setWidth(Measure width)

getBorderBottom

public Measure getBorderBottom()
This attribute is for internal use only.

Specified by:
getBorderBottom in interface LayoutBox

setBorderBottom

public void setBorderBottom(Measure borderBottom)
Specified by:
setBorderBottom in interface LayoutBox

getBorderLeft

public Measure getBorderLeft()
This attribute is for internal use only.

Specified by:
getBorderLeft in interface LayoutBox

setBorderLeft

public void setBorderLeft(Measure borderLeft)
Specified by:
setBorderLeft in interface LayoutBox

getTip

public String getTip()
Text value to display as tooltip.


setTip

public void setTip(String tip)

getPaddingLeft

public Measure getPaddingLeft()
This attribute is for internal use only.

Specified by:
getPaddingLeft in interface LayoutBox

setPaddingLeft

public void setPaddingLeft(Measure paddingLeft)
Specified by:
setPaddingLeft in interface LayoutBox

getPaddingRight

public Measure getPaddingRight()
This attribute is for internal use only.

Specified by:
getPaddingRight in interface LayoutBox

setPaddingRight

public void setPaddingRight(Measure paddingRight)
Specified by:
setPaddingRight in interface LayoutBox

getBorderTop

public Measure getBorderTop()
This attribute is for internal use only.

Specified by:
getBorderTop in interface LayoutBox

setBorderTop

public void setBorderTop(Measure borderTop)
Specified by:
setBorderTop in interface LayoutBox

getCurrentMarkup

public Markup getCurrentMarkup()
Specified by:
getCurrentMarkup in interface SupportsMarkup
Specified by:
getCurrentMarkup in interface Configurable

setCurrentMarkup

public void setCurrentMarkup(Markup currentMarkup)
Specified by:
setCurrentMarkup in interface SupportsMarkup

isOverflowX

public boolean isOverflowX()
This attribute is for internal use only.


setOverflowX

public void setOverflowX(boolean overflowX)

isOverflowY

public boolean isOverflowY()
This attribute is for internal use only.


setOverflowY

public void setOverflowY(boolean overflowY)

getBorderRight

public Measure getBorderRight()
This attribute is for internal use only.

Specified by:
getBorderRight in interface LayoutBox

setBorderRight

public void setBorderRight(Measure borderRight)
Specified by:
setBorderRight in interface LayoutBox

isDisabled

public boolean isDisabled()
Flag indicating that this element is disabled.
Default: false


setDisabled

public void setDisabled(boolean disabled)

getPaddingBottom

public Measure getPaddingBottom()
This attribute is for internal use only.

Specified by:
getPaddingBottom in interface LayoutBox

setPaddingBottom

public void setPaddingBottom(Measure paddingBottom)
Specified by:
setPaddingBottom in interface LayoutBox

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.