public abstract class Control<K,G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Control(View<K,G,A,R> view)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doubleClick(Connection<K> connection)
Called if an entry is double-clicked.
|
javax.swing.JPanel |
getView()
Returns the view for this controller.
|
protected abstract void doubleClick(@NotNull Connection<K> connection)
connection
- the first selected connection@NotNull public javax.swing.JPanel getView()