A B C D E F G I L M P Q R S V

A

addAllProperties(Vector<String>) - Method in class Faction
Adds all the Faction properties to the given vector
addButton(String) - Method in class MmsEditValueDialog
Adds a new button and its corresponding answer to the dialog
addButton(String) - Method in class MmsMechLookupDialog
Adds a new button and its corresponding answer to the dialog
addButton(String) - Method in class MmsPropLookupDialog
Adds a new button and its corresponding answer to the dialog
addButton(JButton) - Method in class MmsQuestion
Adds a new button and its corresponding answer to the dialog
addButton(String) - Method in class MmsQuestion
Adds a new button and its corresponding answer to the dialog
addData(String) - Method in class MmsEditValueDialog
Adds or sets the data to the dialog
addFaction(Faction) - Method in class Scenario
Add the given faction to the faction vector
addFactionProperty(String) - Method in class Faction
Given the string for the property, add it to the list of properties
addPanelCenterFactionList() - Method in class MmsEditor
Adds panel to frame and components for Faction list to the panel
addPanelCenterFactionLists() - Method in class MmsFactionDialog
Layout Center panel with Faction unit and detail lists
addPanelNorthData() - Method in class MmsFactionDialog
Layout the North panel
addPanelNorthDataEntry() - Method in class MmsEditor
Adds panel to frame and components for data entry to the panel
addPanelSouthButtons() - Method in class MmsEditor
Adds panel to frame and button components to the panel
addPanelSouthButtons() - Method in class MmsFactionDialog
Layout South panel with main function buttons
addProperty() - Method in class MmsFactionDialog
Add property for selected Unit
addQuestion(String) - Method in class MmsQuestion
Adds the question (or statement) to the dialog
addUnit(String) - Method in class Faction
Add a new Unit to the list
addUnit() - Method in class MmsFactionDialog
Pop-up the edit dialog and add a new Unit
addUnitProperties(Vector<String>, int) - Method in class Faction
Add all non-unit declarations to the given vector
addUnitProperty(int, String) - Method in class Faction
Adds a new property for the given Unit
addUnits(Vector<String>) - Method in class Faction
Add all units to the given vector
askToKeep() - Method in class MmsEditor
Dialog to ask if current screen values should be kept
askToSave() - Method in class MmsEditor
Dialog to ask if current work in progress should be saved
askToSave() - Method in class MmsFactionDialog
Ask if user really wants to quit this dialog

B

buildDialog() - Method in class MmsFactionDialog
Build GUI display
buildFactionListDisplay(JList, String) - Method in class Scenario
Builds a list of Faction information in the given list
buildFactionNameComboBox(JComboBox, boolean, boolean) - Method in class Scenario
Builds a combo box of Faction names; sets selected to first item
buildFactionVector(String) - Method in class Scenario
Build the faction vector of Faction objects given the list of factions
buildUnitFilter() - Method in class MmsMechLookupDialog
Builds the allowable filter options for the mech display list

C

changeName(String) - Method in class Faction
Replaces all properties with the new name
clone() - Method in class Faction
Clone class for a deep copy
configButton(JButton) - Method in class MmsFactionDialog
One method to make all button sizes the same
createEditorGUI() - Method in class MmsEditor
Builds and shows MmsEditor GUI frame and components

D

debugMessage(String) - Method in class MmsEditor
If debug is enabled, write message to debug component
deleteProperty() - Method in class MmsFactionDialog
Delete selected property from Faction Unit
deleteUnit() - Method in class MmsFactionDialog
Delete the select Unit and all its properties.
displayFaction() - Method in class MmsFactionDialog
Update GUI with info from Faction object
displayMms() - Method in class MmsEditor
Displays the MMS info
displayProps() - Method in class MmsPropLookupDialog
Displays the list of available properties for a unit
displayUnitDetails() - Method in class MmsFactionDialog
Display Unit details based on selected unit
displayUnits(int) - Method in class MmsFactionDialog
Display Units
displayUnits() - Method in class MmsMechLookupDialog
Displays the list of Units as determined by the filter
doFileLookup() - Method in class MmsMechLookupDialog
File dialog to pick mech list
doMechLookup() - Method in class MmsFactionDialog
Handle mech lookup
doPropLookup() - Method in class MmsFactionDialog
Handle property lookup

E

editProperty() - Method in class MmsFactionDialog
Edit selected property for selected Unit
editUnit() - Method in class MmsFactionDialog
Get the selected Unit and pop-up edit dialog

F

