Serialized Form


Package ballworld.controller

Class ballworld.controller.BallControl extends java.applet.Applet implements Serializable

serialVersionUID: 430792507482179436L

Serialized Fields

_view

BallGUI _view
The view being used


_model

BallModel _model
The model being used


Package ballworld.view

Class ballworld.view.BallGUI extends javax.swing.JFrame implements Serializable

serialVersionUID: 6848028799338229168L

Serialized Fields

_modelControlAdpt

IModelControlAdapter _modelControlAdpt
Adapter back to the model for control tasks.


_modelUpdateAdpt

IModelUpdateAdapter _modelUpdateAdpt
Adapter back to the model for updating tasks. Initialized to the null adapter for safety's sake in case an event comes through before the adapter connection is fully established.


_controlPnl

javax.swing.JPanel _controlPnl
Panel for holding the control components


_canvasPnl

javax.swing.JPanel _canvasPnl
Panel that the balls are drawn on


_clearAllBtn

javax.swing.JButton _clearAllBtn
Button to clear all the balls from the system


_inputTF

javax.swing.JTextField _inputTF
Textfield to input class name of new strategies to use


_inputPnl

javax.swing.JPanel _inputPnl
Sub-panel to hold the input textfield and the "add to lists" button


_makeSwitcherBtn

javax.swing.JButton _makeSwitcherBtn
Button to make a switcher ball


_switchBtn

javax.swing.JButton _switchBtn
Button to switch the decoree of the switcher strategy


paintTF

javax.swing.JTextField paintTF

paintCBx

javax.swing.JComboBox paintCBx

addPaintBtn

javax.swing.JButton addPaintBtn

paintPnl

javax.swing.JPanel paintPnl

_switcherPnl

javax.swing.JPanel _switcherPnl
Sub-panel to hold switcher controls


_cbPnl

javax.swing.JPanel _cbPnl
sub-panel to hold the drop lists and associated buttons.


_list1DL

javax.swing.JComboBox _list1DL
The top drop list, used to select what strategy to use in a new ball and to switch the switcher to.


_list2DL

javax.swing.JComboBox _list2DL
Bottom drop list, used for combining with the top list selection.


_combineBtn

javax.swing.JButton _combineBtn
Button to create a new strategy that is the composition of the selected strategies on the top and bottom drop lists.


_addBtn

javax.swing.JButton _addBtn
Button to add the strategy from the textfield to both the drop lists.


_makeSelectedBtn

javax.swing.JButton _makeSelectedBtn
Button to make a ball using the strategy selected from the top drop list