org.rr0.is.presentation.view.report.applet.draw
Class DrawView

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--org.rr0.is.presentation.view.report.applet.draw.DrawView
Direct Known Subclasses:
SkyView

public class DrawView
extends Canvas

The displayed applet area.

Author:
Jerôme Beau
Version: 3 nov. 2003 22:59:54

Field Summary
 protected GraphicsbufferedGraphics
           
 private ImagebufferedImage
           
 final static CursorCROSS_HAIR_CURSOR
           
 final static CursorDEFAULT_CURSOR
           
 final static CursorHEIGHT_RESIZE_CURSOR
           
 private ResourceBundlemessageBundle
           
 final static CursorMOVE_CURSOR
           
 final static CursorNORTH_EAST_RESIZE_CURSOR
           
 final static CursorNORTH_WEST_RESIZE_CURSOR
           
 final static CursorSOUTH_EAST_RESIZE_CURSOR
           
 final static CursorSOUTH_WEST_RESIZE_CURSOR
           
 final static CursorWIDTH_RESIZE_CURSOR
           

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Method Summary
 voiddisplayBuffered()
           
 PopupMenugetShapeMenu(DrawSelection source, int selectedShapesCount, DrawSelection drawSelection, int mouseX, int mouseY, String selectedName)
           
 voidpaint(Graphics g)
           
 voidpaintShape(DrawShape ufoShape)
           
 voidsetMessageBundle(ResourceBundle messagesBundle)
           
 voidstart()
           
 voidupdate(Graphics g)
          Prevents flickering

Methods inherited from class java.awt.Canvas
addNotify, getAccessibleContext

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, show, hide, getForeground, setForeground, getBackground, setBackground, getFont, setFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, doLayout, layout, validate, invalidate, getGraphics, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, repaint, print, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, getComponentAt, locate, getComponentAt, deliverEvent, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getListeners, getInputMethodRequests, getInputContext, enableEvents, disableEvents, coalesceEvents, processEvent, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, removeNotify, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, paramString, toString, list, list, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

bufferedGraphics

protected Graphics bufferedGraphics

bufferedImage

private Image bufferedImage

CROSS_HAIR_CURSOR

public final static Cursor CROSS_HAIR_CURSOR

DEFAULT_CURSOR

public final static Cursor DEFAULT_CURSOR

HEIGHT_RESIZE_CURSOR

public final static Cursor HEIGHT_RESIZE_CURSOR

messageBundle

private ResourceBundle messageBundle

MOVE_CURSOR

public final static Cursor MOVE_CURSOR

NORTH_EAST_RESIZE_CURSOR

public final static Cursor NORTH_EAST_RESIZE_CURSOR

NORTH_WEST_RESIZE_CURSOR

public final static Cursor NORTH_WEST_RESIZE_CURSOR

SOUTH_EAST_RESIZE_CURSOR

public final static Cursor SOUTH_EAST_RESIZE_CURSOR

SOUTH_WEST_RESIZE_CURSOR

public final static Cursor SOUTH_WEST_RESIZE_CURSOR

WIDTH_RESIZE_CURSOR

public final static Cursor WIDTH_RESIZE_CURSOR
Method Detail

displayBuffered

public void displayBuffered()

getShapeMenu

public PopupMenu getShapeMenu(DrawSelection source, int selectedShapesCount, DrawSelection drawSelection, int mouseX, int mouseY, String selectedName)

paint

public void paint(Graphics g)

paintShape

public void paintShape(DrawShape ufoShape)

setMessageBundle

public void setMessageBundle(ResourceBundle messagesBundle)

start

public void start()

update

public void update(Graphics g)
Prevents flickering
Parameters:
g

Association Links

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Cursor

to Class java.awt.Image

to Class java.awt.Graphics

to Class java.util.ResourceBundle