us.asciiroth.client.ui
Class Palette

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
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener
Direct Known Subclasses:
AttributesPalette, InventoryPalette

public class Palette
extends com.google.gwt.user.client.ui.Composite

One of those little panels on the right-hand side. There are different palettes in the game and the map editor, although the general layout of the applications are the same.


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
Palette()
          Constructor.
 
Method Summary
 void setBodyWidget(com.google.gwt.user.client.ui.Widget w)
          Set the widget that will occupy the body of the palette, under its title.
 void setTitle(java.lang.String titleStr)
           
 
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

Palette

public Palette()
Constructor.

Method Detail

setBodyWidget

public void setBodyWidget(com.google.gwt.user.client.ui.Widget w)
Set the widget that will occupy the body of the palette, under its title.

Parameters:
w -

setTitle

public void setTitle(java.lang.String titleStr)
Overrides:
setTitle in class com.google.gwt.user.client.ui.UIObject

0.7

© 2009 Alx Dark