| Modifier | Constructor and Description |
|---|---|
protected |
Row(int index,
com.google.gwt.dom.client.Element elem,
AbstractGrid<?> grid,
boolean hasSelectionCell) |
protected |
Row(int index,
com.google.gwt.dom.client.Element elem,
AbstractGrid<?> grid,
boolean hasSelectionCell,
boolean hasRowDetails,
boolean showRowDetailsIcon) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStyleDependentName(String styleSuffix)
Adds a style name to the row
|
protected Cell |
getCell(String column) |
RowDetailsPanel |
getDetailsPanel() |
com.google.gwt.dom.client.Element |
getElem() |
protected AbstractGrid<?> |
getGrid() |
int |
getIndex() |
Button |
getRowDetailsIcon() |
com.google.gwt.user.client.ui.Widget |
getWidget(String column)
Gets the cell internal widget
|
boolean |
isDetailsShown() |
boolean |
isEnabled() |
boolean |
isHasRowDetails() |
boolean |
isHasSelectionCell() |
protected boolean |
isSelected() |
boolean |
isShowRowDetailsIcon() |
void |
removeStyleDependentName(String styleSuffix)
Adds a style name to the row
|
protected void |
setCell(Cell cell,
String column) |
void |
setEnabled(boolean enabled) |
void |
setSelected(boolean selected) |
void |
setStyle(String styleName)
Sets the style name of the row
|
void |
setVisible(boolean visible) |
void |
showDetails(boolean show,
boolean fireEvents)
Shows the details of this row.
|
protected Row(int index, com.google.gwt.dom.client.Element elem, AbstractGrid<?> grid, boolean hasSelectionCell, boolean hasRowDetails, boolean showRowDetailsIcon)
protected Row(int index, com.google.gwt.dom.client.Element elem, AbstractGrid<?> grid, boolean hasSelectionCell)
public void addStyleDependentName(String styleSuffix)
rowIndex - public com.google.gwt.user.client.ui.Widget getWidget(String column)
column - public void removeStyleDependentName(String styleSuffix)
rowIndex - public void setStyle(String styleName)
rowIndex - public void setSelected(boolean selected)
protected boolean isSelected()
protected AbstractGrid<?> getGrid()
public void setVisible(boolean visible)
public boolean isEnabled()
public void showDetails(boolean show,
boolean fireEvents)
show - fireEvents - public boolean isDetailsShown()
true if the details of the row are shownpublic void setEnabled(boolean enabled)
enabled - the enabled to setpublic RowDetailsPanel getDetailsPanel()
public Button getRowDetailsIcon()
public int getIndex()
public com.google.gwt.dom.client.Element getElem()
public boolean isHasSelectionCell()
public boolean isHasRowDetails()
public boolean isShowRowDetailsIcon()
Copyright © 2014. All rights reserved.