Examples of STPComponent


Examples of com.gmail.jafelds.ppedits.gui.components.STPComponent

     
      b = sqlite.getStopsBySong(sName);
      for (Map.Entry<Double, Double> c : b.entrySet())
      {
        double be = c.getKey();
        STPComponent bc = new STPComponent(col, c.getValue());
        int sY = (int)(ARROW_SIZE - 7 + be * ARROW_SIZE);
       
        int sX = 0;
        if (col == 5)
        {
          sX = (int)(ARROW_SIZE * 2.5);
        }
        else if (col == 6)
        {
          sX = ARROW_SIZE * 2;
        }
       
        bc.setBounds(sX, sY, nX, nY);
        bc.setPreferredSize(d);
        bc.setSize(d);
        bc.setMaximumSize(d);
        bc.setMinimumSize(d);
       
        stps.put(be, bc);
        stepChart.add(bc);
        stepChart.setLayer(bc, 2000);
      }
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.