org.primefaces.component.treetable
Class TreeTable

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.primefaces.component.api.UITree
              extended by org.primefaces.component.treetable.TreeTable
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Widget

public class TreeTable
extends UITree
implements Widget, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class TreeTable.PropertyKeys
           
 
Field Summary
static String COLLAPSE_ICON
           
static String COLUMN_CONTENT_WRAPPER
           
static String COLUMN_HEADER_CLASS
           
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String CONTAINER_CLASS
           
static String DATA_CLASS
           
static String EMPTY_MESSAGE_ROW_CLASS
           
static String EXPAND_ICON
           
static String FOOTER_CLASS
           
static String HEADER_CLASS
           
static String INDENT_CLASS
           
static String PARTIAL_SELECTED_CLASS
           
static String RESIZABLE_COLUMN_CLASS
           
static String RESIZABLE_CONTAINER_CLASS
           
static String ROW_CLASS
           
static String SCROLLABLE_BODY_CLASS
           
static String SCROLLABLE_CONTAINER_CLASS
           
static String SCROLLABLE_FOOTER_BOX_CLASS
           
static String SCROLLABLE_FOOTER_CLASS
           
static String SCROLLABLE_HEADER_BOX_CLASS
           
static String SCROLLABLE_HEADER_CLASS
           
static String SELECTABLE_NODE_CLASS
           
static String SELECTED_ROW_CLASS
           
 
Fields inherited from class org.primefaces.component.api.UITree
SEPARATOR
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
TreeTable()
           
 
Method Summary
 Column findColumn(String clientId)
           
 int getColumnsCount()
           
 String getEmptyMessage()
           
 Collection<String> getEventNames()
           
 String getFamily()
           
 String getRowStyleClass()
           
 String getScrollHeight()
           
 String getScrollState()
           
 String getScrollWidth()
           
 String getStyle()
           
 String getStyleClass()
           
 String getTableStyle()
           
 String getTableStyleClass()
           
 String getWidgetVar()
           
 boolean hasFooterColumn()
           
 boolean isCheckboxSelection()
           
 boolean isLiveResize()
           
 boolean isResizableColumns()
           
 boolean isResizeRequest(javax.faces.context.FacesContext context)
           
 boolean isScrollable()
           
 boolean isSelectionRequest(javax.faces.context.FacesContext context)
           
 void processDecodes(javax.faces.context.FacesContext context)
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
 String resolveWidgetVar()
           
 void setEmptyMessage(String _emptyMessage)
           
 void setLiveResize(boolean _liveResize)
           
 void setResizableColumns(boolean _resizableColumns)
           
 void setRowStyleClass(String _rowStyleClass)
           
 void setScrollable(boolean _scrollable)
           
 void setScrollHeight(String _scrollHeight)
           
 void setScrollWidth(String _scrollWidth)
           
 void setStyle(String _style)
           
 void setStyleClass(String _styleClass)
           
 void setTableStyle(String _tableStyle)
           
 void setTableStyleClass(String _tableStyleClass)
           
 void setWidgetVar(String _widgetVar)
           
 
Methods inherited from class org.primefaces.component.api.UITree
broadcast, buildRowKeys, doVisitChildren, findTreeNode, getContainerClientId, getLocalSelectedNodes, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getValue, getVar, initPreselection, isRTLRendering, populateRowKeys, processColumnChildren, processColumnFacets, processFacets, processNode, processNodes, processUpdates, processValidators, setRowKey, setRTLRendering, setSelection, setSelectionMode, setValue, setVar, updateSelection, visitFacets, visitNode, visitNodes, visitTree
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
 

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

CONTAINER_CLASS

public static final String CONTAINER_CLASS
See Also:
Constant Field Values

RESIZABLE_CONTAINER_CLASS

public static final String RESIZABLE_CONTAINER_CLASS
See Also:
Constant Field Values

HEADER_CLASS

public static final String HEADER_CLASS
See Also:
Constant Field Values

DATA_CLASS

public static final String DATA_CLASS
See Also:
Constant Field Values

FOOTER_CLASS

