Gridarta Editor
net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer Class Reference

A DefaultListCellRenderer that renders values of a {}. More...

+ Inheritance diagram for net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer:
+ Collaboration diagram for net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer:

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...
 

Detailed Description

A DefaultListCellRenderer that renders values of a {}.

Author
Andreas Kirschbaum

Definition at line 34 of file MapListCellRenderer.java.

Constructor & Destructor Documentation

◆ MapListCellRenderer()

net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.MapListCellRenderer ( @NotNull final MapsIndex  mapsIndex)

Creates a new instance.

Parameters
mapsIndexthe maps index to display

Definition at line 51 of file MapListCellRenderer.java.

References net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.mapsIndex.

Member Function Documentation

◆ getListCellRendererComponent()

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 
)

Member Data Documentation

◆ mapsIndex

final MapsIndex net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.mapsIndex
private

◆ serialVersionUID

final long net.sf.gridarta.gui.dialog.gomap.MapListCellRenderer.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 39 of file MapListCellRenderer.java.


The documentation for this class was generated from the following file: