|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.MenuOwner
mesquite.lib.EmployerEmployee
mesquite.lib.MesquiteModule
mesquite.lib.duties.CharacterModelSource
public abstract class CharacterModelSource
This class of modules supplies character models for use in calculation routines. These methods must be passed a Data or a CharacterDistribution object because which models are appropriate will depend on these
| Field Summary |
|---|
| Fields inherited from class mesquite.lib.MesquiteModule |
|---|
author, browserString, checkMethodsAtStartup, hiredAsDefaultInScripting, lastResult, lastResultString, logWindow, mesquiteDirectory, mesquiteDirectoryPath, mesquiteTrunk, moduleInfo, prefsDirectory, proj, textEdgeCompensationHeight, textEdgeCompensationWidth, totalFinalized, userDirectory |
| Fields inherited from class mesquite.lib.EmployerEmployee |
|---|
employees, employer, startupBailOut, stringPos, suppressHireQueries, totalCreated, totalDisposed, useOtherChoices |
| Fields inherited from interface mesquite.lib.MesquiteListener |
|---|
ANNOTATION_ADDED, ANNOTATION_CHANGED, ANNOTATION_DELETED, ASSOCIATED_CHANGED, BRANCHES_REARRANGED, BRANCHLENGTHS_CHANGED, COMMAND_CANCELLED, DATA_CHANGED, ELEMENT_CHANGED, ITEMS_ADDED, NAMES_CHANGED, OBJECT_DESTROYED, PARTS_ADDED, PARTS_CHANGED, PARTS_DELETED, PARTS_MOVED, SELECTION_CHANGED, TAXA_SUBSTITUTED, TEXTFIELD_EDITED, UNKNOWN, VALUE_CHANGED |
| Fields inherited from interface mesquite.lib.HNode |
|---|
MOUSEDOWN, MOUSEEXIT, MOUSEMOVE |
| Constructor Summary | |
|---|---|
CharacterModelSource()
|
|
| Method Summary | |
|---|---|
abstract CharacterModel |
getCharacterModel(CharacterData data,
int ic)
returns model for character ic in data |
abstract CharacterModel |
getCharacterModel(CharacterStatesHolder states)
returns model for character represented by states |
java.lang.Class |
getDutyClass()
Returns duty Class the module belongs to; should be defined not by module itself but by abstract class representing duty |
java.lang.String |
getDutyName()
Returns the name of the duty; set by the duty-defining library classes. |
boolean |
requiresCharacterData()
returns whether requires an input CharacterData or can run off of any CharacterDistribution. |
void |
setOneCharacterAtATime(boolean chgbl)
sets whether module may reassign a different model to current character; indicates that employers will have only one character active at a time, and thus a menu item to change the active character's model is appropriate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterModelSource()
| Method Detail |
|---|
public java.lang.Class getDutyClass()
MesquiteModule
getDutyClass in class MesquiteModulepublic java.lang.String getDutyName()
MesquiteModule
getDutyName in class MesquiteModule
public abstract CharacterModel getCharacterModel(CharacterData data,
int ic)
public abstract CharacterModel getCharacterModel(CharacterStatesHolder states)
public boolean requiresCharacterData()
public void setOneCharacterAtATime(boolean chgbl)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||