![]() |
Gridarta Editor
|
A DefaultListCellRenderer that renders values of a {}. More...
Public Member Functions | |
Component | getListCellRendererComponent (@NotNull final JList<?> list, @NotNull final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) |
MapListCellRenderer (@NotNull final MapsIndex mapsIndex) | |
Creates a new instance. More... | |
Private Attributes | |
final MapsIndex | mapsIndex |
The displayed MapsIndex. More... | |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
The serial version UID. More... | |
A DefaultListCellRenderer that renders values of a {}.
Definition at line 34 of file MapListCellRenderer.java.
net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.MapListCellRenderer | ( | @NotNull final MapsIndex | mapsIndex | ) |
Creates a new instance.
mapsIndex | the maps index to display |
Definition at line 51 of file MapListCellRenderer.java.
References net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.mapsIndex.
Component net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.getListCellRendererComponent | ( | @NotNull final JList<?> | list, |
@NotNull final Object | value, | ||
final int | index, | ||
final boolean | isSelected, | ||
final boolean | cellHasFocus | ||
) |
Definition at line 57 of file MapListCellRenderer.java.
References net.sf.gridarta.model.mapmodel.MapFile.getMapPath(), net.sf.gridarta.model.index.AbstractIndex< V extends Serializable >.getName(), list, net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.mapsIndex, and name.
|
private |
The displayed MapsIndex.
Definition at line 45 of file MapListCellRenderer.java.
Referenced by net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.getListCellRendererComponent(), and net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.MapListCellRenderer().
|
staticprivate |
The serial version UID.
Definition at line 39 of file MapListCellRenderer.java.