Faction - Class in <Unnamed>
Contains MMS Faction data for a single faction
Faction() - Constructor for class Faction
Default constructor - creates an empty Faction; not preferred
Faction(String) - Constructor for class Faction
Preferred constructor - creates faction with the given name

G

getAnswer() - Method in class MmsEditValueDialog
Returns the answer as set by last button clicked
getAnswer() - Method in class MmsFactionDialog
 
getAnswer() - Method in class MmsMechLookupDialog
Returns the answer as set by last button clicked
getAnswer() - Method in class MmsPropLookupDialog
Returns the answer as set by last button clicked
getAnswer() - Method in class MmsQuestion
Returns the answer or result
getAttribute(String) - Method in class Scenario
Returns the desired attribute
getAttributeValue(String) - Method in class Scenario
returns the desired attribute value (i.e.
getData() - Method in class MmsEditValueDialog
Get the raw data value from the dialog
getError() - Method in class Scenario
 
getFaction() - Method in class MmsFactionDialog
 
getFactionByName(String) - Method in class Scenario
Returns the Faction given the exact name
getFactionByProperty(String) - Method in class Scenario
Returns the Faction given a full property string
getFactionForScenarioFile() - Method in class Faction
Return this faction for the output file buffer of a scenario
getFactionProperty(int) - Method in class Faction
Return the element at the given index (zero based) as a String
getFileName() - Method in class Scenario
 
getLocation() - Method in class Faction
 
getName() - Method in class Faction
 
getPropertyValue(String) - Method in class Faction
Return the propery value for the given property string
getSelectedFaction() - Method in class MmsEditor
Returns a clone of the Faction selected in the faction properties list
getUnitCount() - Method in class Faction
 
getUnitValue(String) - Method in class Faction
Return the Unit value for the given property string
getValue() - Method in class MmsEditValueDialog
Returns the text in the text field
getValue() - Method in class MmsMechLookupDialog
Returns the text in the text field
getValue() - Method in class MmsPropLookupDialog
Returns the text in the text field

I

initAttributes(boolean) - Method in class Scenario
Called from the constructors and initializes all the attributes
initialize() - Method in class MmsEditValueDialog
Called after constructing to prepare for dialog
initialize() - Method in class MmsFactionDialog
Called from constructor to initialize the attributes
initialize() - Method in class MmsMechLookupDialog
Called from constructor to prepare for dialog
initialize() - Method in class MmsPropLookupDialog
Called from constructor to prepare for dialog
initialize() - Method in class MmsQuestion
Call this method after constructing to prepare for dialog
itemStateChanged(ItemEvent) - Method in class MmsEditor
Handles comboBox selection changes
itemStateChanged(ItemEvent) - Method in class MmsFactionDialog
Handles comboBox selection changes
itemStateChanged(ItemEvent) - Method in class MmsMechLookupDialog
Handles comboBox selection changes

L

loadMms() - Method in class MmsEditor
Loads MMS info from disk

M

m_answer - Variable in class MmsEditValueDialog
 
m_answer - Variable in class MmsFactionDialog
 
m_answer - Variable in class MmsMechLookupDialog
 
m_answer - Variable in class MmsPropLookupDialog
 
m_answer - Variable in class MmsQuestion
 
m_bAddFaction - Variable in class MmsEditor
 
m_bAddScenario - Variable in class MmsEditor
 
m_bCancel - Variable in class MmsFactionDialog
 
m_bClose - Variable in class MmsEditor
 
m_bDeleteFaction - Variable in class MmsEditor
 
m_bEditFaction - Variable in class MmsEditor
 
m_bLoadScenario - Variable in class MmsEditor
 
m_boardHeight - Variable in class Scenario
 
m_boardWidth - Variable in class Scenario
 
m_bOk - Variable in class MmsFactionDialog
 
m_bSave - Variable in class MmsEditor
 
m_btnCnt - Variable in class MmsEditValueDialog
 
m_btnCnt - Variable in class MmsMechLookupDialog
 
m_btnCnt - Variable in class MmsPropLookupDialog
 
M_BUTTON_HEIGHT - Variable in class MmsFactionDialog
 
M_BUTTON_WIDTH - Variable in class MmsFactionDialog
 
m_buttonSize - Variable in class MmsFactionDialog
 
M_CANCEL - Variable in class Faction
 
M_CANCEL - Variable in class MmsEditor
 
M_CANCEL - Variable in class MmsEditValueDialog
 
M_CANCEL - Variable in class MmsFactionDialog
 
M_CANCEL - Variable in class MmsMechLookupDialog
 
M_CANCEL - Variable in class MmsPropLookupDialog
 
M_CANCEL - Variable in class Scenario
 
m_cbFactions - Variable in class MmsEditor
 
m_cbUnitFilter - Variable in class MmsMechLookupDialog
 
m_cbVersion - Variable in class MmsEditor
 
m_cp - Variable in class MmsEditor
Attributes
m_cp - Variable in class MmsEditValueDialog
 
m_cp - Variable in class MmsMechLookupDialog
 
m_cp - Variable in class MmsPropLookupDialog
 
m_cp - Variable in class MmsQuestion
 
m_debug - Variable in class MmsEditor
 
m_defHorSpacing - Variable in class MmsEditor
 
m_defVerSpacing - Variable in class MmsEditor
 
m_desc - Variable in class Scenario
 
m_editsStarted - Variable in class MmsEditor
 
m_editsStarted - Variable in class MmsFactionDialog
 
m_error - Variable in class Scenario
 
m_faction - Variable in class MmsFactionDialog
 
m_factionName - Variable in class Faction
 
m_factions - Variable in class Scenario
 
m_factionVector - Variable in class Scenario
 
m_fName - Variable in class Scenario
Attributes
M_HELP - Variable in class MmsEditValueDialog
 
M_HELP - Variable in class MmsMechLookupDialog
 
M_HELP - Variable in class MmsPropLookupDialog
 
m_helpMsg - Variable in class MmsEditValueDialog
 
m_helpMsg - Variable in class MmsMechLookupDialog
 
m_helpMsg - Variable in class MmsPropLookupDialog
 
m_isNew - Variable in class Scenario
 
m_listDisplay - Variable in class MmsMechLookupDialog
 
m_listDisplay - Variable in class MmsPropLookupDialog
 
m_listFactions - Variable in class MmsEditor
 
m_listProperties - Variable in class MmsFactionDialog
 
m_listProps - Variable in class MmsPropLookupDialog
 
m_listUnits - Variable in class MmsFactionDialog
 
m_listUnits - Variable in class MmsMechLookupDialog
 
m_mapHeight - Variable in class Scenario
 
m_maps - Variable in class Scenario
 
m_mapWidth - Variable in class Scenario
 
M_MAX_FILE_CHARS - Variable in class Scenario
 
m_mode - Variable in class MmsFactionDialog
 
M_MODE_ADD - Variable in class MmsFactionDialog
 
M_MODE_EDIT - Variable in class MmsFactionDialog
 
m_name - Variable in class Scenario
 
M_NO - Variable in class Faction
 
M_NO - Variable in class MmsEditor
Constants
M_NO - Variable in class MmsEditValueDialog
Constants
M_NO - Variable in class MmsFactionDialog
 
M_NO - Variable in class MmsMechLookupDialog
Constants
M_NO - Variable in class MmsPropLookupDialog
Constants
M_NO - Variable in class Scenario
Constants
m_pButtons - Variable in class MmsEditValueDialog
 
m_pButtons - Variable in class MmsMechLookupDialog
 
m_pButtons - Variable in class MmsPropLookupDialog
 
m_pButtons - Variable in class MmsQuestion
 
m_pData - Variable in class MmsEditValueDialog
 
m_pData - Variable in class MmsMechLookupDialog
 
m_pData - Variable in class MmsPropLookupDialog
 
m_pQuestion - Variable in class MmsQuestion
 
m_properties - Variable in class Faction
 
m_scenario - Variable in class MmsEditor
 
m_taDebugOutput - Variable in class MmsEditor
 
m_tfDesc - Variable in class MmsEditor
 
m_tfFactionLocation - Variable in class MmsFactionDialog
 
m_tfFactionName - Variable in class MmsFactionDialog
 
m_tfFile - Variable in class MmsMechLookupDialog
 
m_tfHeight - Variable in class MmsEditor
 
m_tfMapHeight - Variable in class MmsEditor
 
m_tfMaps - Variable in class MmsEditor
 
m_tfMapWidth - Variable in class MmsEditor
 
m_tfName - Variable in class MmsEditor
 
m_tfProp - Variable in class MmsPropLookupDialog
 
m_tfValue - Variable in class MmsEditValueDialog
 
m_tfWidth - Variable in class MmsEditor
 
m_value - Variable in class MmsEditValueDialog
 
m_value - Variable in class MmsMechLookupDialog
 
m_value - Variable in class MmsPropLookupDialog
 
m_version - Variable in class Scenario
 
M_YES - Variable in class Faction
 
M_YES - Variable in class MmsEditor
 
M_YES - Variable in class MmsEditValueDialog
 
M_YES - Variable in class MmsFactionDialog
 
M_YES - Variable in class MmsMechLookupDialog
 
M_YES - Variable in class MmsPropLookupDialog
 
M_YES - Variable in class Scenario
 
main(String[]) - Static method in class MmsMain
 
MmsEditor - Class in <Unnamed>
Editor GUI tool for MegaMek MMS files to create and edit scenarios.
MmsEditor() - Constructor for class MmsEditor
Constructor - instantiates the class
MmsEditValueDialog - Class in <Unnamed>
Dialog class to edit a single value.
MmsEditValueDialog() - Constructor for class MmsEditValueDialog
Default constructor
MmsEditValueDialog(JFrame, String, String, boolean) - Constructor for class MmsEditValueDialog
Preferred constructor
MmsEditValueDialog(JDialog, String, String) - Constructor for class MmsEditValueDialog
Alternate preferred constructor
MmsFactionDialog - Class in <Unnamed>
Dialog to handle edits, adds, and deletes of Factions for a loaded or new Scenario
MmsFactionDialog() - Constructor for class MmsFactionDialog
Default constructor - not recommended
MmsFactionDialog(Frame, Faction, boolean) - Constructor for class MmsFactionDialog
Recommended constructor; note: passed Faction is cloned.
MmsMain - Class in <Unnamed>
Starter class to begin dialog.
MmsMain() - Constructor for class MmsMain
 
MmsMechLookupDialog - Class in <Unnamed>
Dialog to handle Unit (e.g.
MmsMechLookupDialog() - Constructor for class MmsMechLookupDialog
Default constructor
MmsMechLookupDialog(JFrame, String) - Constructor for class MmsMechLookupDialog
Preferred constructor
MmsMechLookupDialog(JDialog, String) - Constructor for class MmsMechLookupDialog
Alternate preferred constructor
MmsPropLookupDialog - Class in <Unnamed>
Dialog to handle Property lookup.
MmsPropLookupDialog() - Constructor for class MmsPropLookupDialog
Default constructor
MmsPropLookupDialog(JFrame, String) - Constructor for class MmsPropLookupDialog
Preferred constructor
MmsPropLookupDialog(JDialog, String) - Constructor for class MmsPropLookupDialog
Alternate preferred constructor
MmsQuestion - Class in <Unnamed>
Dialog to handle questions or errors.
MmsQuestion() - Constructor for class MmsQuestion
Default constructor
MmsQuestion(JFrame, String, boolean) - Constructor for class MmsQuestion
Preferred constructor
MmsQuestion(JDialog, String) - Constructor for class MmsQuestion
Alternate preferred constructor
mouseClicked(MouseEvent) - Method in class MmsEditor
Mouse click event handler
mouseClicked(MouseEvent) - Method in class MmsEditValueDialog
Mouse click event handler
mouseClicked(MouseEvent) - Method in class MmsFactionDialog
Mouse click event handler
mouseClicked(MouseEvent) - Method in class MmsMechLookupDialog
Mouse click event handler
mouseClicked(MouseEvent) - Method in class MmsPropLookupDialog
Mouse click event handler
mouseClicked(MouseEvent) - Method in class MmsQuestion
Mouse click event handler
mouseEntered(MouseEvent) - Method in class MmsEditor
mouseEntered - N/A - Invoked when the mouse enters a component.
mouseEntered(MouseEvent) - Method in class MmsEditValueDialog
mouseEntered - N/A - Invoked when the mouse enters a component.
mouseEntered(MouseEvent) - Method in class MmsFactionDialog
mouseEntered - N/A - Invoked when the mouse enters a component.
mouseEntered(MouseEvent) - Method in class MmsMechLookupDialog
mouseEntered - N/A - Invoked when the mouse enters a component.
mouseEntered(MouseEvent) - Method in class MmsPropLookupDialog
mouseEntered - N/A - Invoked when the mouse enters a component.
mouseEntered(MouseEvent) - Method in class MmsQuestion
mouseEntered - N/A - Invoked when the mouse enters a component.
mouseExited(MouseEvent) - Method in class MmsEditor
mouseEntered - N/A - Invoked when the mouse exits a component.
mouseExited(MouseEvent) - Method in class MmsEditValueDialog
mouseEntered - N/A - Invoked when the mouse exits a component.
mouseExited(MouseEvent) - Method in class MmsFactionDialog
mouseEntered - N/A - Invoked when the mouse exits a component.
mouseExited(MouseEvent) - Method in class MmsMechLookupDialog
mouseEntered - N/A - Invoked when the mouse exits a component.
mouseExited(MouseEvent) - Method in class MmsPropLookupDialog
mouseEntered - N/A - Invoked when the mouse exits a component.
mouseExited(MouseEvent) - Method in class MmsQuestion
mouseEntered - N/A - Invoked when the mouse exits a component.
mousePressed(MouseEvent) - Method in class MmsEditor
mousePressed - N/A - Invoked when a mouse button has been pressed on a component.
mousePressed(MouseEvent) - Method in class MmsEditValueDialog
mousePressed - N/A - Invoked when a mouse button has been pressed on a component.
mousePressed(MouseEvent) - Method in class MmsFactionDialog
mousePressed - N/A - Invoked when a mouse button has been pressed on a component.
mousePressed(MouseEvent) - Method in class MmsMechLookupDialog
mousePressed - N/A - Invoked when a mouse button has been pressed on a component.
mousePressed(MouseEvent) - Method in class MmsPropLookupDialog
mousePressed - N/A - Invoked when a mouse button has been pressed on a component.
mousePressed(MouseEvent) - Method in class MmsQuestion
mousePressed - N/A - Invoked when a mouse button has been pressed on a component.
mouseReleased(MouseEvent) - Method in class MmsEditor
mouseReleased - N/A - Invoked when a mouse button has been released on a component.
mouseReleased(MouseEvent) - Method in class MmsEditValueDialog
mouseReleased - N/A - Invoked when a mouse button has been released on a component.
mouseReleased(MouseEvent) - Method in class MmsFactionDialog
mouseReleased - N/A - Invoked when a mouse button has been released on a component.
mouseReleased(MouseEvent) - Method in class MmsMechLookupDialog
mouseReleased - N/A - Invoked when a mouse button has been released on a component.
mouseReleased(MouseEvent) - Method in class MmsPropLookupDialog
mouseReleased - N/A - Invoked when a mouse button has been released on a component.
mouseReleased(MouseEvent) - Method in class MmsQuestion
mouseReleased - N/A - Invoked when a mouse button has been released on a component.

P

propertyIsUnit(String) - Method in class Faction
Determine if given property is a Unit declaration

Q

quit() - Method in class MmsEditor
Quit application, ask to save work in progress
quit() - Method in class MmsFactionDialog
Closes dialog; asks to cancel quit if changes have been made and not saved

R

removeFaction(Faction) - Method in class Scenario
Removes the given faction from the faction vector
removeProperty(String) - Method in class Faction
Remove the given property from the list
removeUnit(int) - Method in class Faction
Remove the Unit and all its properties
replaceFaction(Faction, Faction) - Method in class Scenario
Replace an existing faction with a new faction
replaceUnit(String, String) - Method in class Faction
Replace a Unit with new Unit info
replaceUnitProperty(int, String, String) - Method in class Faction
Replace property for the given Unit and property

S

save() - Method in class Scenario
Saves the scenario to disk.
saveFaction() - Method in class MmsFactionDialog
Saves screen changes to the Faction object
saveMms() - Method in class MmsEditor
Saves MMS info to disk
Scenario - Class in <Unnamed>
Contains the information of an MMS file.
Scenario() - Constructor for class Scenario
Default constructor
Scenario(String, boolean) - Constructor for class Scenario
Constructor with filename (or scenario name, if new) and new indicator
setAsNew() - Method in class Scenario
Set Scenario as a new scenario, while maintaining most attributes
setAttribute(String, String) - Method in class Scenario
Set the desired attribute
setAttributeFromParam(String, String) - Method in class Scenario
Given the parameter name and the string for the parameter, set the correct attribute
setAttributesFromFile() - Method in class Scenario
Called after object is constructed to set (or re-set) the attributes from the file
setFactionAttribute(String, String) - Method in class Scenario
Given the parameter name and the string for the parameter, set the correct Faction attribute
setFileName(String) - Method in class Scenario
Set Scenario filename
setHelpMessage(String) - Method in class MmsEditValueDialog
Sets the help message string, which will popup if the Help button is clicked
setLocation(String) - Method in class Faction
Sets the location property to the given location
showError(String) - Method in class MmsEditor
Dialog to show an error
showError(String) - Method in class MmsMechLookupDialog
Dialog to show an error
showError(String) - Method in class MmsPropLookupDialog
Dialog to show an error
showHelp() - Method in class MmsEditValueDialog
Pop up simple dialog to show a Help message
start(String[]) - Method in class MmsEditor
Launches MmsEditor GUI

V

valueChanged(ListSelectionEvent) - Method in class MmsFactionDialog
Handles JList selection changes

A B C D E F G I L M P Q R S V