us.asciiroth.client.ui
Class PlayerPalette

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.AttributesPalette
                      extended by us.asciiroth.client.ui.PlayerPalette
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, FlagsListener, PlayerListener

public class PlayerPalette
extends AttributesPalette
implements PlayerListener, FlagsListener


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
PlayerPalette()
           
 
Method Summary
 void onFlagsChanged(Agent agent)
          The flags for the player have been update.
 void onPlayerChanged(Player player)
          Player has been updated.
 void updateFlags(int flags)
           
 void updateHealth(int value)
           
 void updateName(java.lang.String name)
           
 
Methods inherited from class us.asciiroth.client.ui.AttributesPalette
setAttribute, setAttributeAlignMiddle
 
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

PlayerPalette

public PlayerPalette()
Method Detail

onFlagsChanged

public void onFlagsChanged(Agent agent)
Description copied from interface: FlagsListener
The flags for the player have been update.

Specified by:
onFlagsChanged in interface FlagsListener

onPlayerChanged

public void onPlayerChanged(Player player)
Description copied from interface: PlayerListener
Player has been updated.

Specified by:
onPlayerChanged in interface PlayerListener

updateFlags

public void updateFlags(int flags)

updateHealth

public void updateHealth(int value)

updateName

public void updateName(java.lang.String name)

0.7

2009 Alx Dark