|
|||||||||
| 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.DataListItem
ListView
public class DataListItem
A item contained in a List.
DataList| 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 | |
|---|---|
DataListItem()
Deprecated. Creates a new list item. |
|
DataListItem(java.lang.String text)
Deprecated. Creates a new list item. |
|
| Method Summary | |
|---|---|
void |
addSelectionListener(SelectionListener<DataListEvent> listener)
Deprecated. Adds a selection listener. |
java.lang.String |
getIconStyle()
Deprecated. Returns the icon style. |
DataList |
getList()
Deprecated. Returns the item's parent list. |
java.lang.String |
getText()
Deprecated. Returns the item's text. |
java.lang.String |
getTextStyle()
Deprecated. Returns the item's text style. |
boolean |
isChecked()
Deprecated. Returns true if the item is checked. |
void |
removeSelectionListener(SelectionListener<DataListEvent> listener)
Deprecated. Removes a previously added listener. |
void |
setChecked(boolean checked)
Deprecated. Sets the item's checked state. |
void |
setIconStyle(java.lang.String iconStyle)
Deprecated. Sets the item's icon style. |
void |
setText(java.lang.String text)
Deprecated. Sets the item's text. |
void |
setTextStyle(java.lang.String textStyle)
Deprecated. Sets the item's text style. |
| 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 DataListItem()
public DataListItem(java.lang.String text)
text - the text| Method Detail |
|---|
public void addSelectionListener(SelectionListener<DataListEvent> listener)
listener - the listenerpublic java.lang.String getIconStyle()
public DataList getList()
public java.lang.String getText()
public java.lang.String getTextStyle()
public boolean isChecked()
true if the item is checked.
public void removeSelectionListener(SelectionListener<DataListEvent> listener)
listener - the listener to be removedpublic void setChecked(boolean checked)
checked - the check statepublic void setIconStyle(java.lang.String iconStyle)
.my-icon {
background: url(images/icons/my-icon.png) no-repeat center left !important;
}
iconStyle - the icon stylepublic void setText(java.lang.String text)
text - the textpublic void setTextStyle(java.lang.String textStyle)
textStyle - the text style name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||