|
jfract V1.0a | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfract.abstractBeans.AbstractPointAttractor
the henon attractor
| Field Summary | |
private boolean |
alive
|
private boolean |
erase
|
private java.awt.Graphics |
gfx
The graphics object |
private java.awt.image.BufferedImage |
img
|
private JBeanable |
jBeanable
|
private Location |
location
|
protected double |
magnificationX
|
protected double |
magnificationY
|
private java.lang.Thread |
me
|
private PointDouble |
point
|
private java.util.Vector |
point_vector
|
private PointDouble |
pointToDraw
|
private int |
size
|
private int |
sleepTime
|
private double |
zoomFactor
|
| Constructor Summary | |
AbstractPointAttractor()
|
|
| Method Summary | |
void |
animate()
|
private void |
createImg()
Create the image |
void |
drawBean(java.awt.Graphics g)
Draw the bean in the BeanPanel |
void |
drawPoint(PointDouble point)
|
void |
erasePoint(PointDouble point)
|
void |
fillVector()
|
java.awt.Graphics |
getGfx()
|
JBeanable |
getJBeanable()
|
Location |
getLocation()
|
double |
getMagnificationX()
|
double |
getMagnificationY()
|
int |
getSize()
|
int |
getSleepTime()
|
double |
getZoomFactor()
|
void |
initComponant()
Define here the way you put the componant in the BeanPanel container Object |
void |
mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse has been clicked on a component. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(java.awt.event.MouseEvent e)
Invoked when the mouse exits a component. |
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component. |
void |
reDrawBean()
redraw bean used to refresh the BeanPanel |
void |
run()
When an object implementing interface Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread.
|
void |
setLocation(Location location)
|
void |
setMagnificationX(double magnificationX)
|
void |
setMagnificationY(double magnificationY)
|
void |
setSize(int size)
|
void |
setSleepTime(int sleepTime)
|
void |
setZoomFactor(double zoomFactor)
|
void |
stopAnimate()
|
void |
updateImg()
|
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface org.jfract.abstractBeans.MapPointAttractor |
getDefaultLocation, getFirstPoint, getNextPoint, getProjection |
| Field Detail |
private JBeanable jBeanable
private java.lang.Thread me
private boolean alive
private java.util.Vector point_vector
private PointDouble point
private PointDouble pointToDraw
private boolean erase
private java.awt.image.BufferedImage img
private Location location
private java.awt.Graphics gfx
protected double magnificationX
protected double magnificationY
private int size
private int sleepTime
private double zoomFactor
| Constructor Detail |
public AbstractPointAttractor()
| Method Detail |
public void setMagnificationX(double magnificationX)
public void setMagnificationY(double magnificationY)
public java.awt.Graphics getGfx()
public void setLocation(Location location)
public Location getLocation()
public double getMagnificationX()
public double getMagnificationY()
public void setSleepTime(int sleepTime)
public int getSleepTime()
public void setSize(int size)
public int getSize()
public double getZoomFactor()
public void setZoomFactor(double zoomFactor)
public void fillVector()
public void run()
Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread.
The general contract of the method run is that it may
take any action whatsoever.
run in interface java.lang.RunnableThread.run()public void drawPoint(PointDouble point)
public void erasePoint(PointDouble point)
private void createImg()
public JBeanable getJBeanable()
getJBeanable in interface JBeanableGetablepublic void updateImg()
public void drawBean(java.awt.Graphics g)
BeanPanelManagabledrawBean in interface BeanPanelManagablepublic void reDrawBean()
BeanPanelManagablereDrawBean in interface BeanPanelManagablepublic void initComponant()
BeanPanelManagableinitComponant in interface BeanPanelManagablepublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void animate()
public void stopAnimate()
|
jfract V1.0a | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||