Package edit

Examples of edit.MajorRecordHolderLeaf


  
   
    public void addRecordSelectedListener() {
      tree.addTreeSelectionListener(new TreeSelectionListener() {
          public void valueChanged(TreeSelectionEvent e) {
            MajorRecordHolderLeaf node = null;

            if(tree.getLastSelectedPathComponent() instanceof MajorRecordHolderLeaf) {
              node = (MajorRecordHolderLeaf)
                  tree.getLastSelectedPathComponent();
            }

            /* if nothing is selected */
            if (node == null) return;


            obs.autoUpdate(0, new MajorRecordHolder((node.getHeldObject())));

          }
        });
    }
View Full Code Here

TOP

Related Classes of edit.MajorRecordHolderLeaf

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.