public class MapFolderTreeAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends javax.swing.AbstractAction
Constructor and Description |
---|
MapFolderTreeAction(@NotNull MapFolderTree<G,A,R> mapFolderTree,
@NotNull MapFolder<G,A,R> mapFolder,
@NotNull javax.swing.AbstractButton menuItem)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(@NotNull java.awt.event.ActionEvent e) |
protected @NotNull MapFolderTreeAction<G,A,R> |
clone() |
boolean |
equals(@Nullable java.lang.Object obj) |
int |
hashCode() |
public MapFolderTreeAction(@NotNull @NotNull MapFolderTree<G,A,R> mapFolderTree, @NotNull @NotNull MapFolder<G,A,R> mapFolder, @NotNull @NotNull javax.swing.AbstractButton menuItem)
mapFolderTree
- the model the mapFolder
is part ofmapFolder
- the folder to activatemenuItem
- the associated menu itempublic void actionPerformed(@NotNull @NotNull java.awt.event.ActionEvent e)
public boolean equals(@Nullable @Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@NotNull protected @NotNull MapFolderTreeAction<G,A,R> clone()
clone
in class javax.swing.AbstractAction