Java BufferedImage Operation setLockImage(BufferedImage image)

Here you can find the source of setLockImage(BufferedImage image)

Description

Sets a small lock image to use when creating cycle buttons.

License

Open Source License

Declaration

public static void setLockImage(BufferedImage image) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.awt.image.BufferedImage;

public class Main {
    private static BufferedImage lockImage = null;

    /**/*from w ww . j  a  v a 2 s.  c  om*/
     * Sets a small lock image to use when creating cycle buttons.
     */
    public static void setLockImage(BufferedImage image) {
        lockImage = image;
    }
}

Related

  1. setBGRPixels(byte[] bgrPixels, BufferedImage img, int x, int y, int w, int h)
  2. setBrightnessFactor(BufferedImage img, float multiple, BufferedImage dest)
  3. setColor(BufferedImage image, int x, int y, int[] color, String colorModel)
  4. setCompressionType(ImageWriteParam param, BufferedImage image)
  5. setImageIntPixels(BufferedImage image, boolean allowDeoptimizingDirectRead, IntBuffer pixels)
  6. setLuminance(BufferedImage image, int x, int y, float value)
  7. setPixel(BufferedImage img, int x, int y, int c)
  8. setPoint(BufferedImage image, int x, int y, int factor, Color color)
  9. showColors(BufferedImage image, boolean alpha, boolean red, boolean green, boolean blue)