|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.view.MusicShapeEditorCanvas
public class MusicShapeEditorCanvas
A canvas on which to draw on dimension of one shape
Method Summary | |
---|---|
void |
addKeyListener(java.awt.event.KeyListener l)
|
void |
clearRange()
|
boolean |
equals(java.lang.Object arg0)
|
java.awt.Color |
getBackground()
|
java.awt.Rectangle |
getBounds()
|
java.awt.Component |
getComponent()
|
int |
getDimension()
|
int |
getEndIndex()
|
java.awt.Font |
getFont()
|
java.awt.Graphics |
getGraphics()
|
int |
getHeight()
|
java.awt.Container |
getParent()
|
int |
getRangeEndIndex()
|
int |
getRangeStartIndex()
|
int |
getRangeX1()
|
int |
getRangeX2()
|
double |
getScaleMax()
|
double |
getScaleMin()
|
double |
getShapeMax()
|
double |
getShapeMin()
|
boolean |
getShowGrid()
|
int |
getStartIndex()
|
int |
getWidth()
|
double |
getZoom()
|
int |
hashCode()
|
boolean |
isEnabled()
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
removeKeyListener(java.awt.event.KeyListener l)
|
void |
repaint()
|
void |
setBackground(java.awt.Color color)
|
void |
setCanvasSize(int w,
int h)
|
void |
setDimension(int d)
set the dimension of the shape to draw, and redraw |
void |
setEnabled(boolean b)
|
void |
setEndIndex(int i)
set the ending index of the shape that ends at far right of canvas |
void |
setFont(java.awt.Font font)
|
void |
setLocation(int x,
int y)
|
void |
setShowGrid(boolean b)
|
void |
setStartIndex(int i)
set the starting index of the shape that begins at far left of canvas |
void |
setZoom(double z)
|
java.lang.String |
toString()
|
void |
updateMinMaxLabels()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void setShowGrid(boolean b)
public boolean getShowGrid()
public void setZoom(double z)
public double getZoom()
public void setDimension(int d)
public int getDimension()
public double getShapeMin()
public double getShapeMax()
public double getScaleMin()
public double getScaleMax()
public void setStartIndex(int i)
public void setEndIndex(int i)
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public int hashCode()
hashCode
in class java.lang.Object
public java.awt.Rectangle getBounds()
getBounds
in interface PVComponent
public java.lang.String toString()
toString
in class java.lang.Object
public void addKeyListener(java.awt.event.KeyListener l)
addKeyListener
in interface PVComponent
l
- public void setCanvasSize(int w, int h)
setCanvasSize
in interface PVCanvas
w
- h
- public java.awt.Container getParent()
getParent
in interface PVComponent
public void repaint()
repaint
in interface PVCanvas
public void setLocation(int x, int y)
setLocation
in interface PVComponent
x
- y
- public boolean isEnabled()
isEnabled
in interface PVComponent
public void setEnabled(boolean b)
setEnabled
in interface PVComponent
b
- public java.awt.Graphics getGraphics()
getGraphics
in interface PVCanvas
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public void removeKeyListener(java.awt.event.KeyListener l)
removeKeyListener
in interface PVComponent
l
- public java.awt.Component getComponent()
getComponent
in interface PVComponent
public void updateMinMaxLabels()
public int getStartIndex()
public int getEndIndex()
public java.awt.Color getBackground()
getBackground
in interface PVComponent
public void setBackground(java.awt.Color color)
setBackground
in interface PVComponent
color
- public int getHeight()
public int getWidth()
public void setFont(java.awt.Font font)
setFont
in interface PVComponent
public java.awt.Font getFont()
getFont
in interface PVComponent
public int getRangeEndIndex()
public int getRangeStartIndex()
public int getRangeX1()
public int getRangeX2()
public void clearRange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |