| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
bookExamples.ch26Graphics.draw2d.SineFcn
public class SineFcn
| Constructor Summary | |
|---|---|
| SineFcn() | |
| SineFcn(double amplitude,
        double dcOffset,
        double frequency) | |
| Method Summary | |
|---|---|
|  java.awt.Component | getCustomEditor() | 
|  java.awt.geom.Point2D | getPoint(double t)Fcn of one variable that returns a locus of points | 
|  boolean | supportsCustomEditor()Determines whether the propertyEditor can provide a custom editor. | 
|  void | update() | 
| Methods inherited from class java.beans.PropertyEditorSupport | 
|---|
| addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource, setValue | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface java.beans.PropertyEditor | 
|---|
| addPropertyChangeListener, getAsText, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue | 
| Constructor Detail | 
|---|
public SineFcn()
public SineFcn(double amplitude,
               double dcOffset,
               double frequency)
| Method Detail | 
|---|
public boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorsupportsCustomEditor in class java.beans.PropertyEditorSupportpublic void update()
public java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorgetCustomEditor in class java.beans.PropertyEditorSupportpublic java.awt.geom.Point2D getPoint(double t)
Fcn1
getPoint in interface Fcn1t - - ranging from 0 to 1 inclusive
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||