Package 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: nick@didkovsky.com
-
Method Summary
Modifier and Type Method Description 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, getLocation, getParent, isEnabled, removeKeyListener, setBackground, setEnabled, setFont, setLocation
-
Method Details
-
getGraphics
java.awt.Graphics getGraphics() -
repaint
void repaint() -
setCanvasSize
void setCanvasSize(int w, int h)
-