com.didkovsky.portview
Interface PVCanvas

All Superinterfaces:
PVComponent
All Known Subinterfaces:
ScoreCanvas
All Known Implementing Classes:
MusicShapeEditorCanvas, MusicShapeEditorCanvasAWT, MusicShapeEditorCanvasSwing, PrintableScoreCanvasAWT, PVCanvasAWT, PVCanvasSwing, PVScrollbar, PVScrollbarCanvasAWT, PVScrollbarCanvasSwing, ScoreCanvasAdapter, ScoreCanvasAWT, ScoreCanvasAWTCanvas, ScoreCanvasSwing, ScoreCanvasSwingJPanel

public interface PVCanvas
extends PVComponent

com.didkovsky.portview is a Java package for creating UI components in either Swing or AWT (switchable depending on PortView.getViewFactory()) PVCanvas is an interface for a Canvas component that can be either AWT or Swing depending on ViewFactory

Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: didkovn@mail.rockefeller.edu

Method Summary
 java.awt.Graphics getGraphics()
           
 void repaint()
           
 void setCanvasSize(int w, int h)
           
 
Methods inherited from interface com.didkovsky.portview.PVComponent
addKeyListener, getBackground, getBounds, getComponent, getFont, getParent, isEnabled, removeKeyListener, setBackground, setEnabled, setFont, setLocation
 

Method Detail

getGraphics

java.awt.Graphics getGraphics()

repaint

void repaint()

setCanvasSize

void setCanvasSize(int w,
                   int h)