| java.lang.Object org.glasser.swing.BlankIcon
BlankIcon | public class BlankIcon implements Icon,java.io.Serializable(Code) | | This is a blank icon. It does no actual painting, so whatever component it is contained
by should paint the area beneath it if necessary. It's primary use is as a spacer.
|
Constructor Summary | |
public | BlankIcon() Constructs a BlankIcon with a height and width of 16 pixels. | public | BlankIcon(double size) Constructs a BlankIcon with a height and width equal to "size". |
Method Summary | |
public int | getIconHeight() Returns the icon's height. | public int | getIconWidth() Returns the icon's width. | public static void | main(String[] args) Launches a small demonstration program. | public void | paintIcon(Component c, Graphics g, int x, int y) This is an empty implementation, that does no actual painting. |
size | protected double size(Code) | | |
BlankIcon | public BlankIcon()(Code) | | Constructs a BlankIcon with a height and width of 16 pixels.
|
BlankIcon | public BlankIcon(double size)(Code) | | Constructs a BlankIcon with a height and width equal to "size".
|
getIconHeight | public int getIconHeight()(Code) | | Returns the icon's height.
an int specifying the fixed height of the icon. |
getIconWidth | public int getIconWidth()(Code) | | Returns the icon's width.
an int specifying the fixed width of the icon. |
main | public static void main(String[] args) throws Exception(Code) | | Launches a small demonstration program.
|
paintIcon | public void paintIcon(Component c, Graphics g, int x, int y)(Code) | | This is an empty implementation, that does no actual painting.
|
|
|