 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.panel.connectionview;
29 import org.jetbrains.annotations.NotNull;
51 super((o1, o2) -> o1.compareTo(o2),
new ConnectionCellRenderer(), mapViewManager, delayedMapModelListenerManager);
73 for (
final int value : values) {
91 protected String
formatKey(@NotNull
final Integer key) {
92 return key.toString();
98 return gameObject.getBestName();
static int[] parseConnections(@NotNull final BaseObject<?, ?, ?, ?> gameObject)
Extract the "connected" value(s) from a given game object.
Abstract base class for a panel that holds information about connections of the selected key on the s...
Base package of all Gridarta classes.
void scanGameObjectForConnections(@NotNull final G gameObject)
A CellRenderer for the connection view.
Reflects a game object (object on a map).
Graphical User Interface of Gridarta.
void addConnection( @NotNull final K key, @NotNull final GameObject< G, A, R > gameObject)
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
void scanGameObject(@NotNull final GameObject< G, A, R > gameObject)
Adds the given game object as a connection if it has a "connected" field.
static final long serialVersionUID
The serial version UID.
String formatKey(@NotNull final Integer key)
Provides support for delayed notification of MapModel changes.
Base classes for rendering maps.
String formatValue(@NotNull final BaseObject<?, ?, ?, ?> gameObject)
ConnectionView(@NotNull final MapViewManager< G, A, R > mapViewManager, @NotNull final DelayedMapModelListenerManager< G, A, R > delayedMapModelListenerManager)
Creates a new instance.
A DefaultListCellRenderer for rendering Connection objects in a list.
Iterable< G > recursive()
Return an object that is a recursive representation.
Utility class to parse "connected" fields in game objects.
static final long serialVersionUID
The serial version UID.
The view of the connection view control.