Class CellComment
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- com.google.gwt.user.client.ui.PopupPanel
-
- com.vaadin.client.widgets.Overlay
-
- com.vaadin.client.ui.VOverlay
-
- com.vaadin.addon.spreadsheet.client.SpreadsheetOverlay
-
- com.vaadin.addon.spreadsheet.client.CellComment
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,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.AcceptsOneWidget,com.google.gwt.user.client.ui.HasAnimation,com.google.gwt.user.client.ui.HasOneWidget,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.HasWidgets,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,com.google.gwt.user.client.ui.SourcesPopupEvents,Iterable<com.google.gwt.user.client.ui.Widget>
public class CellComment extends SpreadsheetOverlay
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.addon.spreadsheet.client.SpreadsheetOverlay
SpreadsheetOverlay.SpreadsheetContextMenu
-
Nested classes/interfaces inherited from class com.vaadin.client.widgets.Overlay
com.vaadin.client.widgets.Overlay.PositionAndSize, com.vaadin.client.widgets.Overlay.ResizeAnimation
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCOMMENT_OVERLAY_LINE_CLASSNAME
-
Constructor Summary
Constructors Constructor Description CellComment(SheetWidget owner, com.google.gwt.dom.client.Element paneElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbringForward()intgetCol()intgetRow()voidhide()voidpushBack()voidrefreshPositionAccordingToCellRightCorner()voidsetAuthor(String authorName)voidsetCommentText(String text)voidsetEditMode(boolean editMode)voidsetInvalidFormulaMessage(String invalidFormulaMessage)voidsetSheetElement(com.google.gwt.dom.client.Element paneElement)voidsetVisible(boolean visible)voidshow(com.google.gwt.dom.client.Element cellElement, int row, int col)voidshowDependingToCellRightCorner(com.google.gwt.dom.client.Element cellElement, int row, int col)-
Methods inherited from class com.vaadin.addon.spreadsheet.client.SpreadsheetOverlay
getOverlayContainer
-
Methods inherited from class com.vaadin.client.ui.VOverlay
getApplicationConnection, getOverlayContainer, setApplicationConnection, setOverlayContainerLabel
-
Methods inherited from class com.vaadin.client.widgets.Overlay
center, getOwner, hide, hide, isFitInWindow, isShimElementEnabled, needsShimElement, onAttach, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setWidth, setZIndex, show, updateShadowSizeAndPosition
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeTo
-
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
COMMENT_OVERLAY_LINE_CLASSNAME
protected static final String COMMENT_OVERLAY_LINE_CLASSNAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CellComment
public CellComment(SheetWidget owner, com.google.gwt.dom.client.Element paneElement)
-
-
Method Detail
-
bringForward
public void bringForward()
-
pushBack
public void pushBack()
-
hide
public void hide()
- Overrides:
hidein classcom.vaadin.client.widgets.Overlay
-
setCommentText
public void setCommentText(String text)
-
getCol
public int getCol()
-
getRow
public int getRow()
-
show
public void show(com.google.gwt.dom.client.Element cellElement, int row, int col)
-
showDependingToCellRightCorner
public void showDependingToCellRightCorner(com.google.gwt.dom.client.Element cellElement, int row, int col)
-
refreshPositionAccordingToCellRightCorner
public void refreshPositionAccordingToCellRightCorner()
-
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisiblein interfacecom.google.gwt.user.client.ui.HasVisibility- Overrides:
setVisiblein classcom.vaadin.client.widgets.Overlay
-
setSheetElement
public void setSheetElement(com.google.gwt.dom.client.Element paneElement)
-
setEditMode
public void setEditMode(boolean editMode)
-
setAuthor
public void setAuthor(String authorName)
-
setInvalidFormulaMessage
public void setInvalidFormulaMessage(String invalidFormulaMessage)
-
-