com.inet.html
Interface ViewPainter

All Superinterfaces:
java.lang.Cloneable

public interface ViewPainter
extends java.lang.Cloneable

handles paint commands


Method Summary
 java.lang.Object clone()
          Creates and Returns a copy of this object.
 boolean paint(java.awt.Graphics g, java.awt.Shape s)
          handles the paint, then returns whether to run the default painting or not.
 

Method Detail

paint

boolean paint(java.awt.Graphics g,
              java.awt.Shape s)
handles the paint, then returns whether to run the default painting or not.
NOTE: is only meant to be called for "low-level" views without children.

Parameters:
g - graphics
s - allocated shape to paint in
Returns:
true if painting can continue, false if this view should not actually paint itself

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates and Returns a copy of this object.

Returns:
a copy of this object
Throws:
java.lang.CloneNotSupportedException - Thrown if clone() is not supported by the implementation