ks.common.view
Class EmptyWidget

java.lang.Object
  extended byks.common.view.Widget
      extended byks.common.view.EmptyWidget
All Implemented Interfaces:
ElementListener

public class EmptyWidget
extends Widget

To simplify some algorithms, an EmptyWidget object is a sentinel that can be used to identify no Widget at all (rather than use null).

An empty widget has no model, has no name, and is no listener. Creation date: (10/4/01 5:32:23 PM)


Constructor Summary
EmptyWidget()
          EmptyWidget constructor comment.
 
Method Summary
 void redraw()
          Empty Widget has nothing to draw!
 
Methods inherited from class ks.common.view.Widget
getBounds, getCardImages, getContainer, getHeight, getImage, getModelElement, getMouseManager, getName, getWidth, getX, getXY, getY, inBounds, isDirty, modelChanged, paint, paint, paint, refresh, refresh, returnWidget, setBounds, setBounds, setContainer, setDirty, setHeight, setImage, setMouseAdapter, setMouseManager, setMouseMotionAdapter, setName, setUndoAdapter, setWidth, setX, setXY, setY, toString, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyWidget

public EmptyWidget()
EmptyWidget constructor comment.

Method Detail

redraw

public void redraw()
Empty Widget has nothing to draw!

Specified by:
redraw in class Widget