List of usage examples for javax.swing Icon interface-usage
From source file Main.java
class MyIcon implements Icon { public int getIconWidth() { return 32; } public int getIconHeight() {
From source file Main.java
class PieIcon implements Icon { Color color; public PieIcon(Color c) { color = c; }
From source file IconInterfaceDemo.java
class ColoredSquare implements Icon { Color color; public ColoredSquare(Color color) { this.color = color; }
From source file Main.java
class ElliptIcon implements Icon { private int w, h; private Color color; public ElliptIcon(int w, int h, Color color) { this.w = w;
From source file Main.java
class TreeIcon implements Icon { private static int SIZE = 0; public TreeIcon() { }
From source file EmptyIcon.java
/** * An empty icon with arbitrary width and height. */ public final class EmptyIcon implements Icon { private int width;
From source file Main.java
class MyIcon implements Icon { public int getIconWidth() { return 32; } public int getIconHeight() {
From source file TestOval.java
class OvalIcon implements Icon { private int width, height; public OvalIcon(int w, int h) { width = w;
From source file MainClass.java
class MyIcon implements Icon { public int getIconWidth() { return 32; } public int getIconHeight() {
From source file ProxyTester.java
class ImageProxy implements Icon { public ImageProxy(String name) { this.name = name; image = null; }