All Packages Class Hierarchy This Package Previous Next Index
Class taxman.LoadPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----taxman.LoadPanel
- public class LoadPanel
- extends Panel
This is the lower left button panel for the applet.
It controls the new game and options buttons and
supplies a Checkbox for the user to choose to go first.
-
LoadPanel(int)
- Initializes UI components and sets the layout.
-
newFile(String)
- This method should be called every time a new file is
loaded.
-
setBackground(Color)
- Over-ride of the inherited function to keep the
text box and button text from changing color (they won't be clear)
-
setForeground(Color)
- Over-ride of the inherited function to keep the
text box and button text from changing color (they won't be clear)
LoadPanel
public LoadPanel(int NumMedia)
- Initializes UI components and sets the layout.
- Parameters:
- NumMedia - the number of media files that will be loaded
setBackground
public void setBackground(Color clr)
- Over-ride of the inherited function to keep the
text box and button text from changing color (they won't be clear)
- Parameters:
- clr - The new foreground color
- Overrides:
- setBackground in class Component
setForeground
public void setForeground(Color clr)
- Over-ride of the inherited function to keep the
text box and button text from changing color (they won't be clear)
- Parameters:
- clr - The new background color
- Overrides:
- setForeground in class Component
newFile
public void newFile(String Name)
- This method should be called every time a new file is
loaded. It will update the loading screen and the progress bar.
- Parameters:
- Name - the name of the file that was last loaded.
All Packages Class Hierarchy This Package Previous Next Index