All Packages Class Hierarchy This Package Previous Next Index
Class sunw.demo.juggler.Juggler
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----sunw.demo.juggler.Juggler
- public class Juggler
- extends Applet
- implements Runnable
-
Juggler()
-
-
getAnimationRate()
-
-
getMinimumSize()
-
-
getPreferredSize()
-
-
init()
-
Applet method: Initialize the Juggler applet.
-
minimumSize()
-
Deprecated.
-
paint(Graphics)
-
Draw the current frame.
-
preferredSize()
-
Deprecated.
-
run()
-
-
setAnimationRate(int)
-
-
setEnabled(boolean)
-
If false, suspend the animation thread.
-
start()
-
Applet method: start the Juggler applet.
-
startJuggling()
-
Resume the animation thread if we're enabled.
-
startJuggling(ActionEvent)
-
An event handling method that calls startJuggling.
-
stop()
-
Applet method: stop the Juggler applet.
-
stopJuggling()
-
Suspend the animation thread if neccessary.
-
stopJuggling(ActionEvent)
-
This method can be used to connect a Button or a MenuItem
to the Juggler.stopJuggling method.
Juggler
public Juggler()
start
public synchronized void start()
- Applet method: start the Juggler applet.
- Overrides:
- start in class Applet
stop
public synchronized void stop()
- Applet method: stop the Juggler applet.
- Overrides:
- stop in class Applet
init
public void init()
- Applet method: Initialize the Juggler applet.
- Overrides:
- init in class Applet
paint
public void paint(Graphics g)
- Draw the current frame.
- Overrides:
- paint in class Container
setEnabled
public synchronized void setEnabled(boolean x)
- If false, suspend the animation thread.
- Overrides:
- setEnabled in class Component
startJuggling
public synchronized void startJuggling()
- Resume the animation thread if we're enabled.
- See Also:
- stopJuggling, setEnabled
stopJuggling
public synchronized void stopJuggling()
- Suspend the animation thread if neccessary.
- See Also:
- startJuggling, setEnabled
startJuggling
public void startJuggling(ActionEvent x)
- An event handling method that calls startJuggling. This method
can be used to connect a Button or a MenuItem to the Juggler.
stopJuggling
public void stopJuggling(ActionEvent x)
- This method can be used to connect a Button or a MenuItem
to the Juggler.stopJuggling method.
getAnimationRate
public int getAnimationRate()
setAnimationRate
public void setAnimationRate(int x)
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class Container
minimumSize
public Dimension minimumSize()
- Note: minimumSize() is deprecated.
provided for backward compatibility with old layout managers.
- Overrides:
- minimumSize in class Container
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
preferredSize
public Dimension preferredSize()
- Note: preferredSize() is deprecated.
provided for backward compatibility with old layout managers.
- Overrides:
- preferredSize in class Container
run
public void run()
All Packages Class Hierarchy This Package Previous Next Index