 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.panel.connectionview;
22 import java.util.Collection;
23 import java.util.HashSet;
30 import org.jetbrains.annotations.NotNull;
48 private final Collection<Integer>
typeNumbers =
new HashSet<>();
58 super(String.CASE_INSENSITIVE_ORDER,
new LockedItemsCellRenderer(), mapViewManager, delayedMapModelListenerManager);
60 this.typeNumbers.add(typeNumber);
79 if (!slayingSpec.isEmpty()) {
98 protected String
formatKey(@NotNull
final String key) {
105 return gameObject.getBestName();
static final long serialVersionUID
The serial version UID.
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 scanGameObject(@NotNull final GameObject< G, A, R > gameObject)
Adds the given game object as a connection if it has a "slaying" field.
static final long serialVersionUID
The serial version UID.
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)
LockedItemsView(@NotNull final MapViewManager< G, A, R > mapViewManager, @NotNull final DelayedMapModelListenerManager< G, A, R > delayedMapModelListenerManager, @NotNull final int... typeNumbers)
Creates a new instance.
GameObjects are the objects based on Archetypes found on maps.
final Collection< Integer > typeNumbers
The type numbers to consider.
A CellRenderer for the locked items view.
Interface for MapArchObjects.
String SLAYING
The name of the "slaying" attribute.
String formatValue(@NotNull final BaseObject<?, ?, ?, ?> gameObject)
Provides support for delayed notification of MapModel changes.
Base classes for rendering maps.
String formatKey(@NotNull final String key)
void scanGameObjectForConnections(@NotNull final G gameObject)
A DefaultListCellRenderer for rendering Connection objects in a list.
Iterable< G > recursive()
Return an object that is a recursive representation.
The view of the locked items view control.