Class F
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----F
- public class F
- extends Applet
- implements UpdateState
This class produces the color conversion applet.
-
buttons
- Color space selector buttons
-
frames
- Color space frames
-
msg_processor
- Message processor that provides communication among color
space frames.
-
rgb
- These RGB coordinates are used to create new color frames.
-
F()
- Constructs the color space conversion applet.
-
action(Event, Object)
- Processes the color space selector button click event and
activates the selected color space frame.
-
stop()
- Disposes of all active frame and enables all buttons
when the browser leaves this page.
-
updateState(int)
- This method is called from the message processor when a button
becomes enabled.
buttons
Button buttons[]
- Color space selector buttons
frames
ColorSpaceFrame frames[]
- Color space frames
msg_processor
MessageProcessor msg_processor
- Message processor that provides communication among color
space frames.
rgb
RGBCoord rgb
- These RGB coordinates are used to create new color frames. The reference
is passed to all frames to modify.
F
public F()
- Constructs the color space conversion applet.
stop
public void stop()
- Disposes of all active frame and enables all buttons
when the browser leaves this page.
- Overrides:
- stop in class Applet
updateState
public void updateState(int button_enabled)
- This method is called from the message processor when a button
becomes enabled.
- Parameters:
- button_enabled - number of the button to enable.
action
public boolean action(Event ev,
Object arg)
- Processes the color space selector button click event and
activates the selected color space frame.
- Overrides:
- action in class Component