22 package com.realtime.crossfire.jxclient.items;
24 import org.jetbrains.annotations.NotNull;
25 import org.jetbrains.annotations.Nullable;
Interface for listeners interested in changed items.
void removeLocationsListener(@NotNull LocationsListener locationsListener)
Removes a LocationsListener to be notified when any displayed item has changed.
Interface for listeners interested in changed item locations.
int getSize()
Returns the number of items.
void addLocationListener(int index, @NotNull LocationListener locationListener)
Adds a LocationListener to be notified when the item displayed in a floor slot has changed...
void removeLocationListener(int index, @NotNull LocationListener locationListener)
Removes a LocationListener to be notified when the item displayed in a floor slot has changed...
void addLocationsListener(@NotNull 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.
The representation of a Crossfire Item, client-side.