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 int
dimension * dimension
is the size of the icon. -
Constructor Summary
ConstructorsConstructorDescriptionSpaceIcon
(int dimension) Creates a blank, square icon whose dimensions aredimension
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Field Details
-
dimension
dimension * dimension
is 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:
getIconHeight
in interfaceIcon
-
getIconWidth
- Specified by:
getIconWidth
in interfaceIcon
-
paintIcon
-