org.rubato.rubettes.bigbang.view.subview.multitouch
Class MTPainter

java.lang.Object
  extended by org.rubato.rubettes.bigbang.view.subview.AbstractPainter
      extended by org.rubato.rubettes.bigbang.view.subview.multitouch.MTPainter

public class MTPainter
extends AbstractPainter


Constructor Summary
MTPainter(org.mt4j.MTApplication mtApplication, org.mt4j.components.MTComponent parentComponent, org.mt4j.input.inputProcessors.componentProcessors.lassoProcessor.LassoProcessor lassoProcessor)
           
 
Method Summary
 void drawLine(double x1, double y1, double x2, double y2)
           
 void drawOval(double x, double y, double width, double height)
           
 void drawPolygon(java.awt.geom.Path2D.Double path)
           
 void drawRect(double x, double y, double width, double height)
           
 void drawString(java.lang.String str, double x, double y)
           
 void fillArc(double x, double y, double width, double height, double startAngle, double arcAngle)
           
 void fillNote(double x, double y, double width, double height)
           
 void fillOval(double x, double y, double width, double height)
           
 void fillPolygon(java.awt.geom.Path2D.Double path)
           
 void fillRect(double x, double y, double width, double height)
           
 int getStringHeight(java.lang.String s)
           
 int getStringWidth(java.lang.String s)
           
 void setColor(java.awt.Color color)
           
 void setComponent(org.mt4j.components.MTComponent parentComponent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTPainter

public MTPainter(org.mt4j.MTApplication mtApplication,
                 org.mt4j.components.MTComponent parentComponent,
                 org.mt4j.input.inputProcessors.componentProcessors.lassoProcessor.LassoProcessor lassoProcessor)
Method Detail

setComponent

public void setComponent(org.mt4j.components.MTComponent parentComponent)

setColor

public void setColor(java.awt.Color color)
Specified by:
setColor in class AbstractPainter

drawLine

public void drawLine(double x1,
                     double y1,
                     double x2,
                     double y2)
Specified by:
drawLine in class AbstractPainter

drawOval

public void drawOval(double x,
                     double y,
                     double width,
                     double height)
Specified by:
drawOval in class AbstractPainter

drawPolygon

public void drawPolygon(java.awt.geom.Path2D.Double path)
Specified by:
drawPolygon in class AbstractPainter

drawRect

public void drawRect(double x,
                     double y,
                     double width,
                     double height)
Specified by:
drawRect in class AbstractPainter

drawString

public void drawString(java.lang.String str,
                       double x,
                       double y)
Specified by:
drawString in class AbstractPainter

fillArc

public void fillArc(double x,
                    double y,
                    double width,
                    double height,
                    double startAngle,
                    double arcAngle)
Specified by:
fillArc in class AbstractPainter

fillOval

public void fillOval(double x,
                     double y,
                     double width,
                     double height)
Specified by:
fillOval in class AbstractPainter

fillPolygon

public void fillPolygon(java.awt.geom.Path2D.Double path)
Specified by:
fillPolygon in class AbstractPainter

fillRect

public void fillRect(double x,
                     double y,
                     double width,
                     double height)
Specified by:
fillRect in class AbstractPainter

fillNote

public void fillNote(double x,
                     double y,
                     double width,
                     double height)
Specified by:
fillNote in class AbstractPainter

getStringHeight

public int getStringHeight(java.lang.String s)
Specified by:
getStringHeight in class AbstractPainter

getStringWidth

public int getStringWidth(java.lang.String s)
Specified by:
getStringWidth in class AbstractPainter