Package com.projity.pm.graphic.timescale

Examples of com.projity.pm.graphic.timescale.ScaledScrollPane


    timeSpreadSheet.setSpreadSheetCategory(timeSpreadsheetCategory);
    SpreadSheetFieldArray fields = getDistributionFields();
    timeSpreadSheet.setCache(cache, fields, fields.getCellStyle(),fields.getActionList());
    ((TimeSpreadSheetModel) timeSpreadSheet.getModel()).addFieldArrayListener(this);

    timeScrollPane = new ScaledScrollPane(timeSpreadSheet, coord, documentFrame,timeSpreadSheet.getRowHeight());
    timeSpreadSheet.createDefaultColumnsFromModel();
//    timeSpreadSheet.revalidate();
//    timeSpreadSheet.repaint();
    if (project.isReadOnly())
      timeSpreadSheet.setEnabled(false);
View Full Code Here


  protected JScrollPane createRightScrollPane() {
    TimeChartPanel chartPanel = new TimeChartPanel(chartInfo);
    chartPanel.setPreferredSize(new Dimension(0,0)); //to avoid initial vertical scroll bar
    chartInfo.setChartPanel(chartPanel);
    scrollPane = new ScaledScrollPane(chartPanel, chartInfo.getCoord(),documentFrame,10);
    chartInfo.getAxisPanel().setPreferredSize(new Dimension(GraphicConfiguration.getInstance().getRowChartHeaderWidth(),(int)chartPanel.getPreferredSize().getHeight()));
     chartPanel.configureScrollPaneHeaders(scrollPane,chartInfo.getAxisPanel());
    chartInfo.setChartPanel(chartPanel);
    return scrollPane;
  }
View Full Code Here

   }
   protected JScrollPane createRightScrollPane() {
    gantt=new Gantt(project,"Gantt");
    gantt.setCache(cache);
    gantt.setBarStyles((BarStyles) Dictionary.get(BarStyles.category,"standard"));
    ganttScrollPane=new ScaledScrollPane(gantt,coord,documentFrame,spreadSheet.getRowHeight());
    return ganttScrollPane;
    }
View Full Code Here

TOP

Related Classes of com.projity.pm.graphic.timescale.ScaledScrollPane

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.