org.nakedobjects.viewer.lightweight.options
Class WindowButton
java.lang.Object
org.nakedobjects.viewer.lightweight.options.WindowButton
- All Implemented Interfaces:
- Control
- Direct Known Subclasses:
- CloseButton, IconizeButton
- public abstract class WindowButton
- extends java.lang.Object
- implements Control
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WindowButton
protected WindowButton(UserAction action)
getRequiredSize
public Size getRequiredSize()
- Specified by:
getRequiredSize in interface Control
invoke
public void invoke(Workspace frame,
View view,
Location at)
- Specified by:
invoke in interface Control
paint
public void paint(Canvas canvas)
- Specified by:
paint in interface Control
paint
public abstract void paint(Canvas canvas,
Color color)
setBounds
public void setBounds(Bounds bounds)
- Specified by:
setBounds in interface Control
getBounds
public Bounds getBounds()
- Specified by:
getBounds in interface Control
toString
public java.lang.String toString()