Crossfire JXClient, Trunk
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
com.realtime.crossfire.jxclient.gui.list.ItemItemCellRenderer< T extends GUIItemItem > Class Template Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.list.ItemItemCellRenderer< T extends GUIItemItem >:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.list.ItemItemCellRenderer< T extends GUIItemItem >:
Collaboration graph

Public Member Functions

Component getListCellRendererComponent (@NotNull final JList<? extends T > list, @NotNull final T value, final int index, final boolean isSelected, final boolean cellHasFocus)
 
 ItemItemCellRenderer (@NotNull final GUIItemItem template)
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.gui.list.GUIListCellRenderer< T >
void setSize (final int width, int height)
 

Private Attributes

final GUIItemItem template
 

Static Private Attributes

static final long serialVersionUID = 1
 

Detailed Description

A ListCellRenderer that renders GUIMetaElement instances.

Parameters
<T>the type of the list elements
Author
Andreas Kirschbaum

Definition at line 38 of file ItemItemCellRenderer.java.

Constructor & Destructor Documentation

◆ ItemItemCellRenderer()

Creates a new instance.

Parameters
templatethe template used for painting

Definition at line 55 of file ItemItemCellRenderer.java.

Member Function Documentation

◆ getListCellRendererComponent()

Component com.realtime.crossfire.jxclient.gui.list.ItemItemCellRenderer< T extends GUIItemItem >.getListCellRendererComponent ( @NotNull final JList<? extends T >  list,
@NotNull final T  value,
final int  index,
final boolean  isSelected,
final boolean  cellHasFocus 
)

Definition at line 64 of file ItemItemCellRenderer.java.

Member Data Documentation

◆ serialVersionUID

final long com.realtime.crossfire.jxclient.gui.list.ItemItemCellRenderer< T extends GUIItemItem >.serialVersionUID = 1
staticprivate

The serial version UID.

Definition at line 43 of file ItemItemCellRenderer.java.

◆ template

The template used for painting.

Definition at line 49 of file ItemItemCellRenderer.java.


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