Class Control<K,G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.panel.connectionview.Control<K,G,A,R>
-
- Direct Known Subclasses:
ConnectionControl,LockedItemsControl,MonsterControl
public abstract class Control<K,G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectAbstract controller base class for map view controls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddoubleClick(@NotNull Connection<K> connection)Called if an entry is double-clicked.@NotNull javax.swing.JPanelgetView()Returns the view for this controller.
-
-
-
Method Detail
-
doubleClick
protected abstract void doubleClick(@NotNull @NotNull Connection<K> connection)Called if an entry is double-clicked.- Parameters:
connection- the first selected connection
-
getView
@NotNull public @NotNull javax.swing.JPanel getView()
Returns the view for this controller.- Returns:
- the view for this controller
-
-