|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.table.TableItem
Grid
public class TableItem
A row in a Table.
| Nested Class Summary |
|---|
| 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 |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
TableItem(java.lang.Object[] values)
Deprecated. Creates a new table item. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getCellStyles()
Deprecated. Returns the cell styles. |
java.lang.String[] |
getCellToolTips()
Deprecated. Returns the cell tool tips. |
Table |
getTable()
Deprecated. Returns the item's parent table. |
java.lang.Object |
getValue(int index)
Deprecated. Returns a cell value. |
java.lang.Object[] |
getValues()
Deprecated. Returns the item's values. |
void |
onComponentEvent(ComponentEvent ce)
Deprecated. Any events a component receives will be forwarded to this method. |
void |
setCellStyle(int index,
java.lang.String style)
Deprecated. Sets the style for a cell. |
void |
setCellToolTip(int index,
java.lang.String text)
Deprecated. Sets a cell tooltip. |
void |
setCellToolTips(java.lang.String[] toolTips)
Deprecated. Sets all of the cell tooltips |
void |
setText(int index,
java.lang.String text)
Deprecated. Sets a cell value. |
void |
setValue(int index,
java.lang.Object value)
Deprecated. Sets a cell value. |
void |
setWidget(int index,
com.google.gwt.user.client.ui.Widget widget)
Deprecated. Sets a widget as a cell value. |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getParent, isAttached |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TableItem(java.lang.Object[] values)
values - the cell values| Method Detail |
|---|
public Table getTable()
public java.lang.Object getValue(int index)
index - the cell index
public java.lang.Object[] getValues()
public void onComponentEvent(ComponentEvent ce)
ComponentComponent.onBrowserEvent(com.google.gwt.user.client.Event) method
should not be overridden or modified.
onComponentEvent in class Componentce - the base event
public void setCellStyle(int index,
java.lang.String style)
index - the column indexstyle - the new stylepublic java.lang.String[] getCellStyles()
public void setCellToolTip(int index,
java.lang.String text)
index - the column indextext - the text of the tool tippublic void setCellToolTips(java.lang.String[] toolTips)
toolTips - the tool tips to usepublic java.lang.String[] getCellToolTips()
public void setText(int index,
java.lang.String text)
index - the column indextext - the text
public void setValue(int index,
java.lang.Object value)
index - the column indexvalue - the value
public void setWidget(int index,
com.google.gwt.user.client.ui.Widget widget)
index - the column indexwidget - the widget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||