|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object perceptron.ControlSet
public class ControlSet
CursorSet.java Created on January 18, 2007, 2:55 AM
Constructor Summary | |
---|---|
ControlSet(Perceptron Cursor_percept,
Preset[] user_presets)
|
Method Summary | |
---|---|
void |
advance(int framerate)
|
void |
apply_preset(int preset)
|
void |
drawAll(java.awt.Graphics G)
Draw all active controls |
void |
initialise_cursors()
Cursor initialisation |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
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 |
moveAll(java.awt.event.MouseEvent e)
Tells all the cursors to safely update to the same mouseEvent. |
void |
setAlphaCursor(double x,
double y)
|
void |
setAudio(boolean active)
|
void |
setBranchingCursor(double x,
double y)
|
void |
setBranchLengthCursor(double x,
double y)
|
void |
setContrastCursor(double x,
double y)
|
void |
setFractal(boolean active)
|
void |
setGradientCursor(double x,
double y)
|
void |
setLife(boolean active)
|
void |
setMapCursor(double x,
double y)
|
void |
setMapRotationCursor(double x,
double y)
|
void |
setTree(boolean active)
|
void |
setTreeLocationCursor(double x,
double y)
|
void |
setTreeOrientationCursor(double x,
double y)
|
void |
toggle_screensaver_mode()
|
double |
XAlphaCursor()
|
double |
XBranchingCursor()
|
double |
XBranchLengthCursor()
|
double |
XContrastCursor()
|
double |
XGradintCursor()
|
double |
XMapCursor()
|
double |
XMapRotationCursor()
|
double |
XTreeLocationCursor()
|
double |
XTreeOrientationCursor()
|
double |
YAlphaCursor()
|
double |
YBranchingCursor()
|
double |
YBranchLengthCursor()
|
double |
YContrastCursor()
|
double |
YGradintCursor()
|
double |
YMapCursor()
|
double |
YMapRotationCursor()
|
double |
YTreeLocationCursor()
|
double |
YTreeOrientationCursor()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlSet(Perceptron Cursor_percept, Preset[] user_presets)
Cursor_percept
- user_presets
- Method Detail |
---|
public void initialise_cursors()
public void moveAll(java.awt.event.MouseEvent e)
e
- public void advance(int framerate)
framerate
- public void drawAll(java.awt.Graphics G)
G
- graphics drawing contextpublic void toggle_screensaver_mode()
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
e
- public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
e
- public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
e
- public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
e
- public void apply_preset(int preset)
preset
- public void setAudio(boolean active)
active
- public void setFractal(boolean active)
active
- public void setTree(boolean active)
active
- public void setLife(boolean active)
active
- public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- public double XBranchingCursor()
public double XAlphaCursor()
public double XBranchLengthCursor()
public double XTreeOrientationCursor()
public double XMapCursor()
public double XMapRotationCursor()
public double XGradintCursor()
public double XTreeLocationCursor()
public double YBranchingCursor()
public double YAlphaCursor()
public double YBranchLengthCursor()
public double YTreeOrientationCursor()
public double YMapCursor()
public double XContrastCursor()
public double YContrastCursor()
public double YMapRotationCursor()
public double YGradintCursor()
public double YTreeLocationCursor()
public void setBranchingCursor(double x, double y)
x
- y
- public void setAlphaCursor(double x, double y)
x
- y
- public void setBranchLengthCursor(double x, double y)
x
- y
- public void setTreeOrientationCursor(double x, double y)
x
- y
- public void setMapCursor(double x, double y)
x
- y
- public void setContrastCursor(double x, double y)
x
- y
- public void setMapRotationCursor(double x, double y)
x
- y
- public void setGradientCursor(double x, double y)
x
- y
- public void setTreeLocationCursor(double x, double y)
x
- y
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |