20 package net.sf.gridarta.gui.dialog.plugin.parameter.map;
22 import java.awt.Component;
23 import javax.swing.DefaultListCellRenderer;
24 import javax.swing.JList;
27 import org.jetbrains.annotations.NotNull;
28 import org.jetbrains.annotations.Nullable;
52 public Component
getListCellRendererComponent(@NotNull
final JList<?> list, @Nullable
final Object value,
final int index,
final boolean isSelected,
final boolean cellHasFocus) {
59 newVal =
"Current - " + mapName;
61 return super.getListCellRendererComponent(list, newVal, index, isSelected, cellHasFocus);
A MapManager manages all opened maps.
static final long serialVersionUID
The serial version UID.
final MapManager<?, ?, ?> mapManager
The map manager to use.
MapModel< G, A, R > getMapModel()
Returns the map model.
MapParameterCellRenderer(@NotNull final MapManager<?, ?, ?> mapManager)
Create a new instance.
Base package of all Gridarta classes.
MapControl< G, A, R > getCurrentMap()
Returns the current map.
A getMapArchObject()
Returns the Map Arch Object with the meta information about the map.
Component getListCellRendererComponent(@NotNull final JList<?> list, @Nullable final Object value, final int index, final boolean isSelected, final boolean cellHasFocus)
Currently nothing more than a marker interface for unification.