public class PalettePanel
extends com.google.gwt.user.client.ui.VerticalPanel
PaletteWidget
children that removed with
widget copies of the original.com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
Constructor and Description |
---|
PalettePanel(PickupDragController dragController) |
Modifier and Type | Method and Description |
---|---|
void |
add(PaletteWidget w)
Overloaded method that makes widgets draggable.
|
boolean |
remove(com.google.gwt.user.client.ui.Widget w)
Removed widgets that are instances of
PaletteWidget are immediately replaced with a
cloned copy of the original. |
add, getHorizontalAlignment, getVerticalAlignment, insert, insert, onEnsureDebugId, setHorizontalAlignment, setVerticalAlignment
getBody, getSpacing, getTable, setBorderWidth, setCellHeight, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setCellWidth, setSpacing
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public PalettePanel(PickupDragController dragController)
public void add(PaletteWidget w)
w
- the widget to be added are made draggablepublic boolean remove(com.google.gwt.user.client.ui.Widget w)
PaletteWidget
are immediately replaced with a
cloned copy of the original.remove
in interface com.google.gwt.user.client.ui.HasWidgets
remove
in class com.google.gwt.user.client.ui.VerticalPanel
w
- the widget to remove