Uses of Interface
ca.cgjennings.apps.arkham.component.GameComponent
-
-
Uses of GameComponent in ca.cgjennings.apps.arkham
Classes in ca.cgjennings.apps.arkham with type parameters of type GameComponent Modifier and Type Class Description class
AbstractGameComponentEditor<G extends GameComponent>
The abstract base class forGameComponent
editors.Methods in ca.cgjennings.apps.arkham that return GameComponent Modifier and Type Method Description static GameComponent
StrangeEons. getActiveGameComponent()
Returns the game component edited by the active editor, ornull
if there either is no active editor, or if the active editor is not a game component editor.GameComponent
AbstractStrangeEonsEditor. getGameComponent()
Returns the edited game component, ornull
if this editor is not editing a game component.GameComponent
ContextBar.Context. getGameComponent()
If the target is part of an editor for a game component, returns the game component.GameComponent
StrangeEonsEditor. getGameComponent()
Returns the edited game component, ornull
if this editor is not editing a game component.Methods in ca.cgjennings.apps.arkham with parameters of type GameComponent Modifier and Type Method Description javax.swing.Icon
NewEditorDialog. getIconForComponent(GameComponent gc)
Deprecated.No suitable replacement yet, but don't want people to start using it. -
Uses of GameComponent in ca.cgjennings.apps.arkham.component
Classes in ca.cgjennings.apps.arkham.component that implement GameComponent Modifier and Type Class Description class
AbstractGameComponent
Provides default implementations for theGameComponent
interface.class
Marker
TheGameComponent
used to create generic markers and tokens.Methods in ca.cgjennings.apps.arkham.component that return GameComponent Modifier and Type Method Description GameComponent
GameComponent. clone()
Returns a deep copy of this game component.GameComponent
DefaultPortrait. getGameComponent()
Returns the game component that this portrait is associated with.Methods in ca.cgjennings.apps.arkham.component that return types with arguments of type GameComponent Modifier and Type Method Description AbstractGameComponentEditor<? extends GameComponent>
GameComponent. createDefaultEditor()
Creates an editor capable of modifying this component.java.lang.Class<? extends GameComponent>
ComponentMetadata. getComponentClass()
Returns theClass
instance that the game component is an instance of.Methods in ca.cgjennings.apps.arkham.component with parameters of type GameComponent Modifier and Type Method Description static void
ComponentMetadata. writeMetadataToStream(SEObjectOutputStream out, GameComponent gc)
Writes metadata for a component at the head of a component stream.Constructors in ca.cgjennings.apps.arkham.component with parameters of type GameComponent Constructor Description DefaultPortrait(GameComponent gc, java.lang.String key)
Creates a default portrait instance that does not support rotation.DefaultPortrait(GameComponent gc, java.lang.String key, boolean allowRotation)
Creates a default portrait instance for a game component.DefaultPortrait(GameComponent gc, java.lang.String key, java.util.EnumSet<Portrait.Feature> portraitFeatures)
Creates a default portrait instance for a game component. -
Uses of GameComponent in ca.cgjennings.apps.arkham.component.conversion
Methods in ca.cgjennings.apps.arkham.component.conversion that return GameComponent Modifier and Type Method Description static GameComponent
ConversionSession. convertGameComponent(ConversionTrigger trigger, GameComponent source, boolean interactive)
Creates a newGameComponent
which represents the given component converted to another component type.GameComponent
ConversionSession. getSource()
Returns the original component that is being converted.GameComponent
ConversionSession. getTarget()
Returns the new component that will become the converted component.Methods in ca.cgjennings.apps.arkham.component.conversion with parameters of type GameComponent Modifier and Type Method Description static GameComponent
ConversionSession. convertGameComponent(ConversionTrigger trigger, GameComponent source, boolean interactive)
Creates a newGameComponent
which represents the given component converted to another component type. -
Uses of GameComponent in ca.cgjennings.apps.arkham.component.design
Classes in ca.cgjennings.apps.arkham.component.design with type parameters of type GameComponent Modifier and Type Class Description class
AbstractVerbalDesignSupport<G extends GameComponent>
An abstract base class for design supports that create verbal reports to describe their design analyses.interface
DesignSupport<G extends GameComponent>
A design support provides feedback to the user about the design of their game component.Subinterfaces of GameComponent in ca.cgjennings.apps.arkham.component.design Modifier and Type Interface Description static interface
LegacyDesignSupport.Provider
Implemented by game components that provide design support the pre-SE3.0 way. -
Uses of GameComponent in ca.cgjennings.apps.arkham.deck
Classes in ca.cgjennings.apps.arkham.deck that implement GameComponent Modifier and Type Class Description class
Deck
A deck of game component sheets, organized into pages for printing.Methods in ca.cgjennings.apps.arkham.deck that return GameComponent Modifier and Type Method Description GameComponent
DeckDeserializationSupport. findGameComponent(java.lang.String path, java.lang.String name)
Called from withinCardFace
s during deserialization to get a game component from the face's identifier. -
Uses of GameComponent in ca.cgjennings.apps.arkham.deck.item
Methods in ca.cgjennings.apps.arkham.deck.item with parameters of type GameComponent Modifier and Type Method Description boolean
CardFace. refresh(GameComponent component)
Allows for optimized updates when the same component occurs many times in the same deck.Constructors in ca.cgjennings.apps.arkham.deck.item with parameters of type GameComponent Constructor Description CardFace(GameComponent component, java.lang.String path, int index)
Create aCardFace
for use in a deck. -
Uses of GameComponent in ca.cgjennings.apps.arkham.diy
Classes in ca.cgjennings.apps.arkham.diy that implement GameComponent Modifier and Type Class Description class
DIY
A scriptableGameComponent
.Methods in ca.cgjennings.apps.arkham.diy with parameters of type GameComponent Modifier and Type Method Description protected boolean
VerbalDesignSupportAdapter. analyze(GameComponent gc, java.lang.StringBuilder b)
This method is called when the design needs to reanalyzed.boolean
VerbalDesignSupportAdapter.DesignAnalyzer. analyze(GameComponent gc, java.lang.StringBuilder b)
Analyzes the component and appends a verbal description to the supplied string builder.Constructors in ca.cgjennings.apps.arkham.diy with parameters of type GameComponent Constructor Description VerbalDesignSupportAdapter(GameComponent gc, VerbalDesignSupportAdapter.DesignAnalyzer scriptFunction)
Creates a new adapter that consults with the specified analyzer function. -
Uses of GameComponent in ca.cgjennings.apps.arkham.project
Methods in ca.cgjennings.apps.arkham.project with parameters of type GameComponent Modifier and Type Method Description protected void
DeckPacker. addImpl(java.io.File f, GameComponent gc)
Called byDeckPacker.add(java.io.File)
to add a loaded game component to the layout. -
Uses of GameComponent in ca.cgjennings.apps.arkham.sheet
Classes in ca.cgjennings.apps.arkham.sheet with type parameters of type GameComponent Modifier and Type Class Description class
Sheet<G extends GameComponent>
An abstract base class for objects that paint one face (side) of aGameComponent
.Subclasses must provide a template key before the sheet can be used.Constructors in ca.cgjennings.apps.arkham.sheet with parameters of type GameComponent Constructor Description UndecoratedCardBack(GameComponent component, java.lang.String templateKey)
UndecoratedCardBack(GameComponent component, java.lang.String templateKey, double bleedMargin)
UndecoratedCardBack(GameComponent component, java.lang.String templateKey, double bleedMargin, double cornerRadius)
-
Uses of GameComponent in gamedata
Methods in gamedata with parameters of type GameComponent Modifier and Type Method Description static java.util.Set<Expansion>
Expansion. getComponentExpansionSymbols(GameComponent gc)
Returns a new, modifiable set of the expansions set on a game component by reading the value of the component'sExpansion.EXPANSION_SETTING_KEY
private setting.static void
Expansion. setComponentExpansionSymbols(GameComponent gc, java.util.Set<Expansion> exps)
Sets the expansion symbols associated with a game component by modifying the component'sExpansion.EXPANSION_SETTING_KEY
private setting. -
Uses of GameComponent in resources
Methods in resources that return GameComponent Modifier and Type Method Description static GameComponent
ResourceKit. getGameComponentFromFile(java.io.File file)
Reads aGameComponent
from a file.static GameComponent
ResourceKit. getGameComponentFromFile(java.io.File file, boolean reportError)
Reads aGameComponent
from a file.static GameComponent
ResourceKit. getGameComponentFromStream(java.io.InputStream in, java.lang.String sourceDescription, boolean reportError)
Reads aGameComponent
from an input stream.Methods in resources with parameters of type GameComponent Modifier and Type Method Description static void
ResourceKit. writeGameComponentToFile(java.io.File f, GameComponent gc)
Writes aGameComponent
to a file.Method parameters in resources with type arguments of type GameComponent Modifier and Type Method Description int
Settings. getExpansionVariant(Sheet<? extends GameComponent> sheetWithDefaultValue)
Returns the expansion logical variant index for the selected expansion, assuming that these settings are a game component's private settings.
-