Examples of OutlineField


Examples of net.helipilot50.stocktrade.displayproject.controls.OutlineField

      } else {
        info.setSourceDataType(Constants.SD_FIELDWIDGET);
        info.setSourceData(c);
      }
    } else if (c instanceof JTree){
      OutlineField olf = (OutlineField)c.getClientProperty("qq_OutlineField");
      info.setSourceDataType(Constants.SD_NODE);
      if (olf != null){
        info.setSourceData(olf.getCurrentNode());
        info.setSourceField(olf);
      } else {
        info.setSourceData(TreeFieldCurrentNode.get((JTree)c));
      }
    } else if (c instanceof PictureField){
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.OutlineField

            JTableHeader header = lv.getTable().getTableHeader();
            if (header != null){
                header.setFont(this.value);
            }
        } else if (this._component instanceof OutlineField){
            OutlineField of = (OutlineField)this._component;
            of.setTitleFont(this.value);
        }
        if (this._component.isValid())
            this._component.invalidate();
    }
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.OutlineField

    public static void insert(Component pComponent, DisplayNode parent, DisplayNode kid, int index){
            ActionMgr.addAction(new NodeInsert(pComponent, parent, kid, index));
    }
    public void performAction() {
        if (this._component instanceof OutlineField) {
            OutlineField of = (OutlineField)this._component;
            of.getModel().insertNodeInto(kid, parent, index);
            of.getTree().expandPath(new TreePath(of.getModel().getPathToRoot(parent)));
        }else if (this._component instanceof JTree){
            JTree jt = (JTree)this._component;
            DefaultTreeModel tm = ((TreeViewModel)jt.getModel());
            tm.insertNodeInto(kid, parent, index);
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.OutlineField

     * Ths method crates an OutlineField with the Array of Columns
     * @param name
     * @param columns
     */
    public static OutlineField newOutlineField(String name, Array_Of_OutlineColumnDesc<OutlineColumnDesc> columns) {
        OutlineField olf = new OutlineField();
        olf.setName(name);
        olf.setColumnList(columns);
        return olf;
    }
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.OutlineField

          lv.selectNode(node);
        }
      }
      // TF:08/08/2009:Implemented for outline fields
      else if (this._component instanceof OutlineField) {
        OutlineField of = (OutlineField)this._component;
        of.setSelectedNodes(value);
      }
      else {
          UsageException ux = new UsageException("OutlineSelectedNodes.performAction() is not implemented");
          ErrorMgr.addError(ux);
          throw ux;
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.OutlineField

                      tree.makeVisible(new TreePath(pChild.getPath()));
                    }
                    handled = true;
                }
                else if (root instanceof OutlineField) {
                    OutlineField of = (OutlineField)root;
                    DefaultTreeModel model = (DefaultTreeModel)of.getModel();
                    model.insertNodeInto(pChild, pParent, index);
                    if (!of.isRootDisplayed()) {
                        TreePath path = new TreePath(rootNode);
                        if (pChild.isOpened()) {
                            of.getTree().expandPath(path);
                        }
                    }
                    of.nodeAdded(pChild);
                    handled = true;
                }
                else if (root instanceof ListView) {
                    ((ListView)root).insertNode(index, pChild);
                    // TF:1/2/08:Added setting of the parent explicitly
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.