Examples of Painter


Examples of agent.Painter

            controller.writeInfo("<-- agent died: " + agent.toString());
        }
    }

    private void generatePainter(short idWorld, Cell cell, DNAparameters dnaParams, short idAgent, short progenitor) {
        Painter agent = new Painter(worlds.get(idWorld), dnaParams, cell, idAgent, progenitor);
        decorateAgent(agent);
    }
View Full Code Here

Examples of ca.eandb.jmist.framework.Painter

    private void visitMaterial() throws IOException {
      if (currentMaterialName != null) {
        Material material = Material.BLACK; // FIXME
        Shader shader = null;
        Painter ka, kd, ks, tf;

        switch (illum) {
        case 0:
          kd = getPainter("Kd");
          material = new LambertianMaterial(kd);
View Full Code Here

Examples of chunmap.view.render.Painter

  }
 
  public Map(int width, int height)
  {
      view = new ViewPort(width, height,Buffer);
      painter = new Painter(width + Buffer, height + Buffer);
      layers = new LayerCollection();
  }
View Full Code Here

Examples of chunmap.view.render.Painter

    throw new CMAssert.AssertionEexception("error on cut to tile");
  }

  private void init(int width, int height) {
    View view = new ViewPort(width, height,buffer);
    Painter painter = new Painter(width + buffer, height + buffer);

    map = new Map(view, painter);

    // Load data
    String path1=
View Full Code Here

Examples of civquest.swing.quadmap.Painter


       Coordinate c1 = paintCoord.add(cornerCoords[0]).add(quadMap.getViewportPosition());
       Coordinate c2 = paintCoord.add(cornerCoords[1]).add(quadMap.getViewportPosition());

      Painter painter = quadMap.getPainter();
        painter.drawShortestLine(c1, c2, g, true, 5);
    }
View Full Code Here

Examples of com.alee.extended.painter.Painter

    @Override
    public Component getPreview ( WebLookAndFeelDemo owner )
    {
        // Custom button painter
        // This painter only changes view on button focus and disabled state changes
        Painter painter = new SeaGlassButtonPainter ();

        // Simple button to demostrate painter in action
        WebButton button1 = new WebButton ( "Simple" );
        button1.setPainter ( painter );
        button1.setMoveIconOnPress ( false );
View Full Code Here

Examples of com.jidesoft.plaf.basic.Painter

                new ColorUIResource(VsnetUtils.getSelectedAndRolloverButtonColor(highlightColor));

        Object selectedButtonColor =
                new ColorUIResource(VsnetUtils.getSelectedButtonColor(highlightColor));

        Painter gripperPainter = new Painter() {
            public void paint(JComponent c, Graphics g, Rectangle rect, int orientation, int state) {
                Object p = UIDefaultsLookup.get("Theme.painter");
                if (p instanceof ThemePainter) {
                    ((ThemePainter) p).paintGripper(c, g, rect, orientation, state);
                }
View Full Code Here

Examples of com.jidesoft.plaf.basic.Painter

            public Object convert(Object[] obj) {
                return new ColorUIResource(VsnetUtils.getGripperForegroundColor((Color) obj[0]));
            }
        });

        Painter gripperPainter = new Painter() {
            public void paint(JComponent c, Graphics g, Rectangle rect, int orientation, int state) {
                Object p = UIDefaultsLookup.get("Theme.painter");
                if (p instanceof ThemePainter) {
                    ((ThemePainter) p).paintGripper(c, g, rect, orientation, state);
                }
View Full Code Here

Examples of com.jidesoft.plaf.basic.Painter

                case EXTENSION_STYLE_VSNET:
                case EXTENSION_STYLE_VSNET_WITHOUT_MENU:
                    VsnetMetalUtils.initComponentDefaults(uiDefaults);
                    VsnetMetalUtils.initClassDefaults(uiDefaults);

                    Painter gripperPainter = new Painter() {
                        public void paint(JComponent c, Graphics g, Rectangle rect, int orientation, int state) {
                            Office2003Painter.getInstance().paintGripper(c, g, rect, orientation, state);
                        }
                    };
View Full Code Here

Examples of com.jidesoft.plaf.basic.Painter

            }
        });

        WindowsDesktopProperty selectionBackgroundColor = new WindowsDesktopProperty("win.item.highlightColor", UIDefaultsLookup.get("controlShadow"), toolkit);

        Painter gripperPainter = new Painter() {
            public void paint(JComponent c, Graphics g, Rectangle rect, int orientation, int state) {
                Object p = UIDefaultsLookup.get("Theme.painter");
                if (p instanceof ThemePainter) {
                    ((ThemePainter) p).paintGripper(c, g, rect, orientation, state);
                }
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.