Interface LegacyDesignSupport.Provider
-
- All Superinterfaces:
java.lang.Cloneable
,GameComponent
,java.io.Serializable
- Enclosing class:
- LegacyDesignSupport
public static interface LegacyDesignSupport.Provider extends GameComponent
Implemented by game components that provide design support the pre-SE3.0 way.- Since:
- 3.0
- Author:
- Chris Jennings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getValidityDescription()
Returns a verbal analysis of the design.boolean
isValid()
Returnstrue
if the design is valid.void
validate()
Validates the component, updating design support information.-
Methods inherited from interface ca.cgjennings.apps.arkham.component.GameComponent
clearAll, clone, convertFrom, convertTo, coreCheck, createDefaultEditor, createDefaultSheets, createUpgradeConversionTrigger, getClassName, getComment, getFullName, getName, getSettings, getSheets, getSheetTitles, hasChanged, hasUnsavedChanges, isDeckLayoutSupported, markChanged, markSaved, markUnsavedChanges, setSheets
-
-
-
-
Method Detail
-
validate
void validate()
Validates the component, updating design support information.
-
isValid
boolean isValid()
Returnstrue
if the design is valid.- Returns:
false
if the component is considered unbalanced
-
getValidityDescription
java.lang.String getValidityDescription()
Returns a verbal analysis of the design.- Returns:
- text designed to support the user's design process
-
-