|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Objectf_object
f_eventTarget
f_component
f_tree
public class f_tree
f_tree
| Field Summary |
|---|
| Fields inherited from class fa_selectionManager |
|---|
BEGIN_PHASE, END_PHASE |
| Fields inherited from class fa_cardinality |
|---|
ONEMANY_CARDINALITY, ONE_CARDINALITY, OPTIONAL_CARDINALITY, ZEROMANY_CARDINALITY |
| Fields inherited from class fa_clientFullState |
|---|
NONE_CLIENT_FULL_STATE, ONEWAY_CLIENT_FULL_STATE, TWOWAYS_CLIENT_FULL_STATE |
| Fields inherited from class f_component |
|---|
DEFAULT_HIDDEN_MODE, HIDDEN_MODE_IGNORE, HIDDEN_MODE_PHANTOM, HIDDEN_MODE_SERVER |
| Fields inherited from class HTMLElement |
|---|
className, dir, id, lang |
| Fields inherited from class Element |
|---|
tagName |
| Fields inherited from class Node |
|---|
childNodes, firstChild, lastChild, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, previousSibling |
| Method Summary | |
|---|---|
Object |
f_appendNode(Object parent,
String label,
String value,
String tooltip,
any disabled)
|
boolean |
f_check(any value,
boolean show)
Check a node. |
boolean |
f_closeNode(any value)
Close a node. |
any |
f_forEachNode(Function callBack,
any parent)
Call a callback for each loaded node. |
boolean |
f_getChecked(any value)
Returns the check state of a node. |
Number |
f_getDragEffects(any selection)
|
Array |
f_getDragItems(any selection)
|
Array |
f_getDragItemsElement(any selection)
|
Array |
f_getDragItemsValue(any selection)
|
Array |
f_getDragTypes(any selection)
|
String |
f_getElementLabel(any value)
Returns label of a node |
String[] |
f_getHierachicalValues(any value)
|
String |
f_getItemDepth(Object nodeOrValue)
|
String |
f_getItemImage(Object nodeOrValue)
Returns image of a node |
String |
f_getItemLabel(Object nodeOrValue)
Returns label of a node |
String |
f_getItemStyleClass(Object nodeOrValue)
|
Object |
f_getNodeByValue(any value)
Search a node by a specified value. |
String |
f_getNodeLabel(any value)
Returns the label of a node. |
any |
f_getNodeValue(Object node)
Returns the value of a node. |
Object |
f_getParentNode(Object node)
|
boolean |
f_isNodeDisabled(any value)
Returns the disable state of a node. |
boolean |
f_isOpened(any value)
Returns the expand state of a node. |
boolean |
f_isSelected(any value)
Returns the selection state of a node. |
Object[] |
f_listChildrenValues(any value)
Returns the value of each children of a node. |
boolean |
f_mapHierarchicalValues(Function callback,
any value)
|
boolean |
f_openNode(any value)
Open a node. |
void |
f_refreshContent(any value)
Refresh the structure of the tree. |
boolean |
f_revealAndSelectNode(any value)
|
boolean |
f_revealNode(any value)
|
boolean |
f_select(any value,
boolean append,
boolean show)
Select a node |
void |
f_setDisabledNodeImageURL(Object node,
String imageURL)
|
void |
f_setExpandedNodeImageURL(Object node,
String imageURL)
|
void |
f_setItemStyleClass(Object nodeOrValue,
String styleClass)
|
void |
f_setNodeDisabled(any value,
any disabled)
Disable or enable a tree node. |
void |
f_setNodeImageURL(Object node,
String imageURL)
|
void |
f_setSelectedNodeImageURL(Object node,
String imageURL)
|
boolean |
f_showNode(any value)
Show a node. |
boolean |
f_uncheck(any value)
Uncheck a node. |
| Methods inherited from class fa_subMenu |
|---|
f_getSubMenuById, f_listSubMenus |
| Methods inherited from class fa_autoOpen |
|---|
fa_findAutoOpenElement |
| Methods inherited from class fa_disabled |
|---|
f_isDisabled, f_setDisabled |
| Methods inherited from class fa_droppable |
|---|
f_isDroppable, f_outDropInfos, f_overDropInfos, f_queryDropInfos, f_releaseDropInfos |
| Methods inherited from class fa_scrollPositions |
|---|
f_getHorizontalScrollPosition, f_getVerticalScrollPosition, f_setHorizontalScrollPosition, f_setVerticalScrollPosition |
| Methods inherited from class fa_itemClientDatas |
|---|
f_getItemByValue, f_getItemClientData, f_getItemClientDatas, f_setItemClientData |
| Methods inherited from class fa_overStyleClass |
|---|
f_getOverStyleClass |
| Methods inherited from class fa_filterProperties |
|---|
f_getFilterProperties, f_setFilterProperties, f_setFilterProperty |
| Methods inherited from class fa_readOnly |
|---|
f_isReadOnly, f_setReadOnly |
| Methods inherited from class fa_immediate |
|---|
f_isImmediate |
| Methods inherited from class fa_checkManager |
|---|
f_getCheckedValues, f_setCheckedValues |
| Methods inherited from class fa_selectionManager |
|---|
f_getSelection, f_setSelection |
| Methods inherited from class fa_selectionProvider |
|---|
f_getSelection, f_setSelection |
| Methods inherited from class fa_draggable |
|---|
f_getDragEffects, f_getDragItems, f_getDragItemsElement, f_getDragItemsValue, f_getDragTypes, f_isDraggable |
| Methods inherited from class fa_clientData |
|---|
f_getClientData, f_getClientDataSet, f_getClientDatas, f_setClientData |
| Methods inherited from class fa_eventTarget |
|---|
f_addEventListener, f_fireEvent, f_removeEventListener |
| Methods inherited from class Element |
|---|
getAttribute, getElementsByTagName, removeAttribute, setAttribute |
| Methods inherited from class Node |
|---|
appendChild, hasChildNodes, insertBefore, removeChild, replaceChild |
| Methods inherited from class f_object |
|---|
f_getClass, toString |
| Methods inherited from class Object |
|---|
toString |
| Method Detail |
|---|
public Number f_getDragEffects(any selection)
public Array f_getDragItems(any selection)
public void f_refreshContent(any value)
value - Value of the node, or the node object.public Object[] f_listChildrenValues(any value)
value - Value of the node, or the node object.
public boolean f_revealNode(any value)
value - Value of the node, or the node object
true if the node was found.public boolean f_uncheck(any value)
value - Value of the node
true if success.public boolean f_closeNode(any value)
value - Value of the node, or the node object.
true if success.public boolean f_openNode(any value)
value - Value of the node, or the node object
true if success.
public boolean f_check(any value,
boolean show)
value - Value of the nodeshow - Node must be show after the selection.
true if success !public boolean f_isOpened(any value)
value - Value of the node, or the node object.
true if the node is expanded. (open)public boolean f_showNode(any value)
value - Value of the node, or the node object
true if the node was found.public Object f_getParentNode(Object node)
node -
public String[] f_getHierachicalValues(any value)
value - The value of a node or an element object (Use cursor value if not specified)
public boolean f_isNodeDisabled(any value)
value - Value of the node, or the node object.
public Object f_appendNode(Object parent,
String label,
String value,
String tooltip,
any disabled)
parent - Parent node. (or the tree object itself if the node is the root)label - value - tooltip -
public Object f_getNodeByValue(any value)
value - Value of the node.
public String f_getItemImage(Object nodeOrValue)
nodeOrValue -
public String f_getItemStyleClass(Object nodeOrValue)
nodeOrValue -
public void f_setExpandedNodeImageURL(Object node,
String imageURL)
node - imageURL - public boolean f_revealAndSelectNode(any value)
value - Value of the node, or the node object
true if the node was found.
public void f_setSelectedNodeImageURL(Object node,
String imageURL)
node - imageURL -
public void f_setNodeDisabled(any value,
any disabled)
value - Value of the node, or the node object.
public void f_setNodeImageURL(Object node,
String imageURL)
node - imageURL - public Array f_getDragItemsValue(any selection)
public void f_setItemStyleClass(Object nodeOrValue,
String styleClass)
nodeOrValue - styleClass - public boolean f_isSelected(any value)
value - Value of the node, or the node object.
true if the node is selected.public String f_getNodeLabel(any value)
value - Value of the node, or the node object.public boolean f_getChecked(any value)
value - Value of the node, or the node object.
true if the node is checked.public Array f_getDragItemsElement(any selection)
public void f_setDisabledNodeImageURL(Object node,
String imageURL)
node - imageURL - public Array f_getDragTypes(any selection)
public boolean f_mapHierarchicalValues(Function callback,
any value)
callback - value - The value of a node or an element object (Use cursor value if not specified)
public boolean f_select(any value,
boolean append,
boolean show)
value - Value of the node.append - Append mode.show - Node must be show after the selection.
true if success.public String f_getElementLabel(any value)
value - #f_getItemLabel(nodeOrValue)public any f_getNodeValue(Object node)
node - Node object.
public String f_getItemDepth(Object nodeOrValue)
nodeOrValue -
public any f_forEachNode(Function callBack,
any parent)
callBack - Callback called for each node !public String f_getItemLabel(Object nodeOrValue)
nodeOrValue -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||