|
||||||||||
| 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
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.rcfaces.core.internal.component.CameliaInputComponent
org.rcfaces.core.component.AbstractInputComponent
org.rcfaces.core.component.TreeComponent
public class TreeComponent
The tree Component shows informations in an arborescent view. It can be compared to the tree found in most modern file explorer. It allows contextual menus ...
The tree Component has the following capabilities :
The default tree renderer is linked to the f_tree javascript class. f_tree extends f_component, fa_readOnly, fa_disabled, fa_immediate, fa_subMenu, fa_selectionManager
Table of component style classes:
| Style Name | Description |
|---|---|
| f_tree | Defines styles for the wrapper DIV element |
| f_tree_body | Defines styles for the wrapper UL element |
| f_tree_parent | Defines styles for the wrapper LI element of the parent nodes |
| f_tree_depth | Defines styles for the DIV element of the depth node |
| f_tree_node | Defines styles for the DIV element of the node |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
protected static String |
CAMELIA_VALUE_ALIAS
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.ICheckCardinalityCapability |
|---|
DEFAULT_CARDINALITY |
| Fields inherited from interface org.rcfaces.core.component.capability.ISelectionCardinalityCapability |
|---|
DEFAULT_CARDINALITY |
| Fields inherited from interface org.rcfaces.core.component.capability.ICardinality |
|---|
ONE_CARDINALITY, ONEMANY_CARDINALITY, OPTIONAL_CARDINALITY, ZEROMANY_CARDINALITY |
| Fields inherited from interface org.rcfaces.core.component.capability.IClientFullStateCapability |
|---|
DEFAULT_CLIENT_FULL_STATE, FALSE_CLIENT_FULL_STATE, NONE_CLIENT_FULL_STATE, ONEWAY_CLIENT_FULL_STATE, TRUE_CLIENT_FULL_STATE, TWOWAYS_CLIENT_FULL_STATE |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
TreeComponent()
|
|
TreeComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addCheckListener(ICheckListener listener)
Adds a listener to the component for the checked event |
void |
addDoubleClickListener(IDoubleClickListener listener)
Adds a listener to the component for the doubleClick event |
void |
addDragListener(IDragListener listener)
Adds a listener to the component for the drag event |
void |
addDropCompleteListener(IDropCompleteListener listener)
Adds a listener to the component for the drop event |
void |
addDropListener(IDropListener listener)
Adds a listener to the component for the drop event |
void |
addExpandListener(IExpandListener listener)
Adds a listener to the component for the expand event |
void |
addLoadListener(ILoadListener listener)
Adds a listener to the component for the load event |
void |
addPreSelectionListener(IPreSelectionListener listener)
Adds a listener to the component for the preSelection event |
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
void |
check(Object rowValue)
|
void |
checkAll()
|
void |
collapse(Object value)
|
void |
collapseAll()
|
void |
collapseAll(FacesContext context)
|
void |
deselect(Object rowValue)
|
void |
deselectAll()
|
void |
expand(Object value)
|
void |
expandAll()
|
void |
expandAll(FacesContext context)
|
protected Set |
getCameliaFields()
|
protected String |
getCameliaValueAlias()
|
int |
getCheckCardinality()
Returns an int value indicating the cardinality (number of check allowed) for this componenent. |
int |
getCheckCardinality(FacesContext facesContext)
See getCheckCardinality() for more details |
Object |
getCheckedValues()
|
Object |
getCheckedValues(FacesContext facesContext)
|
int |
getCheckedValuesCount()
|
Class |
getCheckedValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
int |
getClientCheckFullState()
Returns an integer value indicating wether the client should know about the component's full state even if only a part of the data is present (AJAX). |
int |
getClientCheckFullState(FacesContext facesContext)
See getClientCheckFullState() for more details |
int |
getClientSelectionFullState()
Returns a boolean value indicating whether the client should know about the component's full state even if only a part of the data is present (AJAX). |
int |
getClientSelectionFullState(FacesContext facesContext)
See getClientSelectionFullState() for more details |
org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType |
getComponentValueType()
|
Object |
getCursorValue()
|
Object |
getCursorValue(FacesContext facesContext)
|
String |
getDefaultCollapsedImageURL()
|
String |
getDefaultCollapsedImageURL(FacesContext facesContext)
|
String |
getDefaultDisabledImageURL()
Returns an url string pointing to the default image for the disabled state. |
String |
getDefaultDisabledImageURL(FacesContext facesContext)
Returns an url string pointing to the default image for the disabled state. |
String |
getDefaultDisabledLeafImageURL()
|
String |
getDefaultDisabledLeafImageURL(FacesContext facesContext)
|
String |
getDefaultExpandedImageURL()
Returns an url string pointing to the default image for an expanded node. |
String |
getDefaultExpandedImageURL(FacesContext facesContext)
Returns an url string pointing to the default image for an expanded node. |
String |
getDefaultExpandedLeafImageURL()
|
String |
getDefaultExpandedLeafImageURL(FacesContext facesContext)
|
String |
getDefaultImageURL()
Returns an url string pointing to the default image. |
String |
getDefaultImageURL(FacesContext facesContext)
Returns an url string pointing to the default image. |
String |
getDefaultLeafImageURL()
Returns an url string pointing to the default image for a leaf. |
String |
getDefaultLeafImageURL(FacesContext facesContext)
Returns an url string pointing to the default image for a leaf. |
String |
getDefaultSelectedImageURL()
Returns an url string pointing to the default image for the selected state. |
String |
getDefaultSelectedImageURL(FacesContext facesContext)
Returns an url string pointing to the default image for the selected state. |
String |
getDefaultSelectedLeafImageURL()
|
String |
getDefaultSelectedLeafImageURL(FacesContext facesContext)
|
int |
getDragEffects()
|
int |
getDragEffects(FacesContext facesContext)
See getDragEffects() for more details |
String[] |
getDragTypes()
|
String[] |
getDragTypes(FacesContext facesContext)
See getDragTypes() for more details |
int |
getDropEffects()
|
int |
getDropEffects(FacesContext facesContext)
See getDropEffects() for more details |
String[] |
getDropTypes()
|
String[] |
getDropTypes(FacesContext facesContext)
See getDropTypes() for more details |
Object |
getExpandedValues()
|
Object |
getExpandedValues(FacesContext facesContext)
|
int |
getExpandedValuesCount()
|
Class |
getExpandedValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
IFilterProperties |
getFilterProperties()
Return an object that represent the filter to use on the server side. |
IFilterProperties |
getFilterProperties(FacesContext facesContext)
See getFilterProperties() for more details |
Object |
getFirstCheckedValue()
|
Object |
getFirstSelectedValue()
|
int |
getHorizontalScrollPosition()
Returns an integer value specifying the position of the horizontal scroolbar (browser dependant). |
int |
getHorizontalScrollPosition(FacesContext facesContext)
See getHorizontalScrollPosition() for more details |
IMenuComponent |
getMenu()
Returns the top-most menu associated to the component. |
IMenuComponent |
getMenu(String menuId)
Returns the menu identified by its id from the menus associated to the component. |
String |
getOverStyleClass()
|
String |
getOverStyleClass(FacesContext facesContext)
See getOverStyleClass() for more details |
int |
getPreloadedLevelDepth()
|
int |
getPreloadedLevelDepth(FacesContext facesContext)
See getPreloadedLevelDepth() for more details |
Object |
getSelectedValues()
|
Object |
getSelectedValues(FacesContext facesContext)
|
int |
getSelectedValuesCount()
|
Class |
getSelectedValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
int |
getSelectionCardinality()
Returns an int value specifying the type of multiple selection authorized. cf. |
int |
getSelectionCardinality(FacesContext facesContext)
See getSelectionCardinality() for more details |
Object |
getShowValue()
|
Object |
getShowValue(FacesContext facesContext)
See getShowValue() for more details |
int |
getVerticalScrollPosition()
Returns an integer value specifying the position of the vertical scroolbar (Browser dependant). |
int |
getVerticalScrollPosition(FacesContext facesContext)
See getVerticalScrollPosition() for more details |
boolean |
isBodyDroppable()
|
boolean |
isBodyDroppable(FacesContext facesContext)
|
boolean |
isBodyDroppableSetted()
Returns true if the attribute "bodyDroppable" is set. |
boolean |
isBorder()
Returns a boolean value that indicates if the component should show a border or not. |
boolean |
isBorder(FacesContext facesContext)
See isBorder() for more details |
boolean |
isBorderSetted()
Returns true if the attribute "border" is set. |
boolean |
isCheckable()
Returns a boolean value indicating whether the component can be checked. |
boolean |
isCheckable(FacesContext facesContext)
See isCheckable() for more details |
boolean |
isCheckableSetted()
Returns true if the attribute "checkable" is set. |
boolean |
isCheckCardinalitySetted()
Returns true if the attribute "checkCardinality" is set. |
boolean |
isCheckedValuesSetted()
Returns true if the attribute "checkedValues" is set. |
boolean |
isClientCheckFullStateSetted()
Returns true if the attribute "clientCheckFullState" is set. |
boolean |
isClientSelectionFullStateSetted()
Returns true if the attribute "clientSelectionFullState" is set. |
boolean |
isCursorValueSetted()
Returns true if the attribute "cursorValue" is set. |
boolean |
isDefaultCollapsedImageURLSetted()
Returns true if the attribute "defaultCollapsedImageURL" is set. |
boolean |
isDefaultDisabledImageURLSetted()
Returns true if the attribute "defaultDisabledImageURL" is set. |
boolean |
isDefaultDisabledLeafImageURLSetted()
Returns true if the attribute "defaultDisabledLeafImageURL" is set. |
boolean |
isDefaultExpandedImageURLSetted()
Returns true if the attribute "defaultExpandedImageURL" is set. |
boolean |
isDefaultExpandedLeafImageURLSetted()
Returns true if the attribute "defaultExpandedLeafImageURL" is set. |
boolean |
isDefaultImageURLSetted()
Returns true if the attribute "defaultImageURL" is set. |
boolean |
isDefaultLeafImageURLSetted()
Returns true if the attribute "defaultLeafImageURL" is set. |
boolean |
isDefaultSelectedImageURLSetted()
Returns true if the attribute "defaultSelectedImageURL" is set. |
boolean |
isDefaultSelectedLeafImageURLSetted()
Returns true if the attribute "defaultSelectedLeafImageURL" is set. |
boolean |
isDragEffectsSetted()
Returns true if the attribute "dragEffects" is set. |
boolean |
isDraggable()
|
boolean |
isDraggable(FacesContext facesContext)
See isDraggable() for more details |
boolean |
isDraggableSetted()
Returns true if the attribute "draggable" is set. |
boolean |
isDragTypesSetted()
Returns true if the attribute "dragTypes" is set. |
boolean |
isDropEffectsSetted()
Returns true if the attribute "dropEffects" is set. |
boolean |
isDroppable()
|
boolean |
isDroppable(FacesContext facesContext)
See isDroppable() for more details |
boolean |
isDroppableSetted()
Returns true if the attribute "droppable" is set. |
boolean |
isDropTypesSetted()
Returns true if the attribute "dropTypes" is set. |
boolean |
isExpandable()
Returns a boolean value indicating wether the component can receive a user's expand command. |
boolean |
isExpandable(FacesContext facesContext)
See isExpandable() for more details |
boolean |
isExpandableSetted()
Returns true if the attribute "expandable" is set. |
boolean |
isExpanded(FacesContext context,
Object value)
|
boolean |
isExpandedValuesSetted()
Returns true if the attribute "expandedValues" is set. |
boolean |
isExpansionUseValue()
Returns a boolean value that indicates wether a node is identified by it's value or by a complete path. |
boolean |
isExpansionUseValue(FacesContext facesContext)
Returns a boolean value that indicates wether a node is identified by it's value or by a complete path. |
boolean |
isExpansionUseValueSetted()
Returns true if the attribute "expansionUseValue" is set. |
boolean |
isFilterPropertiesSetted()
Returns true if the attribute "filterProperties" is set. |
boolean |
isHideRootExpandSign()
Returns a boolean value indicating wether the expand sign should be visible for the topmost node. |
boolean |
isHideRootExpandSign(FacesContext facesContext)
Returns a boolean value indicating wether the expand sign should be visible for the topmost node. |
boolean |
isHideRootExpandSignSetted()
Returns true if the attribute "hideRootExpandSign" is set. |
boolean |
isHorizontalScrollPositionSetted()
Returns true if the attribute "horizontalScrollPosition" is set. |
boolean |
isOverStyleClassSetted()
Returns true if the attribute "overStyleClass" is set. |
boolean |
isPreloadedLevelDepthSetted()
Returns true if the attribute "preloadedLevelDepth" is set. |
boolean |
isReadOnly()
Returns a boolean value indicating that this component will prohibit changes by the user. |
boolean |
isReadOnly(FacesContext facesContext)
See isReadOnly() for more details |
boolean |
isReadOnlySetted()
Returns true if the attribute "readOnly" is set. |
boolean |
isSelectable()
Returns a boolean value indicating wether the component can receive a user's selection |
boolean |
isSelectable(FacesContext facesContext)
See isSelectable() for more details |
boolean |
isSelectableSetted()
Returns true if the attribute "selectable" is set. |
boolean |
isSelectedValuesSetted()
Returns true if the attribute "selectedValues" is set. |
boolean |
isSelectionCardinalitySetted()
Returns true if the attribute "selectionCardinality" is set. |
boolean |
isShowValueSetted()
Returns true if the attribute "showValue" is set. |
boolean |
isVerticalScrollPositionSetted()
Returns true if the attribute "verticalScrollPosition" is set. |
Object[] |
listCheckedValues()
|
FacesListener[] |
listCheckListeners()
Returns the list of check listener for the component |
FacesListener[] |
listDoubleClickListeners()
Returns a list of doubleClick listener for the component |
FacesListener[] |
listDragListeners()
Returns a list of drag listener for the component |
FacesListener[] |
listDropCompleteListeners()
Returns a list of drop listeners for the component |
FacesListener[] |
listDropListeners()
Returns a list of drop listeners for the component |
Object[] |
listExpandedValues()
|
FacesListener[] |
listExpandListeners()
Returns a list of expand listener for the component |
FacesListener[] |
listLoadListeners()
Returns a list of load listener for the component |
IMenuIterator |
listMenus()
Returns a list of all the menus associated to the component. |
FacesListener[] |
listPreSelectionListeners()
Returns a list of PreSelection listener for the component |
Object[] |
listSelectedValues()
|
FacesListener[] |
listSelectionListeners()
Returns a list of selection listener for the component |
void |
removeAllTreeNodes()
|
void |
removeCheckListener(ICheckListener listener)
Removes a listener from the list of listeners |
void |
removeDoubleClickListener(IDoubleClickListener listener)
Removes a listener from the component for the doubleClick event |
void |
removeDragListener(IDragListener listener)
Removes a listener from the component for the drag event |
void |
removeDropCompleteListener(IDropCompleteListener listener)
Removes a listener from the component for the drop event |
void |
removeDropListener(IDropListener listener)
Removes a listener from the component for the drop event |
void |
removeExpandListener(IExpandListener listener)
Removes a listener from the component for the expand event |
void |
removeLoadListener(ILoadListener listener)
Removes a listener from the component for the load event |
void |
removePreSelectionListener(IPreSelectionListener listener)
Removes a listener from the component for the preSelection event |
void |
removeSelectionListener(ISelectionListener listener)
Removes a listener from the component for the selection event |
void |
select(Object rowValue)
|
void |
selectAll()
|
void |
setBodyDroppable(boolean bodyDroppable)
|
void |
setBorder(boolean border)
Sets a boolean value that indicates if the component should show a border or not. |
void |
setCheckable(boolean checkable)
Sets a boolean value indicating whether the component can be checked. |
void |
setCheckCardinality(int checkCardinality)
Sets an int value indicating the cardinality (number of check allowed) for this componenent. |
void |
setCheckCardinality(String cardinality)
|
void |
setCheckedValues(Object checkedValues)
|
void |
setClientCheckFullState(int clientCheckFullState)
Sets a boolean value indicating wether the client should know about the component's full state even if only a part of the data is present (AJAX). |
void |
setClientCheckFullState(String state)
|
void |
setClientSelectionFullState(int clientSelectionFullState)
Sets a boolean value indicating whether the client should know about the component's full state even if only a part of the data is present (AJAX). |
void |
setClientSelectionFullState(String state)
|
void |
setCursorValue(Object cursorValue)
|
void |
setDefaultCollapsedImageURL(String defaultCollapsedImageURL)
|
void |
setDefaultDisabledImageURL(String defaultDisabledImageURL)
Sets an url string pointing to the default image for the disabled state. |
void |
setDefaultDisabledLeafImageURL(String defaultDisabledLeafImageURL)
|
void |
setDefaultExpandedImageURL(String defaultExpandedImageURL)
Sets an url string pointing to the default image for an expanded node. |
void |
setDefaultExpandedLeafImageURL(String defaultExpandedLeafImageURL)
|
void |
setDefaultImageURL(String defaultImageURL)
Sets an url string pointing to the default image. |
void |
setDefaultLeafImageURL(String defaultLeafImageURL)
Sets an url string pointing to the default image for a leaf. |
void |
setDefaultSelectedImageURL(String defaultSelectedImageURL)
Sets an url string pointing to the default image for the selected state. |
void |
setDefaultSelectedLeafImageURL(String defaultSelectedLeafImageURL)
|
void |
setDragEffects(int dragEffects)
|
void |
setDragEffects(String dragEffects)
|
void |
setDraggable(boolean draggable)
|
void |
setDragTypes(String dragTypes)
|
void |
setDragTypes(String[] dragTypes)
|
void |
setDropEffects(int dropEffects)
|
void |
setDropEffects(String dropEffects)
|
void |
setDroppable(boolean droppable)
|
void |
setDropTypes(String dropTypes)
|
void |
setDropTypes(String[] dropTypes)
|
void |
setExpandable(boolean expandable)
Sets a boolean value indicating wether the component can receive a user's expand command. |
void |
setExpanded(FacesContext context,
Object value,
boolean expanded)
|
void |
setExpanded(Object value,
boolean expanded)
|
void |
setExpandedValues(Object expandedValues)
|
void |
setExpansionUseValue(boolean expansionUseValue)
Sets a boolean value that indicates wether a node is identified by it's value or by a complete path. |
void |
setFilterProperties(IFilterProperties filterProperties)
Sets an object that represent the filter to use on the server side. |
void |
setFilterProperties(String properties)
|
void |
setHideRootExpandSign(boolean hideRootExpandSign)
Sets a boolean value indicating wether the expand sign should be visible for the topmost node. |
void |
setHorizontalScrollPosition(int horizontalScrollPosition)
Sets an integer value specifying the position of the horizontal scroolbar (browser dependant). |
void |
setOverStyleClass(String overStyleClass)
|
void |
setPreloadedLevelDepth(int preloadedLevelDepth)
|
void |
setReadOnly(boolean readOnly)
Sets a boolean value indicating that this component will prohibit changes by the user. |
void |
setSelectable(boolean selectable)
Sets a boolean value indicating wether the component can receive a user's selection |
void |
setSelectedValues(Object selectedValues)
|
void |
setSelectionCardinality(int selectionCardinality)
Sets an int value specifying the type of multiple selection authorized. |
void |
setSelectionCardinality(String cardinality)
|
void |
setShowValue(Object showValue)
Set the value of the item will be shown. |
void |
setVerticalScrollPosition(int verticalScrollPosition)
Sets an integer value specifying the position of the vertical scroolbar (Browser dependant). |
void |
uncheck(Object rowValue)
|
void |
uncheckAll()
|
| Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.component.capability.IRequiredCapability |
|---|
isRequired, setRequired |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, setConverter, setValue |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
protected static final String CAMELIA_VALUE_ALIAS
| Constructor Detail |
|---|
public TreeComponent()
public TreeComponent(String componentId)
| Method Detail |
|---|
public void setDragEffects(String dragEffects)
public void setDragTypes(String dragTypes)
public void setDropEffects(String dropEffects)
public void setDropTypes(String dropTypes)
public void setClientSelectionFullState(String state)
public void setClientCheckFullState(String state)
public void setFilterProperties(String properties)
public org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType getComponentValueType()
getComponentValueType in interface org.rcfaces.core.internal.tools.CollectionTools.IComponentValueTypeCapabilitypublic void setSelectionCardinality(String cardinality)
public void setCheckCardinality(String cardinality)
public void removeAllTreeNodes()
public void select(Object rowValue)
select in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void selectAll()
selectAll in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void deselect(Object rowValue)
deselect in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void deselectAll()
deselectAll in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void check(Object rowValue)
check in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void checkAll()
checkAll in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void uncheck(Object rowValue)
uncheck in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void uncheckAll()
uncheckAll in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void collapseAll()
public void collapseAll(FacesContext context)
public void expandAll()
public void expandAll(FacesContext context)
public void setExpanded(FacesContext context,
Object value,
boolean expanded)
public void expand(Object value)
public void collapse(Object value)
public void setExpanded(Object value,
boolean expanded)
public boolean isExpanded(FacesContext context,
Object value)
public Object getCursorValue(FacesContext facesContext)
public Object getSelectedValues(FacesContext facesContext)
public void setSelectedValues(Object selectedValues)
setSelectedValues in interface ISelectionProviderpublic Object getCheckedValues(FacesContext facesContext)
public void setCheckedValues(Object checkedValues)
setCheckedValues in interface ICheckProviderpublic Object getExpandedValues(FacesContext facesContext)
public void setExpandedValues(Object expandedValues)
setExpandedValues in interface IExpansionProviderpublic final void addDoubleClickListener(IDoubleClickListener listener)
IDoubleClickEventCapability
addDoubleClickListener in interface IDoubleClickEventCapabilitylistener - the doubleClick listener to addpublic final void removeDoubleClickListener(IDoubleClickListener listener)
IDoubleClickEventCapability
removeDoubleClickListener in interface IDoubleClickEventCapabilitylistener - the doubleClick listener to removepublic final FacesListener[] listDoubleClickListeners()
IDoubleClickEventCapability
listDoubleClickListeners in interface IDoubleClickEventCapabilitypublic int getHorizontalScrollPosition()
IScrollableCapability
getHorizontalScrollPosition in interface IScrollableCapabilitypublic int getHorizontalScrollPosition(FacesContext facesContext)
getHorizontalScrollPosition() for more details
public final boolean isHorizontalScrollPositionSetted()
true if the attribute "horizontalScrollPosition" is set.
true if the attribute is set.public void setHorizontalScrollPosition(int horizontalScrollPosition)
IScrollableCapability
setHorizontalScrollPosition in interface IScrollableCapabilityhorizontalScrollPosition - horizontal scroll positionpublic int getVerticalScrollPosition()
IScrollableCapability
getVerticalScrollPosition in interface IScrollableCapabilitypublic int getVerticalScrollPosition(FacesContext facesContext)
getVerticalScrollPosition() for more details
public final boolean isVerticalScrollPositionSetted()
true if the attribute "verticalScrollPosition" is set.
true if the attribute is set.public void setVerticalScrollPosition(int verticalScrollPosition)
IScrollableCapability
setVerticalScrollPosition in interface IScrollableCapabilityverticalScrollPosition - vertical scroll positionpublic boolean isBorder()
IBorderCapability
isBorder in interface IBorderCapabilitypublic boolean isBorder(FacesContext facesContext)
isBorder() for more details
public final boolean isBorderSetted()
true if the attribute "border" is set.
true if the attribute is set.public void setBorder(boolean border)
IBorderCapability
setBorder in interface IBorderCapabilityborder - booleanpublic boolean isReadOnly()
IReadOnlyCapability
isReadOnly in interface IReadOnlyCapabilitypublic boolean isReadOnly(FacesContext facesContext)
isReadOnly() for more details
public final boolean isReadOnlySetted()
true if the attribute "readOnly" is set.
true if the attribute is set.public void setReadOnly(boolean readOnly)
IReadOnlyCapability
setReadOnly in interface IReadOnlyCapabilityreadOnly - readOnly boolean propertypublic IMenuComponent getMenu()
IMenuCapability
getMenu in interface IMenuCapabilitypublic IMenuComponent getMenu(String menuId)
IMenuCapability
getMenu in interface IMenuCapabilitymenuId - Id for a particular menu
public IMenuIterator listMenus()
IMenuCapability
listMenus in interface IMenuCapabilitypublic Object getShowValue()
getShowValue in interface IShowValueCapabilitypublic Object getShowValue(FacesContext facesContext)
getShowValue() for more details
public final boolean isShowValueSetted()
true if the attribute "showValue" is set.
true if the attribute is set.public void setShowValue(Object showValue)
IShowValueCapability
setShowValue in interface IShowValueCapabilityshowValue - The value of the itempublic String getOverStyleClass()
getOverStyleClass in interface IOverStyleClassCapabilitypublic String getOverStyleClass(FacesContext facesContext)
getOverStyleClass() for more details
public final boolean isOverStyleClassSetted()
true if the attribute "overStyleClass" is set.
true if the attribute is set.public void setOverStyleClass(String overStyleClass)
setOverStyleClass in interface IOverStyleClassCapabilitypublic IFilterProperties getFilterProperties()
IFilterCapability
getFilterProperties in interface IFilterCapabilitypublic IFilterProperties getFilterProperties(FacesContext facesContext)
getFilterProperties() for more details
public final boolean isFilterPropertiesSetted()
true if the attribute "filterProperties" is set.
true if the attribute is set.public void setFilterProperties(IFilterProperties filterProperties)
IFilterCapability
setFilterProperties in interface IFilterCapabilityfilterProperties - filterpublic final void addLoadListener(ILoadListener listener)
ILoadEventCapability
addLoadListener in interface ILoadEventCapabilitylistener - the load listener to addpublic final void removeLoadListener(ILoadListener listener)
ILoadEventCapability
removeLoadListener in interface ILoadEventCapabilitylistener - the load listener to removepublic final FacesListener[] listLoadListeners()
ILoadEventCapability
listLoadListeners in interface ILoadEventCapabilitypublic final void addExpandListener(IExpandListener listener)
IExpandEventCapability
addExpandListener in interface IExpandEventCapabilitylistener - the expand listener to addpublic final void removeExpandListener(IExpandListener listener)
IExpandEventCapability
removeExpandListener in interface IExpandEventCapabilitylistener - the expand listener to removepublic final FacesListener[] listExpandListeners()
IExpandEventCapability
listExpandListeners in interface IExpandEventCapabilitypublic final void addPreSelectionListener(IPreSelectionListener listener)
IPreSelectionEventCapability
addPreSelectionListener in interface IPreSelectionEventCapabilitylistener - the preSelection listener to addpublic final void removePreSelectionListener(IPreSelectionListener listener)
IPreSelectionEventCapability
removePreSelectionListener in interface IPreSelectionEventCapabilitylistener - the PreSelection listener to removepublic final FacesListener[] listPreSelectionListeners()
IPreSelectionEventCapability
listPreSelectionListeners in interface IPreSelectionEventCapabilitypublic final void addDragListener(IDragListener listener)
IDragEventCapability
addDragListener in interface IDragEventCapabilitylistener - the drag listener to addpublic final void removeDragListener(IDragListener listener)
IDragEventCapability
removeDragListener in interface IDragEventCapabilitylistener - the drag listener to removepublic final FacesListener[] listDragListeners()
IDragEventCapability
listDragListeners in interface IDragEventCapabilitypublic int getDragEffects()
getDragEffects in interface IDraggableCapabilitypublic int getDragEffects(FacesContext facesContext)
getDragEffects() for more details
public final boolean isDragEffectsSetted()
true if the attribute "dragEffects" is set.
true if the attribute is set.public void setDragEffects(int dragEffects)
setDragEffects in interface IDraggableCapabilitypublic String[] getDragTypes()
getDragTypes in interface IDraggableCapabilitypublic String[] getDragTypes(FacesContext facesContext)
getDragTypes() for more details
public final boolean isDragTypesSetted()
true if the attribute "dragTypes" is set.
true if the attribute is set.public void setDragTypes(String[] dragTypes)
setDragTypes in interface IDraggableCapabilitypublic boolean isDraggable()
isDraggable in interface IDraggableCapabilitypublic boolean isDraggable(FacesContext facesContext)
isDraggable() for more details
public final boolean isDraggableSetted()
true if the attribute "draggable" is set.
true if the attribute is set.public void setDraggable(boolean draggable)
setDraggable in interface IDraggableCapabilitypublic final void addDropListener(IDropListener listener)
IDropEventCapability
addDropListener in interface IDropEventCapabilitylistener - the drop listener to addpublic final void removeDropListener(IDropListener listener)
IDropEventCapability
removeDropListener in interface IDropEventCapabilitylistener - the drop listener to removepublic final FacesListener[] listDropListeners()
IDropEventCapability
listDropListeners in interface IDropEventCapabilitypublic final void addDropCompleteListener(IDropCompleteListener listener)
IDropCompleteEventCapability
addDropCompleteListener in interface IDropCompleteEventCapabilitylistener - the drop listener to addpublic final void removeDropCompleteListener(IDropCompleteListener listener)
IDropCompleteEventCapability
removeDropCompleteListener in interface IDropCompleteEventCapabilitylistener - the drop listener to removepublic final FacesListener[] listDropCompleteListeners()
IDropCompleteEventCapability
listDropCompleteListeners in interface IDropCompleteEventCapabilitypublic int getDropEffects()
getDropEffects in interface IDroppableCapabilitypublic int getDropEffects(FacesContext facesContext)
getDropEffects() for more details
public final boolean isDropEffectsSetted()
true if the attribute "dropEffects" is set.
true if the attribute is set.public void setDropEffects(int dropEffects)
setDropEffects in interface IDroppableCapabilitypublic String[] getDropTypes()
getDropTypes in interface IDroppableCapabilitypublic String[] getDropTypes(FacesContext facesContext)
getDropTypes() for more details
public final boolean isDropTypesSetted()
true if the attribute "dropTypes" is set.
true if the attribute is set.public void setDropTypes(String[] dropTypes)
setDropTypes in interface IDroppableCapabilitypublic boolean isDroppable()
isDroppable in interface IDroppableCapabilitypublic boolean isDroppable(FacesContext facesContext)
isDroppable() for more details
public final boolean isDroppableSetted()
true if the attribute "droppable" is set.
true if the attribute is set.public void setDroppable(boolean droppable)
setDroppable in interface IDroppableCapabilitypublic boolean isCheckable()
ICheckableCapability
isCheckable in interface ICheckableCapabilitypublic boolean isCheckable(FacesContext facesContext)
isCheckable() for more details
public final boolean isCheckableSetted()
true if the attribute "checkable" is set.
true if the attribute is set.public void setCheckable(boolean checkable)
ICheckableCapability
setCheckable in interface ICheckableCapabilitycheckable - booleanpublic int getCheckCardinality()
ICheckCardinalityCapability
getCheckCardinality in interface ICheckCardinalityCapabilitypublic int getCheckCardinality(FacesContext facesContext)
getCheckCardinality() for more details
public final boolean isCheckCardinalitySetted()
true if the attribute "checkCardinality" is set.
true if the attribute is set.public void setCheckCardinality(int checkCardinality)
ICheckCardinalityCapability
setCheckCardinality in interface ICheckCardinalityCapabilitycheckCardinality - 1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany
default=zeroManypublic final void addCheckListener(ICheckListener listener)
ICheckEventCapability
addCheckListener in interface ICheckEventCapabilitylistener - the listener to addpublic final void removeCheckListener(ICheckListener listener)
ICheckEventCapability
removeCheckListener in interface ICheckEventCapabilitylistener - the listener to removepublic final FacesListener[] listCheckListeners()
ICheckEventCapability
listCheckListeners in interface ICheckEventCapabilitypublic Object getCheckedValues()
getCheckedValues in interface ICheckProviderpublic final boolean isCheckedValuesSetted()
true if the attribute "checkedValues" is set.
true if the attribute is set.public Class getCheckedValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getCheckedValuesType in interface ICheckedValuesCapabilitypublic Object getFirstCheckedValue()
getFirstCheckedValue in interface ICheckProviderpublic int getCheckedValuesCount()
getCheckedValuesCount in interface ICheckProviderpublic Object[] listCheckedValues()
listCheckedValues in interface ICheckProviderpublic int getClientCheckFullState()
IClientCheckFullStateCapability
getClientCheckFullState in interface IClientCheckFullStateCapabilityIClientFullStateCapability.NONE_CLIENT_FULL_STATE,
IClientFullStateCapability.ONEWAY_CLIENT_FULL_STATE,
IClientFullStateCapability.TWOWAYS_CLIENT_FULL_STATEpublic int getClientCheckFullState(FacesContext facesContext)
getClientCheckFullState() for more details
public final boolean isClientCheckFullStateSetted()
true if the attribute "clientCheckFullState" is set.
true if the attribute is set.public void setClientCheckFullState(int clientCheckFullState)
IClientCheckFullStateCapability
setClientCheckFullState in interface IClientCheckFullStateCapabilityIClientFullStateCapability.NONE_CLIENT_FULL_STATE,
IClientFullStateCapability.ONEWAY_CLIENT_FULL_STATE,
IClientFullStateCapability.TWOWAYS_CLIENT_FULL_STATEpublic boolean isSelectable()
ISelectableCapability
isSelectable in interface ISelectableCapabilitypublic boolean isSelectable(FacesContext facesContext)
isSelectable() for more details
public final boolean isSelectableSetted()
true if the attribute "selectable" is set.
true if the attribute is set.public void setSelectable(boolean selectable)
ISelectableCapability
setSelectable in interface ISelectableCapabilityselectable - selectable boolean propertypublic int getSelectionCardinality()
ISelectionCardinalityCapability
getSelectionCardinality in interface ISelectionCardinalityCapabilitypublic int getSelectionCardinality(FacesContext facesContext)
getSelectionCardinality() for more details
public final boolean isSelectionCardinalitySetted()
true if the attribute "selectionCardinality" is set.
true if the attribute is set.public void setSelectionCardinality(int selectionCardinality)
ISelectionCardinalityCapability
setSelectionCardinality in interface ISelectionCardinalityCapabilityselectionCardinality - 1: none or one selection|2: any number of selections or
none|3: one and only one selection|4: one or more selectionpublic final void addSelectionListener(ISelectionListener listener)
ISelectionEventCapability
addSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to addpublic final void removeSelectionListener(ISelectionListener listener)
ISelectionEventCapability
removeSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to removepublic final FacesListener[] listSelectionListeners()
ISelectionEventCapability
listSelectionListeners in interface ISelectionEventCapabilitypublic Object getSelectedValues()
getSelectedValues in interface ISelectionProviderpublic final boolean isSelectedValuesSetted()
true if the attribute "selectedValues" is set.
true if the attribute is set.public Class getSelectedValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getSelectedValuesType in interface ISelectedValuesCapabilitypublic Object getFirstSelectedValue()
getFirstSelectedValue in interface ISelectionProviderpublic int getSelectedValuesCount()
getSelectedValuesCount in interface ISelectionProviderpublic Object[] listSelectedValues()
listSelectedValues in interface ISelectionProviderpublic int getClientSelectionFullState()
IClientSelectionFullStateCapability
getClientSelectionFullState in interface IClientSelectionFullStateCapabilitypublic int getClientSelectionFullState(FacesContext facesContext)
getClientSelectionFullState() for more details
public final boolean isClientSelectionFullStateSetted()
true if the attribute "clientSelectionFullState" is set.
true if the attribute is set.public void setClientSelectionFullState(int clientSelectionFullState)
IClientSelectionFullStateCapability
setClientSelectionFullState in interface IClientSelectionFullStateCapabilityclientSelectionFullState - booleanpublic int getPreloadedLevelDepth()
getPreloadedLevelDepth in interface IPreloadedLevelDepthCapabilitypublic int getPreloadedLevelDepth(FacesContext facesContext)
getPreloadedLevelDepth() for more details
public final boolean isPreloadedLevelDepthSetted()
true if the attribute "preloadedLevelDepth" is set.
true if the attribute is set.public void setPreloadedLevelDepth(int preloadedLevelDepth)
setPreloadedLevelDepth in interface IPreloadedLevelDepthCapabilitypublic boolean isExpandable()
IExpandableCapability
isExpandable in interface IExpandableCapabilitypublic boolean isExpandable(FacesContext facesContext)
isExpandable() for more details
public final boolean isExpandableSetted()
true if the attribute "expandable" is set.
true if the attribute is set.public void setExpandable(boolean expandable)
IExpandableCapability
setExpandable in interface IExpandableCapabilityexpandable - expandable boolean propertypublic Object getExpandedValues()
getExpandedValues in interface IExpansionProviderpublic final boolean isExpandedValuesSetted()
true if the attribute "expandedValues" is set.
true if the attribute is set.public Class getExpandedValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getExpandedValuesType in interface IExpandedValuesCapabilitypublic Object[] listExpandedValues()
listExpandedValues in interface IExpansionProviderpublic int getExpandedValuesCount()
getExpandedValuesCount in interface IExpansionProviderpublic String getDefaultImageURL()
public String getDefaultImageURL(FacesContext facesContext)
public void setDefaultImageURL(String defaultImageURL)
defaultImageURL - image urlpublic boolean isDefaultImageURLSetted()
true if the attribute "defaultImageURL" is set.
true if the attribute is set.public String getDefaultSelectedImageURL()
public String getDefaultSelectedImageURL(FacesContext facesContext)
public void setDefaultSelectedImageURL(String defaultSelectedImageURL)
defaultSelectedImageURL - selected image urlpublic boolean isDefaultSelectedImageURLSetted()
true if the attribute "defaultSelectedImageURL" is set.
true if the attribute is set.public String getDefaultExpandedImageURL()
public String getDefaultExpandedImageURL(FacesContext facesContext)
public void setDefaultExpandedImageURL(String defaultExpandedImageURL)
defaultExpandedImageURL - expanded image urlpublic boolean isDefaultExpandedImageURLSetted()
true if the attribute "defaultExpandedImageURL" is set.
true if the attribute is set.public String getDefaultCollapsedImageURL()
public String getDefaultCollapsedImageURL(FacesContext facesContext)
public void setDefaultCollapsedImageURL(String defaultCollapsedImageURL)
public boolean isDefaultCollapsedImageURLSetted()
true if the attribute "defaultCollapsedImageURL" is set.
true if the attribute is set.public String getDefaultDisabledImageURL()
public String getDefaultDisabledImageURL(FacesContext facesContext)
public void setDefaultDisabledImageURL(String defaultDisabledImageURL)
defaultDisabledImageURL - disabled image urlpublic boolean isDefaultDisabledImageURLSetted()
true if the attribute "defaultDisabledImageURL" is set.
true if the attribute is set.public String getDefaultLeafImageURL()
public String getDefaultLeafImageURL(FacesContext facesContext)
public void setDefaultLeafImageURL(String defaultLeafImageURL)
defaultLeafImageURL - leaf image urlpublic boolean isDefaultLeafImageURLSetted()
true if the attribute "defaultLeafImageURL" is set.
true if the attribute is set.public String getDefaultSelectedLeafImageURL()
public String getDefaultSelectedLeafImageURL(FacesContext facesContext)
public void setDefaultSelectedLeafImageURL(String defaultSelectedLeafImageURL)
public boolean isDefaultSelectedLeafImageURLSetted()
true if the attribute "defaultSelectedLeafImageURL" is set.
true if the attribute is set.public String getDefaultExpandedLeafImageURL()
public String getDefaultExpandedLeafImageURL(FacesContext facesContext)
public void setDefaultExpandedLeafImageURL(String defaultExpandedLeafImageURL)
public boolean isDefaultExpandedLeafImageURLSetted()
true if the attribute "defaultExpandedLeafImageURL" is set.
true if the attribute is set.public String getDefaultDisabledLeafImageURL()
public String getDefaultDisabledLeafImageURL(FacesContext facesContext)
public void setDefaultDisabledLeafImageURL(String defaultDisabledLeafImageURL)
public boolean isDefaultDisabledLeafImageURLSetted()
true if the attribute "defaultDisabledLeafImageURL" is set.
true if the attribute is set.public boolean isHideRootExpandSign()
public boolean isHideRootExpandSign(FacesContext facesContext)
public void setHideRootExpandSign(boolean hideRootExpandSign)
hideRootExpandSign - true if the head node's expand sign is to be hiddenpublic boolean isHideRootExpandSignSetted()
true if the attribute "hideRootExpandSign" is set.
true if the attribute is set.public boolean isBodyDroppable()
public boolean isBodyDroppable(FacesContext facesContext)
public void setBodyDroppable(boolean bodyDroppable)
public boolean isBodyDroppableSetted()
true if the attribute "bodyDroppable" is set.
true if the attribute is set.public Object getCursorValue()
public void setCursorValue(Object cursorValue)
public boolean isCursorValueSetted()
true if the attribute "cursorValue" is set.
true if the attribute is set.public boolean isExpansionUseValue()
public boolean isExpansionUseValue(FacesContext facesContext)
public void setExpansionUseValue(boolean expansionUseValue)
expansionUseValue - true if node identification should use node valuepublic boolean isExpansionUseValueSetted()
true if the attribute "expansionUseValue" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractInputComponentprotected String getCameliaValueAlias()
getCameliaValueAlias in class org.rcfaces.core.internal.component.CameliaInputComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||