com.realtime.crossfire.jxclient.gui.item
Interface GUIItemItemFactory

All Known Implementing Classes:
GUIItemFloorFactory, GUIItemInventoryFactory

public interface GUIItemItemFactory

A factory for creating GUIItemItem instances.


Method Summary
 int getMoveLocation()
          Returns the location to move items to when moving away.
 GUIElement newItem(int index)
          Creates a new GUIItemInventory instance.
 GUIItemItem newTemplateItem(int cellHeight)
          Creates a new GUIItemInventory instance.
 

Method Detail

getMoveLocation

int getMoveLocation()
Returns the location to move items to when moving away.

Returns:
the location

newItem

@NotNull
GUIElement newItem(int index)
Creates a new GUIItemInventory instance.

Parameters:
index - the item inventory's index
Returns:
the new instance

newTemplateItem

@NotNull
GUIItemItem newTemplateItem(int cellHeight)
Creates a new GUIItemInventory instance.

Parameters:
cellHeight - the cell size
Returns:
the new instance