Examples of ImageSource


Examples of de.ailis.jollada.model.ImageSource

    public ImageSource build()
    {
        if (this.ref == null)
            throw new IllegalStateException("ref not set");
        final ImageSource source = new ImageSource(this.ref);
        source.setGenerateMips(this.generateMips);
        return source;
    }
View Full Code Here

Examples of gistoolkit.display.renderer.images.ImageSource

    public void setImage(String inImageFileName) throws Exception{
        File tempFile = new File(inImageFileName);
        Image tempImage = null;
        if (!tempFile.exists()){
            // check for it in the images folder
            ImageSource tempImageSource = new ImageSource();
            tempImage = tempImageSource.getImage(inImageFileName);
            if (tempImage == null){
                throw new Exception ("File "+inImageFileName+" was not found.");
            }
            myImageFileName = inImageFileName;
        }
View Full Code Here

Examples of gistoolkit.display.renderer.images.ImageSource

        String tempImagePath = inRenderer.getImageFileName();
        if (tempImagePath == null){
            myTextFieldLocation.setText("");

            // set the default image
            ImageSource tempImageSource = new ImageSource();
            myImagePath = myIconList[0];
            myImagePanel.setImage(tempImageSource.getImage(myImagePath));
        }
        else{
            myImagePath = tempImagePath;
            boolean tempFound = false;
            for (int i=0; i<myIconList.length; i++){
View Full Code Here

Examples of gistoolkit.display.renderer.images.ImageSource

       
        c.gridx = 0;
        c.gridy = 0;
        c.gridwidth = 3;
        tempPanel.add(myComboImages, c);
        ImageSource tempImageSource = new ImageSource();
        for (int i=0; i<myIconList.length; i++){
            myComboImages.addItem(tempImageSource.getIcon(myIconList[i]));
        }
        myComboImages.addItemListener(myListener);
        c.gridwidth = 1;
       
        // create the type in box for the filename
View Full Code Here

Examples of gistoolkit.display.renderer.images.ImageSource

            }
        }
               
        public void itemStateChanged(java.awt.event.ItemEvent itemEvent) {
            // retreave the image
            ImageSource tempImageSource = new ImageSource();
            myImagePath = myIconList[myComboImages.getSelectedIndex()];
            myImagePanel.setImage(tempImageSource.getImage(myImagePath));
        }
View Full Code Here

Examples of gistoolkit.display.shader.images.ImageSource

        myComboLineWidth.addItem(LINEWIDTH10);
        tempPanel.add(myComboLineWidth, c);
        c.gridwidth = 1;
       
        // Line Style
        ImageSource tempImageSource = new ImageSource();
        c.gridx = 0;
        c.gridy++;
        tempPanel.add(new JLabel("Line Style"), c);
        c.gridx++;
        c.gridwidth = 2;
        for (int i=0; i<myIconList.length; i++){
            myComboLineStyle.addItem(tempImageSource.getIcon(myIconList[i]));
        }
        tempPanel.add(myComboLineStyle, c);
        c.gridwidth = 1;
       
        // Fill Color
View Full Code Here

Examples of gistoolkit.display.shader.images.ImageSource

        myComboLineWidth.addItem(LINEWIDTH10);
        add(myComboLineWidth, c);
        c.gridwidth = 1;
       
        // Line Style
        ImageSource tempImageSource = new ImageSource();
        c.gridx = 0;
        c.gridy++;
        add(new JLabel("Line Style"), c);
        c.gridx++;
        c.gridwidth = 2;
        for (int i=0; i<myIconList.length; i++){
            myComboLineStyle.addItem(tempImageSource.getIcon(myIconList[i]));
        }
        add(myComboLineStyle, c);
        c.gridwidth = 1;
       
        // the combo to select the bin column
View Full Code Here

Examples of gistoolkit.display.shader.images.ImageSource

        myComboLineWidth.addItem(LINEWIDTH10);
        add(myComboLineWidth, c);
        c.gridwidth = 1;
       
        // Line Style
        ImageSource tempImageSource = new ImageSource();
        c.gridx = 0;
        c.gridy++;
        add(new JLabel("Line Style"), c);
        c.gridx++;
        c.gridwidth = 2;
        for (int i=0; i<myIconList.length; i++){
            myComboLineStyle.addItem(tempImageSource.getIcon(myIconList[i]));
        }
        add(myComboLineStyle, c);
        c.gridwidth = 1;
       
        // the combo to select the column
View Full Code Here

Examples of gistoolkit.display.shader.images.ImageSource

        myComboLineWidth.addItem(LINEWIDTH10);
        add(myComboLineWidth, c);
        c.gridwidth = 1;
       
        // Line Style
        ImageSource tempImageSource = new ImageSource();
        c.gridx = 0;
        c.gridy++;
        add(new JLabel("Line Style"), c);
        c.gridx++;
        c.gridwidth = 2;
        for (int i=0; i<myIconList.length; i++){
            myComboLineStyle.addItem(tempImageSource.getIcon(myIconList[i]));
        }
        add(myComboLineStyle, c);
        c.gridwidth = 1;
       
        // the combo to select the column
View Full Code Here

Examples of gistoolkit.server.mapclient.images.ImageSource

    /** Testing. */
    public static void main(String[] inArgs){
        JDialog tempDialog = new JDialog();
        tempDialog.setModal(true);
        ImagePanel tempImagePanel = new ImagePanel();
        tempImagePanel.setImage(new ImageSource().getImage("g.png"));
        tempImagePanel.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
        tempDialog.setContentPane(tempImagePanel);
        tempDialog.setSize(200,200);
        tempDialog.setTitle("Testing the ImagePanel");
        tempDialog.show();
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.