org.jboss.errai.widgets.client
Class WSGrid.WSCell
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.jboss.errai.widgets.client.WSGrid.WSCell
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget
- Enclosing class:
- WSGrid
public class WSGrid.WSCell
- extends com.google.gwt.user.client.ui.Composite
| 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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
getWidget, initWidget, isAttached, onAttach, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
panel
protected com.google.gwt.user.client.ui.SimplePanel panel
cellFormat
protected WSCellFormatter cellFormat
numeric
protected boolean numeric
edit
protected boolean edit
originalRow
protected int originalRow
row
protected int row
col
protected int col
rowspan
protected int rowspan
colspan
protected int colspan
grid
protected WSGrid.WSAbstractGrid grid
WSGrid.WSCell
public WSGrid.WSCell(WSGrid.WSAbstractGrid grid,
WSCellFormatter cellFormat,
int row,
int column)
WSGrid.WSCell
public WSGrid.WSCell()
edit
public void edit()
- Calling this method will place the cell into edit mode.
stopedit
public void stopedit()
- Ends a current edit operation.
cancelEdit
public void cancelEdit()
blur
public void blur()
- Blurs the current cell.
notifyCellUpdate
public void notifyCellUpdate(Object newValue)
notifyCellAfterUpdate
public void notifyCellAfterUpdate()
focus
public void focus()
- Focuses the current cell.
focusRange
public void focusRange()
- Focuses a range between this cell and the currently selected cell.
getOriginalRow
public int getOriginalRow()
setOriginalRow
public void setOriginalRow(int originalRow)
getRow
public int getRow()
getCol
public int getCol()
isEdit
public boolean isEdit()
setValue
public void setValue(String html)
setValue
public void setValue(WSCellFormatter formatter)
getValue
public String getValue()
getCellFormat
public WSCellFormatter getCellFormat()
mergeColumns
public void mergeColumns(int cols)
mergeRows
public void mergeRows(int rows)
isColSpan
public boolean isColSpan()
getColspan
public int getColspan()
isRowSpan
public boolean isRowSpan()
getRowspan
public int getRowspan()
getLeftwareColspan
public int getLeftwareColspan()
getUpwardRowspan
public int getUpwardRowspan()
setHeight
public void setHeight(String height)
- Overrides:
setHeight in class com.google.gwt.user.client.ui.UIObject
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event)
- Specified by:
onBrowserEvent in interface com.google.gwt.user.client.EventListener- Overrides:
onBrowserEvent in class com.google.gwt.user.client.ui.Composite
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.