public class GameObjectAttributesDialog<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
GameObjectAttributesDialog(GameObjectAttributesDialogFactory<G,A,R> gameObjectAttributesDialogFactory,
ArchetypeTypeSet archetypeTypeSet,
G gameObject,
java.awt.Frame parent,
CFTreasureListTree treasureListTree,
FaceObjectProviders faceObjectProviders,
AnimationObjects animationObjects,
ProjectSettings projectSettings,
javax.swing.filechooser.FileFilter mapFileFilter,
javax.swing.filechooser.FileFilter scriptFileFilter,
FaceObjects faceObjects,
Spells<GameObjectSpell<G,A,R>> gameObjectSpells,
Spells<NumberSpell> numberSpells,
int undefinedSpellIndex,
TreasureTree treasureTree,
javax.swing.ImageIcon noFaceSquareIcon,
javax.swing.ImageIcon unknownSquareIcon,
TextAreaDefaults textAreaDefaults,
MapManager<G,A,R> mapManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
attribApply()
Action method for apply.
|
void |
attribCancel()
Action method for cancel.
|
void |
attribEdit()
Turns the summary off.
|
void |
attribHelp()
Action method for help.
|
void |
attribOk()
Action method for ok.
|
void |
attribSummary()
Action method for summary.
|
javax.swing.JDialog |
createDialog()
Creates a new
JDialog instance for this dialog. |
public GameObjectAttributesDialog(@NotNull GameObjectAttributesDialogFactory<G,A,R> gameObjectAttributesDialogFactory, ArchetypeTypeSet archetypeTypeSet, @NotNull G gameObject, @NotNull java.awt.Frame parent, @NotNull CFTreasureListTree treasureListTree, @NotNull FaceObjectProviders faceObjectProviders, @NotNull AnimationObjects animationObjects, @NotNull ProjectSettings projectSettings, @NotNull javax.swing.filechooser.FileFilter mapFileFilter, @NotNull javax.swing.filechooser.FileFilter scriptFileFilter, @NotNull FaceObjects faceObjects, @NotNull Spells<GameObjectSpell<G,A,R>> gameObjectSpells, @NotNull Spells<NumberSpell> numberSpells, int undefinedSpellIndex, @NotNull TreasureTree treasureTree, @NotNull javax.swing.ImageIcon noFaceSquareIcon, @NotNull javax.swing.ImageIcon unknownSquareIcon, @NotNull TextAreaDefaults textAreaDefaults, @NotNull MapManager<G,A,R> mapManager)
gameObjectAttributesDialogFactory
- the associated factoryarchetypeTypeSet
- the reference to the list of archetype typesgameObject
- the game object to show dialog for; must be part of a
mapparent
- the parent frame for showing dialog boxestreasureListTree
- the treasure list tree to displayfaceObjectProviders
- the face object providers for looking up
facesanimationObjects
- the animation objects instance for choosing
animation namesprojectSettings
- the project settings to usemapFileFilter
- the file filter to use for map filesscriptFileFilter
- the file filter to use for script filesfaceObjects
- the face objects instance for choosing face namesgameObjectSpells
- the game object spells to usenumberSpells
- the numbered spells to useundefinedSpellIndex
- the index for "no spell"treasureTree
- the treasure tree to usenoFaceSquareIcon
- the image icon for no animationsunknownSquareIcon
- the image icon for undefined animationstextAreaDefaults
- the text area defaults for text fieldsmapManager
- the map manager instance@NotNull public javax.swing.JDialog createDialog()
JDialog
instance for this dialog.@ActionMethod public void attribHelp()
@ActionMethod public void attribOk()
@ActionMethod public void attribApply()
@ActionMethod public void attribCancel()
@ActionMethod public void attribSummary()
@ActionMethod public void attribEdit()