psdi.webclient.controls

Class BIMTree

  • All Implemented Interfaces:
    java.lang.Cloneable, DataBeanListener


    public class BIMTree
    extends Tree
    Adds the ability to pragmatically highlight a node in the tree
    • Constructor Detail

      • BIMTree

        public BIMTree()
    • Method Detail

      • initialize

        public void initialize()
        Description copied from class: Tree
        Overridden to setup the databean to use speecific dobjectName and dataattribute. Gets and stores the source control for this tree, usually when the tree is launched from the dialog. If this tree was launched from a detail menu, then capture the attributes. Also gets the properties to be used by the tree control. After the properties have been set, this method will also initialise the data bean behind the tree.
        Overrides:
        initialize in class Tree
        See Also:
        DataBean.initialize()
      • createNodes

        public void createNodes()
        Description copied from class: Tree
        Clones tree nodes based on the definition in the registry and values obtained from the HierarchicalMboSet.
        Overrides:
        createNodes in class Tree
      • setSelectedNode

        public void setSelectedNode(java.lang.String uid)
                             throws java.rmi.RemoteException,
                                    MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • setSelectedNode

        protected void setSelectedNode(java.lang.String id,
                                       boolean sendEvent)
                                throws java.rmi.RemoteException,
                                       MXException
        Recursively search all tree nodes for a not the matches the uid, and select that node
        Parameters:
        uid -
        sendEvent - True, an event is sent to select the node, false, the node is just marked as the selected node.
        Throws:
        java.rmi.RemoteException
        MXException
      • isAutoselect

        public boolean isAutoselect()
      • setAutoselect

        public void setAutoselect(boolean autoselect)