java.awt
Class Canvas

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
All Implemented Interfaces:
ImageObserver
Direct Known Subclasses:
ImageItem, ProgressBar

public class Canvas
extends Component

A component for custom drawing by overriding the paint method


Constructor Summary
Canvas()
           
 
Methods inherited from class java.awt.Component
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, contains, dispatchEvent, enableEvents, findComponentAt, getBackground, getBounds, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getLocationOnScreen, getMaximumSize, getMinimumSize, getParent, getPreferredSize, getSize, getWidth, getX, getY, hasFocus, invalidate, isEnabled, isFocusTraversable, isValid, isVisible, paint, paintAll, processEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, repaint, repaint, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setLocation, setSize, setSize, setVisible, update, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Canvas

public Canvas()