Crossfire JXClient, Trunk
com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec Class Reference

Stores information about a list item. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec:

Public Member Functions

int getIndex ()
 Returns the list item index. More...
 
Rectangle getRectangle ()
 Returns the bounding box of the list item. More...
 

Private Member Functions

 Rec (final int index, @NotNull final Rectangle rectangle)
 Creates a new instance. More...
 

Private Attributes

final int index
 The list item index. More...
 
final Rectangle rectangle
 The bounding box of the list item index. More...
 

Detailed Description

Stores information about a list item.

Definition at line 610 of file GUIList.java.

Constructor & Destructor Documentation

◆ Rec()

com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec.Rec ( final int  index,
@NotNull final Rectangle  rectangle 
)
private

Creates a new instance.

Parameters
indexthe list item index
rectanglethe bounding box of the list item

Definition at line 628 of file GUIList.java.

References com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec.index, and com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec.rectangle.

Member Function Documentation

◆ getIndex()

Returns the list item index.

Returns
the index

Definition at line 637 of file GUIList.java.

References com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec.index.

◆ getRectangle()

Rectangle com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec.getRectangle ( )

Returns the bounding box of the list item.

Returns
the bounding box

Definition at line 646 of file GUIList.java.

References com.realtime.crossfire.jxclient.gui.list.GUIList< T extends GUIElement >.Rec.rectangle.

Member Data Documentation

◆ index

◆ rectangle


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