public interface ItemView
A list of CfItems.
| Method Summary | |
|---|---|
 void | 
addLocationListener(int index,
                    LocationListener locationListener)
Adds a LocationListener to be notified when the item displayed in
 a floor slot has changed. | 
 void | 
addLocationsListener(LocationsListener locationsListener)
Adds a LocationsListener to be notified when any displayed item
 has changed. | 
 CfItem | 
getItem(int index)
Returns the CfItem in a given slot. | 
 int | 
getSize()
Returns the number of items.  | 
 void | 
removeLocationListener(int index,
                       LocationListener locationListener)
Removes a LocationListener to be notified when the item displayed
 in a floor slot has changed. | 
 void | 
removeLocationsListener(LocationsListener locationsListener)
Removes a LocationsListener to be notified when any displayed
 item has changed. | 
| Method Detail | 
|---|
void addLocationListener(int index,
                         @NotNull
                         LocationListener locationListener)
LocationListener to be notified when the item displayed in
 a floor slot has changed.
index - the floor slotlocationListener - the location listener to add
void addLocationsListener(@NotNull
                          LocationsListener locationsListener)
LocationsListener to be notified when any displayed item
 has changed.
locationsListener - the locations listener to add@Nullable CfItem getItem(int index)
CfItem in a given slot.
index - the slot index
null if the slot is emptyint getSize()
void removeLocationListener(int index,
                            @NotNull
                            LocationListener locationListener)
LocationListener to be notified when the item displayed
 in a floor slot has changed.
index - the floor slotlocationListener - the location listener to remove
void removeLocationsListener(@NotNull
                             LocationsListener locationsListener)
LocationsListener to be notified when any displayed
 item has changed.
locationsListener - the locations listener to remove