|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.util.Elements
public class Elements
Utility class for identifying elements either as a single element, array of elements, a id, and index.
Field Summary | |
---|---|
static int |
ARRAY
Constant for an element array. |
com.google.gwt.user.client.Element |
element
Single element. |
static int |
ELEMENT
Constant for a single element. |
com.google.gwt.user.client.Element[] |
elements
Array of elements |
java.lang.String |
id
Element id. |
static int |
ID
Constant for an element id. |
int |
index
Element index. |
static int |
INDEX
Constant for a element index. |
Constructor Summary | |
---|---|
Elements(com.google.gwt.user.client.Element element)
|
|
Elements(com.google.gwt.user.client.Element[] elements)
|
|
Elements(int index)
Creates a new index element info. |
|
Elements(java.util.List<com.google.gwt.user.client.Element> elements)
|
|
Elements(java.lang.String id)
Creates a new id element info. |
Method Summary | |
---|---|
int |
getType()
Returns the element info type. |
boolean |
isArray()
Returns true if the value is an array. |
boolean |
isElement()
Returns true if the value is an element. |
boolean |
isId()
Returns true if the value is an id. |
boolean |
isIndex()
Returns true if the value is an index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ARRAY
public static final int ELEMENT
public static final int ID
public static final int INDEX
public com.google.gwt.user.client.Element element
public com.google.gwt.user.client.Element[] elements
public java.lang.String id
public int index
Constructor Detail |
---|
public Elements(com.google.gwt.user.client.Element element)
public Elements(com.google.gwt.user.client.Element[] elements)
public Elements(java.util.List<com.google.gwt.user.client.Element> elements)
public Elements(int index)
index
- the indexpublic Elements(java.lang.String id)
id
- the idMethod Detail |
---|
public int getType()
public boolean isArray()
public boolean isElement()
public boolean isId()
public boolean isIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |