public class VScrollTable.VScrollTableBody.VScrollTableRow extends com.google.gwt.user.client.ui.Panel implements ActionOwner
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
applyZeroWidthFix |
protected ArrayList<com.google.gwt.user.client.ui.Widget> |
childWidgets |
protected int |
rowKey |
| Constructor and Description |
|---|
VScrollTableRow()
Add a dummy row, used for measurements if Table is empty.
|
VScrollTableRow(UIDL uidl,
char[] aligns) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCell(UIDL rowUidl,
String text,
char align,
String style,
boolean textIsHTML,
boolean sorted) |
void |
addCell(UIDL rowUidl,
String text,
char align,
String style,
boolean textIsHTML,
boolean sorted,
String description) |
void |
addCell(UIDL rowUidl,
com.google.gwt.user.client.ui.Widget w,
char align,
String style,
boolean sorted,
String description) |
protected void |
addCellsFromUIDL(UIDL uidl,
char[] aligns,
int col,
int visibleColumnIndex) |
Action[] |
getActions() |
ApplicationConnection |
getClient() |
int |
getIndex() |
String |
getKey() |
String |
getPaintableId() |
TooltipInfo |
getTooltip(com.google.gwt.dom.client.Element target) |
TooltipInfo |
getTooltipInfo() |
com.google.gwt.user.client.ui.Widget |
getWidgetForPaintable() |
protected void |
initCellWidths() |
protected void |
initCellWithText(String text,
char align,
String style,
boolean textIsHTML,
boolean sorted,
String description,
com.google.gwt.dom.client.TableCellElement td) |
protected void |
initCellWithWidget(com.google.gwt.user.client.ui.Widget w,
char align,
String style,
boolean sorted,
com.google.gwt.dom.client.TableCellElement td) |
boolean |
isBefore(VScrollTable.VScrollTableBody.VScrollTableRow row1)
Makes a check based on indexes whether the row is before the
compared row.
|
boolean |
isInViewPort()
Detects whether row is visible in tables viewport.
|
protected boolean |
isRenderHtmlInCells()
Overriding this and returning true causes all text cells to be
rendered as HTML.
|
boolean |
isSelected()
Has the row been selected?
|
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
protected void |
onDetach() |
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
protected void |
setCellWidth(int cellIx,
int width) |
void |
showContextMenu(com.google.gwt.user.client.Event event) |
void |
showContextMenu(int left,
int top) |
protected void |
startRowDrag(com.google.gwt.user.client.Event event,
int type,
com.google.gwt.dom.client.Element targetTdOrTr) |
void |
toggleSelection()
Toggle the selection of the row
|
protected void |
updateCellStyleNames(com.google.gwt.dom.client.TableCellElement td,
String primaryStyleName) |
protected void |
updateStyleNames(String primaryStyleName) |
add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected ArrayList<com.google.gwt.user.client.ui.Widget> childWidgets
protected final int rowKey
protected boolean applyZeroWidthFix
public VScrollTableRow(UIDL uidl, char[] aligns)
public VScrollTableRow()
protected void updateStyleNames(String primaryStyleName)
public TooltipInfo getTooltipInfo()
protected void initCellWidths()
protected void setCellWidth(int cellIx,
int width)
protected void addCellsFromUIDL(UIDL uidl, char[] aligns, int col, int visibleColumnIndex)
protected boolean isRenderHtmlInCells()
public boolean isInViewPort()
public boolean isBefore(VScrollTable.VScrollTableBody.VScrollTableRow row1)
row1 - public int getIndex()
protected void onDetach()
onDetach in class com.google.gwt.user.client.ui.Widgetpublic String getKey()
public void addCell(UIDL rowUidl, String text, char align, String style, boolean textIsHTML, boolean sorted)
public void addCell(UIDL rowUidl, String text, char align, String style, boolean textIsHTML, boolean sorted, String description)
protected void initCellWithText(String text, char align, String style, boolean textIsHTML, boolean sorted, String description, com.google.gwt.dom.client.TableCellElement td)
protected void updateCellStyleNames(com.google.gwt.dom.client.TableCellElement td,
String primaryStyleName)
public void addCell(UIDL rowUidl, com.google.gwt.user.client.ui.Widget w, char align, String style, boolean sorted, String description)
protected void initCellWithWidget(com.google.gwt.user.client.ui.Widget w,
char align,
String style,
boolean sorted,
com.google.gwt.dom.client.TableCellElement td)
public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove in interface com.google.gwt.user.client.ui.HasWidgetsremove in class com.google.gwt.user.client.ui.Panelpublic TooltipInfo getTooltip(com.google.gwt.dom.client.Element target)
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetprotected void startRowDrag(com.google.gwt.user.client.Event event,
int type,
com.google.gwt.dom.client.Element targetTdOrTr)
public void showContextMenu(com.google.gwt.user.client.Event event)
public void showContextMenu(int left,
int top)
public boolean isSelected()
public void toggleSelection()
public Action[] getActions()
getActions in interface ActionOwnerpublic ApplicationConnection getClient()
getClient in interface ActionOwnerpublic String getPaintableId()
getPaintableId in interface ActionOwnerpublic com.google.gwt.user.client.ui.Widget getWidgetForPaintable()
Copyright © 2016 Vaadin Ltd. All rights reserved.