private static class McvToolbarEditor.SpaceIcon extends Object implements Icon
SpaceIcon is a class that represents a "space" entry
in the TwoListPanel that holds the current toolbar actions.
Probably only of use in McvToolbarEditor.IconCellRenderer.
| Modifier and Type | Field and Description |
|---|---|
private int |
dimension
dimension * dimension is the size of the icon. |
| Constructor and Description |
|---|
McvToolbarEditor.SpaceIcon(int dimension)
Creates a blank, square icon whose dimensions are
dimension |
private final int dimension
dimension * dimension is the size of the icon.public McvToolbarEditor.SpaceIcon(int dimension)
dimensiondimension - Icon dimensions.IllegalArgumentException - if dimension is less than or equal
zero.public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Icon