us.asciiroth.client.ui
Class CellInfoPanel

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.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by us.asciiroth.client.ui.CellInfoPanel
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.SourcesPopupEvents, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>, MouseCellListener

public class CellInfoPanel
extends com.google.gwt.user.client.ui.PopupPanel
implements MouseCellListener

This panel appears when you mouse over a cell and provides a legend for the contents of the cell. It is really complicated becausee mouseout doesn't always seem to work...


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
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
CellInfoPanel()
           
 
Method Summary
 void display()
           
 void onContextMenu(com.google.gwt.user.client.Element td, Cell cell, boolean shifted)
           
 void onMouseDown(com.google.gwt.user.client.Element td, Cell cell, boolean shifted)
           
 void onMouseOut(com.google.gwt.user.client.Element td, Cell cell, boolean shifted)
           
 void onMouseOver(com.google.gwt.user.client.Element td, Cell cell, boolean shifted)
           
 void onMouseUp(com.google.gwt.user.client.Element td, Cell cell, boolean shifted)
           
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
clear
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
fireEvent, getParent, isAttached, onBrowserEvent, removeFromParent, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleName, setStylePrimaryName, setVisible, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

CellInfoPanel

public CellInfoPanel()
Method Detail

display

public void display()

onContextMenu

public void onContextMenu(com.google.gwt.user.client.Element td,
                          Cell cell,
                          boolean shifted)
Specified by:
onContextMenu in interface MouseCellListener

onMouseDown

public void onMouseDown(com.google.gwt.user.client.Element td,
                        Cell cell,
                        boolean shifted)
Specified by:
onMouseDown in interface MouseCellListener

onMouseOut

public void onMouseOut(com.google.gwt.user.client.Element td,
                       Cell cell,
                       boolean shifted)
Specified by:
onMouseOut in interface MouseCellListener

onMouseOver

public void onMouseOver(com.google.gwt.user.client.Element td,
                        Cell cell,
                        boolean shifted)
Specified by:
onMouseOver in interface MouseCellListener

onMouseUp

public void onMouseUp(com.google.gwt.user.client.Element td,
                      Cell cell,
                      boolean shifted)
Specified by:
onMouseUp in interface MouseCellListener

0.7

© 2009 Alx Dark