@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 pl.fhframework.model.forms.GroupingComponent<TreeElement>
implements pl.fhframework.model.forms.Boundable, pl.fhframework.model.forms.CompactLayout, pl.fhframework.model.forms.IRepeatableComponentsHolder
| Constructor and Description |
|---|
Tree(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
List<pl.fhframework.model.forms.Component> |
getRepeatedComponents() |
List<TreeElement> |
getSubcomponents() |
void |
init() |
boolean |
isSelected(Object anObject) |
boolean |
isSelectionOn() |
void |
onSelectionClick(Object anObject) |
void |
processComponents() |
void |
refreshView(Set<pl.fhframework.model.dto.ElementChanges> changeSet) |
void |
setBindingForNodes(pl.fhframework.binding.ModelBinding bindingForNodes) |
protected pl.fhframework.model.dto.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, updateBindingForValuedoActionForEveryRepeatedSubcomponentdoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponentpublic void init()
init in class pl.fhframework.model.forms.FormElementpublic void setBindingForNodes(pl.fhframework.binding.ModelBinding bindingForNodes)
protected pl.fhframework.model.dto.ElementChanges updateView()
updateView in class pl.fhframework.model.forms.GroupingComponent<TreeElement>public void processComponents()
processComponents in interface pl.fhframework.model.forms.IGroupingComponent<TreeElement>public void refreshView(Set<pl.fhframework.model.dto.ElementChanges> changeSet)
refreshView in class pl.fhframework.model.forms.FormElementpublic void onSelectionClick(Object anObject)
public boolean isSelected(Object anObject)
public boolean isSelectionOn()
public List<TreeElement> getSubcomponents()
getSubcomponents in interface pl.fhframework.model.forms.IGroupingComponent<TreeElement>getSubcomponents in class pl.fhframework.model.forms.GroupingComponent<TreeElement>public List<pl.fhframework.model.forms.Component> getRepeatedComponents()
getRepeatedComponents in interface pl.fhframework.model.forms.IRepeatableComponentsHolderCopyright © 2019. All rights reserved.