public static final String FOOTER_CLASS
See Also:
Constant Field Values

COLUMN_HEADER_CLASS

public static final String COLUMN_HEADER_CLASS
See Also:
Constant Field Values

ROW_CLASS

public static final String ROW_CLASS
See Also:
Constant Field Values

SELECTED_ROW_CLASS

public static final String SELECTED_ROW_CLASS
See Also:
Constant Field Values

COLUMN_CONTENT_WRAPPER

public static final String COLUMN_CONTENT_WRAPPER
See Also:
Constant Field Values

EXPAND_ICON

public static final String EXPAND_ICON
See Also:
Constant Field Values

COLLAPSE_ICON

public static final String COLLAPSE_ICON
See Also:
Constant Field Values

SCROLLABLE_CONTAINER_CLASS

public static final String SCROLLABLE_CONTAINER_CLASS
See Also:
Constant Field Values

SCROLLABLE_HEADER_CLASS

public static final String SCROLLABLE_HEADER_CLASS
See Also:
Constant Field Values

SCROLLABLE_HEADER_BOX_CLASS

public static final String SCROLLABLE_HEADER_BOX_CLASS
See Also:
Constant Field Values

SCROLLABLE_BODY_CLASS

public static final String SCROLLABLE_BODY_CLASS
See Also:
Constant Field Values

SCROLLABLE_FOOTER_CLASS

public static final String SCROLLABLE_FOOTER_CLASS
See Also:
Constant Field Values

SCROLLABLE_FOOTER_BOX_CLASS

public static final String SCROLLABLE_FOOTER_BOX_CLASS
See Also:
Constant Field Values

SELECTABLE_NODE_CLASS

public static final String SELECTABLE_NODE_CLASS
See Also:
Constant Field Values

RESIZABLE_COLUMN_CLASS

public static final String RESIZABLE_COLUMN_CLASS
See Also:
Constant Field Values

INDENT_CLASS

public static final String INDENT_CLASS
See Also:
Constant Field Values

EMPTY_MESSAGE_ROW_CLASS

public static final String EMPTY_MESSAGE_ROW_CLASS
See Also:
Constant Field Values

PARTIAL_SELECTED_CLASS

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

TreeTable

public TreeTable()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

getStyle

public String getStyle()

setStyle

public void setStyle(String _style)

getStyleClass

public String getStyleClass()

setStyleClass

public void setStyleClass(String _styleClass)

isScrollable

public boolean isScrollable()

setScrollable

public void setScrollable(boolean _scrollable)

getScrollHeight

public String getScrollHeight()

setScrollHeight

public void setScrollHeight(String _scrollHeight)

getScrollWidth

public String getScrollWidth()

setScrollWidth

public void setScrollWidth(String _scrollWidth)

getTableStyle

public String getTableStyle()

setTableStyle

public void setTableStyle(String _tableStyle)

getTableStyleClass

public String getTableStyleClass()

setTableStyleClass

public void setTableStyleClass(String _tableStyleClass)

getEmptyMessage

public String getEmptyMessage()

setEmptyMessage

public void setEmptyMessage(String _emptyMessage)

isResizableColumns

public boolean isResizableColumns()

setResizableColumns

public void setResizableColumns(boolean _resizableColumns)

getRowStyleClass

public String getRowStyleClass()

setRowStyleClass

public void setRowStyleClass(String _rowStyleClass)

isLiveResize

public boolean isLiveResize()

setLiveResize

public void setLiveResize(boolean _liveResize)

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

isSelectionRequest

public boolean isSelectionRequest(javax.faces.context.FacesContext context)

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class UITree

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)
Overrides:
processDecodes in class UITree

findColumn

public Column findColumn(String clientId)

hasFooterColumn

public boolean hasFooterColumn()

isResizeRequest

public boolean isResizeRequest(javax.faces.context.FacesContext context)

getColumnsCount

public int getColumnsCount()

getScrollState

public String getScrollState()

isCheckboxSelection

public boolean isCheckboxSelection()

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget


Copyright © 2013. All rights reserved.