|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAlpha
com.sun.electric.plugins.j3d.utils.J3DAlpha
public class J3DAlpha
Alpha class to control motion with JSlider class Idea taken from Selman's book
| Constructor Summary | |
|---|---|
J3DAlpha(int speed,
boolean mode,
float value)
|
|
| Method Summary | |
|---|---|
boolean |
getAutoMode()
Method to retrieve auto mode flag |
void |
setAlphaSpeed(int speed)
|
void |
setAutoMode(boolean mode)
Set AutoMode flag according to boolean |
void |
stateChanged(javax.swing.event.ChangeEvent e)
|
float |
value(long time)
Overwrites original Alpha's value function to consider manual mode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J3DAlpha(int speed,
boolean mode,
float value)
| Method Detail |
|---|
public void setAlphaSpeed(int speed)
public void setAutoMode(boolean mode)
mode - True if interpolator runs automaticallypublic boolean getAutoMode()
public float value(long time)
time -
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenere -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||