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(@NotNull View<K,G,A,R> view)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doubleClick(@NotNull Connection<K> connection)
Called if an entry is double-clicked.
|
@NotNull javax.swing.JPanel |
getView()
Returns the view for this controller.
|
protected abstract void doubleClick(@NotNull @NotNull Connection<K> connection)
connection
- the first selected connection@NotNull public @NotNull javax.swing.JPanel getView()