|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.java.text.FieldPosition
public class FieldPosition
FieldPosition is used to identify fields in formatted Strings.
| Constructor Summary | |
|---|---|
FieldPosition(Format.Field attribute)
Constructs a new FieldPosition on the specified Field attribute. |
|
FieldPosition(Format.Field attribute,
int field)
Constructs a new FieldPosition on the specified Field attribute and field id. |
|
FieldPosition(int field)
Constructs a new FieldPosition on the specified field. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Compares the specified object to this FieldPosition and answer if they are equal. |
int |
getBeginIndex()
Answers the index of the beginning of the field. |
int |
getEndIndex()
Answers the index one past the end of the field. |
int |
getField()
Answers the field which is being identified. |
Format.Field |
getFieldAttribute()
Answers the attribute which is being identified. |
int |
hashCode()
Answers an integer hash code for the receiver. |
void |
setBeginIndex(int index)
Sets the index of the beginning of the field. |
void |
setEndIndex(int index)
Sets the index of the end of the field. |
java.lang.String |
toString()
Answers the string representation of this FieldPosition. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldPosition(int field)
field - the field to identifypublic FieldPosition(Format.Field attribute)
attribute - the field attribute to identify
public FieldPosition(Format.Field attribute,
int field)
attribute - the field attribute to identifyfield - the field to identify| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - the object to compare with this object
hashCode()public int getBeginIndex()
public int getEndIndex()
public int getField()
public Format.Field getFieldAttribute()
public int hashCode()
hashCode in class java.lang.Objectequals(java.lang.Object)public void setBeginIndex(int index)
index - the index of the first character in the fieldpublic void setEndIndex(int index)
index - one past the index of the last character in the fieldpublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||