sound.zrs.synth
Class AdderView

java.lang.Object
  extended by sound.zrs.synth.AdderView
All Implemented Interfaces:
PropertiesObserver

public class AdderView
extends java.lang.Object


Field Summary
 java.awt.Point centerPoint
           
 
Constructor Summary
AdderView(sound.zrs.synth.SynthComponent pa)
           
 
Method Summary
 void calcRects()
           
 void connectGenerator(SynthesizerGeneratorModel synth)
           
 void draw(java.awt.Graphics g)
           
 java.awt.Point getNearestEdge(java.awt.Point p)
           
 PropertiesDialog getProperties()
           
 void hideProperties()
           
 boolean inBorder(int x, int y)
           
 boolean inside(int x, int y)
           
 void newGenerator(SynthesizerGeneratorModel synth)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

centerPoint

public java.awt.Point centerPoint
Constructor Detail

AdderView

public AdderView(sound.zrs.synth.SynthComponent pa)
Method Detail

newGenerator

public void newGenerator(SynthesizerGeneratorModel synth)

connectGenerator

public void connectGenerator(SynthesizerGeneratorModel synth)
                      throws SynthIfException
Throws:
SynthIfException

calcRects

public void calcRects()

inside

public boolean inside(int x,
                      int y)

inBorder

public boolean inBorder(int x,
                        int y)

getNearestEdge

public java.awt.Point getNearestEdge(java.awt.Point p)

getProperties

public PropertiesDialog getProperties()

draw

public void draw(java.awt.Graphics g)

hideProperties

public void hideProperties()
Specified by:
hideProperties in interface PropertiesObserver