Examples of configureScrollPaneHeaders()


Examples of com.projity.pm.graphic.chart.TimeChartPanel.configureScrollPaneHeaders()

    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;
  }
     public void activateEmptyRowHeader(boolean activate){
      scrollPane.activateEmptyRowHeader(activate);
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.