gzz.vob.buoy
Class AbstractBuoy
java.lang.Object
|
+--gzz.vob.buoy.AbstractBuoy
- All Implemented Interfaces:
- Buoy
- public abstract class AbstractBuoy
- extends java.lang.Object
- implements Buoy
A simple defalt implementatio of buoy methods.
Constructor Summary |
AbstractBuoy(java.awt.Point anchor,
java.awt.Dimension prefSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gzz.vob.buoy.Buoy |
put |
AbstractBuoy
public AbstractBuoy(java.awt.Point anchor,
java.awt.Dimension prefSize)
getAnchor
public java.awt.Point getAnchor()
- Specified by:
getAnchor
in interface Buoy
setAnchor
public void setAnchor(java.awt.Point anchor)
getPreferredSize
public java.awt.Dimension getPreferredSize(java.awt.Dimension dim)
- Specified by:
getPreferredSize
in interface Buoy
setPreferredSize
public void setPreferredSize(java.awt.Dimension dim)