com.tensegrity.palowebviewer.modules.ui.client
Class DimensionsPanel

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.CellPanel
                      extended by com.google.gwt.user.client.ui.HorizontalPanel
                          extended by com.tensegrity.palowebviewer.modules.ui.client.DimensionsPanel
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAlignment, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasVerticalAlignment, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, IDropTarget

public class DimensionsPanel
extends com.google.gwt.user.client.ui.HorizontalPanel
implements IDropTarget

Horizontal panel of DimensionWidget widgets.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
 
Field Summary
 
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT
 
Fields inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
ALIGN_BOTTOM, ALIGN_MIDDLE, ALIGN_TOP
 
Constructor Summary
DimensionsPanel(UIManager uiManager, IDimensionList dimList, DnDManager dndManager, IWidgetFactory widgetFactory)
           
 
Method Summary
 void acceptDrop(com.google.gwt.user.client.ui.Widget widget, int x, int y)
           
 boolean canAcceptDrop(com.google.gwt.user.client.ui.Widget widget, int x, int y)
           
 void cancelDrop(com.google.gwt.user.client.ui.Widget widget)
           
protected  IDimensionList getDimensionList()
           
 void removeDragObject(com.google.gwt.user.client.ui.Widget widget)
           
 void setDimensionSelectorVisible(boolean value)
           
 
Methods inherited from class com.google.gwt.user.client.ui.HorizontalPanel
add, getHorizontalAlignment, getVerticalAlignment, insert, remove, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class com.google.gwt.user.client.ui.CellPanel
getBody, getSpacing, getTable, setBorderWidth, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setSpacing
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimensionsPanel

public DimensionsPanel(UIManager uiManager,
                       IDimensionList dimList,
                       DnDManager dndManager,
                       IWidgetFactory widgetFactory)
Method Detail

setDimensionSelectorVisible

public void setDimensionSelectorVisible(boolean value)

canAcceptDrop

public boolean canAcceptDrop(com.google.gwt.user.client.ui.Widget widget,
                             int x,
                             int y)
Specified by:
canAcceptDrop in interface IDropTarget

acceptDrop

public void acceptDrop(com.google.gwt.user.client.ui.Widget widget,
                       int x,
                       int y)
Specified by:
acceptDrop in interface IDropTarget

cancelDrop

public void cancelDrop(com.google.gwt.user.client.ui.Widget widget)
Specified by:
cancelDrop in interface IDropTarget

removeDragObject

public void removeDragObject(com.google.gwt.user.client.ui.Widget widget)
Specified by:
removeDragObject in interface IDropTarget

getDimensionList

protected IDimensionList getDimensionList()