Ejemplo n.º 1
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     form2.getGraph1().Clear(Color.AntiqueWhite);
     form2.getGraph2().Clear(Color.AntiqueWhite);
     draw1   = new Sheme4(form2.getGraph1(), 10, 10);
     draw2   = new Sheme4(form2.getGraph2(), 10, 10);
     smatrix = smatrix.GetComponent();
     dmatrix = dmatrix.GetComponent();
     smatrix.setDrawer(draw1);
     dmatrix.setDrawer(draw2);
     smatrix.draw();
     dmatrix.draw();
 }
Ejemplo n.º 2
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     form2.getGraph1().Clear(Color.AntiqueWhite);
     form2.getGraph2().Clear(Color.AntiqueWhite);
     draw1   = new Sheme4(form2.getGraph1(), 10, 10);
     draw2   = new Sheme4(form2.getGraph2(), 10, 10);
     smatrix = new HideDecorator(smatrix, 1, 2);
     dmatrix = new HideDecorator(dmatrix, 1, 2);
     smatrix.setDrawer(draw1);
     dmatrix.setDrawer(draw2);
     smatrix.draw();
     dmatrix.draw();
 }
Ejemplo n.º 3
0
        public void Execute()
        {
            ManagComm.getInstance().addComm(this);
            g  = form2.getGraph1();
            g1 = form2.getGraph2();
            d  = new Sheme1(g, 10, 10);
            d1 = new Sheme1(g1, 10, 10);
            m1 = m1.GetComponent();
            m2 = m2.GetComponent();
            RecordValue c = new RecordValue(m1, m2, d, d1);

            c.record();
        }
Ejemplo n.º 4
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     m1 = new SimpleMatrix(3, 4);
     m2 = new DisperseMatrix(5, 3);
     IniciatorMatrix.fullMatrix(m1, 8, 45);
     IniciatorMatrix.fullMatrix(m2, 6, 45);
     g  = form2.getGraph1();
     g1 = form2.getGraph2();
     d  = new Sheme1(g, 10, 10);
     d1 = new Sheme1(g1, 10, 10);
     m1.setDrawer(d);
     m2.setDrawer(d1);
     m1.draw();
     m2.draw();
 }