|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
tutorial.jsf.component.ajaxtree.AjaxTree
public class AjaxTree
Created: Nov 3, 2007
Title: AjaxComponent
Description:
Note: It should be very easy to swap in a new 'look-and-feel' by replacing the style sheet and the icons. The stylesheet (ajaxtree.css) only need be replaced if the icon sizes are changing. It is obvious in the stylesheet where that info needs to be changed to match the size of the icons you are providing.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
AjaxTree()
|
Method Summary | |
---|---|
AjaxTreeDataProvider |
getDataProvider()
|
java.lang.String |
getFamily()
|
void |
handleAjaxRequest(javax.faces.context.FacesContext context)
This method is executed by the Ajax listener when an Ajax call for this component is detected. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_RENDERER_TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public AjaxTree()
Method Detail |
---|
public AjaxTreeDataProvider getDataProvider()
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void handleAjaxRequest(javax.faces.context.FacesContext context)
handleAjaxRequest
in interface AjaxComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |