view
Class EditToolbar.FishIcon
java.lang.Object
view.EditToolbar.FishIcon
- All Implemented Interfaces:
- javax.swing.Icon
- Enclosing class:
- EditToolbar
static class EditToolbar.FishIcon
- extends java.lang.Object
- implements javax.swing.Icon
Nested class used to drawFish the fish icon used for fish entries in the fish combo box. We construct a AFish and
then hand it off to its display object to drawFish.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_fish
private AFish _fish
_fishClassName
private java.lang.String _fishClassName
_color
private java.awt.Color _color
_width
private int _width
_height
private int _height
_da
IDisplayAdapter _da
_sa
ISecurityAdapter _sa
EditToolbar.FishIcon
public EditToolbar.FishIcon(java.lang.String fishClassName,
java.awt.Color c,
int w,
int h,
IDisplayAdapter da,
ISecurityAdapter sa)
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component comp,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon