Package com.projity.pm.graphic.spreadsheet.renderer

Examples of com.projity.pm.graphic.spreadsheet.renderer.NameCellComponent


    // if (isEditing() && getEditingColumn() == columnModel.getNameIndex()
    // && editorComp != null) {

    if (isEditing() && editorComp != null && ((SpreadSheetModel) getModel()).getFieldInColumn(getEditingColumn() + 1).isNameField()) {
      NameCellComponent c = (NameCellComponent) editorComp;
      SpreadSheetModel model = (SpreadSheetModel) getModel();
      // GraphicNode node = model.getNode(row);
      if (model.getCellProperties(node).isCompositeIcon())
        c.setCollapsed(node.isCollapsed());
    }
  }
View Full Code Here


//        System.out.println("editing cell at " + row + " " + column);
        Component comp;
        boolean nameCell=false;
        if (editorComp instanceof NameCellComponent){
          nameCell=true;
            NameCellComponent nameCellComp=(NameCellComponent)editorComp;
            comp=nameCellComp.getTextComponent();
          }else
            comp=editorComp;

        if (comp instanceof KeyboardFocusable)
          ((KeyboardFocusable)comp).selectAll(e == null);
View Full Code Here

TOP

Related Classes of com.projity.pm.graphic.spreadsheet.renderer.NameCellComponent

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.