public class TreeBase<T> extends ControlBase implements AppTree<T>
anchor, contextMenu, parent, path, peer, peerType, properties| Constructor and Description |
|---|
TreeBase(String id,
Class itemType,
Class<? extends AppComponent> componentType,
Class<? extends AppComponentPeer> peerType,
Application app) |
| Modifier and Type | Method and Description |
|---|---|
AppTreeNode<T> |
addChild(AppTreeNode<T> parent,
Object child,
int index) |
net.thevpc.common.props.WritableValue<TreeNodeChildrenFactory<T>> |
childrenFactory() |
AppTreeNode<T> |
copy(AppTreeNode<T> node) |
AppTreeNode<T> |
findNode(Object[] path) |
net.thevpc.common.props.WritableValue<AppTreeItemRenderer<T>> |
itemRenderer() |
Class |
itemType() |
net.thevpc.common.props.WritableValue<AppTreeMutator<T>> |
mutator() |
net.thevpc.common.props.WritableValue<TreeNodeFactory<T>> |
nodeFactory() |
TreeNode<T> |
nodeOf(T value) |
TreeNode<T> |
nodeOf(T value,
TreeNodeFactory<T> nf,
TreeNodeChildrenFactory<T> cf) |
AppTreePeer |
peer() |
AppTreeNode<T> |
removeChild(AppTreeNode<T> parent,
int childIndex) |
net.thevpc.common.props.WritableValue<AppTreeNode<T>> |
root() |
net.thevpc.common.props.WritableBoolean |
rootVisible() |
net.thevpc.common.props.WritableListSelection<AppTreeNode<T>> |
selection() |
void |
updateChild(AppTreeNode<T> parent,
int index) |
accelerator, active, anchor, app, backgroundColor, bounds, childConstraints, componentType, contextMenu, copy, copyDefault, createListeners, editable, editing, enabled, events, focused, foregroundColor, icon, iconConfig, iconSet, id, largeIcon, locale, mnemonic, opaque, order, parent, parentConstraints, path, peer, peerType, prefSize, prepareUnshowing, properties, requestFocus, resolveDefaultComponentConstructor, setOptions, setParent, setPeer, shown, title, titleStyle, tooltip, updateUI, visiblefullPropertyName, parentProperty, propagateEvents, propertyName, propertyType, toString, userObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccelerator, active, anchor, app, backgroundColor, bounds, childConstraints, componentType, contextMenu, copy, editable, editing, enabled, events, focused, foregroundColor, icon, iconConfig, iconSet, id, largeIcon, locale, mnemonic, opaque, order, parent, parentConstraints, path, peer, peerType, prefSize, properties, requestFocus, setOptions, shown, title, titleStyle, tooltip, visiblegetChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, readOnly, userObjects, with, withpublic TreeBase(String id, Class itemType, Class<? extends AppComponent> componentType, Class<? extends AppComponentPeer> peerType, Application app)
public net.thevpc.common.props.WritableValue<TreeNodeChildrenFactory<T>> childrenFactory()
public net.thevpc.common.props.WritableValue<TreeNodeFactory<T>> nodeFactory()
public net.thevpc.common.props.WritableValue<AppTreeNode<T>> root()
public net.thevpc.common.props.WritableListSelection<AppTreeNode<T>> selection()
public net.thevpc.common.props.WritableBoolean rootVisible()
rootVisible in interface AppTree<T>public net.thevpc.common.props.WritableValue<AppTreeMutator<T>> mutator()
public AppTreeNode<T> findNode(Object[] path)
public net.thevpc.common.props.WritableValue<AppTreeItemRenderer<T>> itemRenderer()
itemRenderer in interface AppTree<T>public TreeNode<T> nodeOf(T value, TreeNodeFactory<T> nf, TreeNodeChildrenFactory<T> cf)
public AppTreeNode<T> addChild(AppTreeNode<T> parent, Object child, int index)
public AppTreeNode<T> removeChild(AppTreeNode<T> parent, int childIndex)
removeChild in interface AppTree<T>public void updateChild(AppTreeNode<T> parent, int index)
updateChild in interface AppTree<T>public AppTreeNode<T> copy(AppTreeNode<T> node)
public AppTreePeer peer()
peer in interface AppComponentpeer in class ComponentBaseCopyright © 2021 vpc open source initiative. All rights reserved.