@DocumentedComponent(category=TABLE_AND_TREE, ignoreFields="width", value="Tree component is responsible for display certain relation between parent and childs. This component is similar too Repeater, but relation is visible.", icon="fa fa-tree") @Control(parents={PanelGroup.class,Group.class,Column.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Repeater.class}, invalidParents=Table.class, canBeDesigned=true) @CompilationNotSupportedIterable public class Tree extends GroupingComponent<TreeElement> implements Boundable, CompactLayout, IRepeatableComponentsHolder
ACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Modifier and Type | Method and Description |
|---|---|
List<Component> |
getRepeatedComponents() |
List<TreeElement> |
getSubcomponents() |
void |
init() |
boolean |
isSelected(Object anObject) |
boolean |
isSelectionOn() |
void |
onSelectionClick(Object anObject) |
void |
processComponents() |
void |
refreshView(Set<ElementChanges> changeSet) |
void |
setBindingForNodes(ModelBinding bindingForNodes) |
protected ElementChanges |
updateView() |
addSubcomponent, getComponentStateSaver, getNonVisualSubcomponents, isProcessComponentChange, processComponentChange, removeSubcomponent, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHorizontalAlign, setInlineStyle, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPush, setStyleClasses, setVerticalAlign, setWidth, setWrapperStyle, tryParseAttributeInPixelOrPercentageUnit, tryParseAttributeInPixelUnit, tryParseAttributeInPixelUnitareModelValuesTheSame, areValuesTheSame, calculateAvailability, clone, convertBindingValueToString, convertBindingValueToString, convertValue, convertValueToString, convertValueToString, createAdHocModelBinding, equals, finalizeReading, generateId, getAccessibilityRules, getAvailability, getAvailabilityModelBinding, getAvailablityAffectingActions, getBindingContext, getEventHandler, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuedoActionForEveryRepeatedSubcomponentmove, movedoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponentisDesignActionAllowed, isDesignDeletableisModificationEventpublic Tree(Form form)
public void init()
init in class FormElementpublic void setBindingForNodes(ModelBinding bindingForNodes)
protected ElementChanges updateView()
updateView in class GroupingComponent<TreeElement>public void processComponents()
processComponents in interface IGroupingComponent<TreeElement>public void refreshView(Set<ElementChanges> changeSet)
refreshView in class FormElementpublic void onSelectionClick(Object anObject)
public boolean isSelected(Object anObject)
public boolean isSelectionOn()
public List<TreeElement> getSubcomponents()
getSubcomponents in interface IGroupingComponent<TreeElement>getSubcomponents in class GroupingComponent<TreeElement>public List<Component> getRepeatedComponents()
getRepeatedComponents in interface IRepeatableComponentsHolderCopyright © 2020. All rights reserved.