public class VScrollTablePatched.VScrollTableBody.VScrollTableRow
extends com.google.gwt.user.client.ui.Panel
implements com.vaadin.client.ui.ActionOwner
Modifier and Type | Field and Description |
---|---|
protected boolean |
applyZeroWidthFix |
protected ArrayList<com.google.gwt.user.client.ui.Widget> |
childWidgets |
protected int |
rowKey |
protected String |
rowStyle |
Constructor and Description |
---|
VScrollTableRow()
Add a dummy row, used for measurements if Table is empty.
|
VScrollTableRow(com.vaadin.client.UIDL uidl,
char[] aligns) |
Modifier and Type | Method and Description |
---|---|
void |
addCell(com.vaadin.client.UIDL rowUidl,
String text,
char align,
String style,
boolean textIsHTML,
boolean sorted) |
void |
addCell(com.vaadin.client.UIDL rowUidl,
String text,
char align,
String style,
boolean textIsHTML,
boolean sorted,
String description) |
void |
addCell(com.vaadin.client.UIDL rowUidl,
com.google.gwt.user.client.ui.Widget w,
char align,
String style,
boolean sorted,
String description) |
protected void |
addCellsFromUIDL(com.vaadin.client.UIDL uidl,
char[] aligns,
int col,
int visibleColumnIndex) |
com.vaadin.client.ui.Action[] |
getActions() |
com.vaadin.client.ApplicationConnection |
getClient() |
int |
getIndex() |
String |
getKey() |
String |
getPaintableId() |
com.vaadin.client.TooltipInfo |
getTooltip(com.google.gwt.dom.client.Element target) |
com.vaadin.client.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(VScrollTablePatched.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, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected ArrayList<com.google.gwt.user.client.ui.Widget> childWidgets
protected final int rowKey
protected String rowStyle
protected boolean applyZeroWidthFix
public VScrollTableRow(com.vaadin.client.UIDL uidl, char[] aligns)
public VScrollTableRow()
protected void updateStyleNames(String primaryStyleName)
public com.vaadin.client.TooltipInfo getTooltipInfo()
protected void initCellWidths()
protected void setCellWidth(int cellIx, int width)
protected void addCellsFromUIDL(com.vaadin.client.UIDL uidl, char[] aligns, int col, int visibleColumnIndex)
protected boolean isRenderHtmlInCells()
public boolean isInViewPort()
public boolean isBefore(VScrollTablePatched.VScrollTableBody.VScrollTableRow row1)
row1
- public int getIndex()
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Widget
public String getKey()
public void addCell(com.vaadin.client.UIDL rowUidl, String text, char align, String style, boolean textIsHTML, boolean sorted)
public void addCell(com.vaadin.client.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(com.vaadin.client.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.HasWidgets
remove
in class com.google.gwt.user.client.ui.Panel
public com.vaadin.client.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.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
protected 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 com.vaadin.client.ui.Action[] getActions()
getActions
in interface com.vaadin.client.ui.ActionOwner
public com.vaadin.client.ApplicationConnection getClient()
getClient
in interface com.vaadin.client.ui.ActionOwner
public String getPaintableId()
getPaintableId
in interface com.vaadin.client.ui.ActionOwner
public com.google.gwt.user.client.ui.Widget getWidgetForPaintable()
Copyright © 2017 Magnolia International Ltd.. All rights reserved.