Package edu.wisc.ssec.mcidasv.ui
Class McvToolbarEditor.SpaceIcon
java.lang.Object
edu.wisc.ssec.mcidasv.ui.McvToolbarEditor.SpaceIcon
- All Implemented Interfaces:
Icon
- Enclosing class:
McvToolbarEditor
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intdimension * dimensionis the size of the icon. -
Constructor Summary
ConstructorsConstructorDescriptionSpaceIcon(int dimension) Creates a blank, square icon whose dimensions aredimension -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
Field Details
-
dimension
dimension * dimensionis the size of the icon.
-
-
Constructor Details
-
SpaceIcon
Creates a blank, square icon whose dimensions aredimension- Parameters:
dimension- Icon dimensions.- Throws:
IllegalArgumentException- if dimension is less than or equal zero.
-
-
Method Details
-
getIconHeight
- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
- Specified by:
getIconWidthin interfaceIcon
-
paintIcon
-