us.asciiroth.client.ui
Class InventoryPalette

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by us.asciiroth.client.ui.Palette
                  extended by us.asciiroth.client.ui.InventoryPalette
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, InventoryListener

public class InventoryPalette
extends Palette
implements InventoryListener

Would like to rationalize this so that there's an intervening list view, but that will be challenging.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
InventoryPalette()
           
 
Method Summary
 void onInventoryChanged(PlayerBag bag)
          The player's inventory has changed: items have been added or removed, or the selected item has changed.
 
Methods inherited from class us.asciiroth.client.ui.Palette
setBodyWidget, setTitle
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
isAttached, onBrowserEvent
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
fireEvent, getParent, removeFromParent, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStylePrimaryName, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InventoryPalette

public InventoryPalette()
Method Detail

onInventoryChanged

public void onInventoryChanged(PlayerBag bag)
Description copied from interface: InventoryListener
The player's inventory has changed: items have been added or removed, or the selected item has changed.

Specified by:
onInventoryChanged in interface InventoryListener
Parameters:
bag - the player's bag of items

0.7

2009 Alx Dark