public class Entry extends BaseEntry implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Entry> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
Entry() |
|
Entry(float x,
float y)
A Entry represents one single entry in the chart.
|
|
Entry(float x,
float y,
android.graphics.drawable.Drawable icon)
A Entry represents one single entry in the chart.
|
|
Entry(float x,
float y,
android.graphics.drawable.Drawable icon,
java.lang.Object data)
A Entry represents one single entry in the chart.
|
|
Entry(float x,
float y,
java.lang.Object data)
A Entry represents one single entry in the chart.
|
protected |
Entry(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
Entry |
copy()
returns an exact copy of the entry
|
int |
describeContents() |
boolean |
equalTo(Entry e)
Compares value, xIndex and data of the entries.
|
float |
getX()
Returns the x-value of this Entry object.
|
void |
setX(float x)
Sets the x-value of this Entry object.
|
java.lang.String |
toString()
returns a string representation of the entry containing x-index and value
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Entry> CREATOR
public Entry()
public Entry(float x,
float y)
x - the x valuey - the y value (the actual value of the entry)public Entry(float x,
float y,
java.lang.Object data)
x - the x valuey - the y value (the actual value of the entry)data - Spot for additional data this Entry represents.public Entry(float x,
float y,
android.graphics.drawable.Drawable icon)
x - the x valuey - the y value (the actual value of the entry)icon - icon imagepublic Entry(float x,
float y,
android.graphics.drawable.Drawable icon,
java.lang.Object data)
x - the x valuey - the y value (the actual value of the entry)icon - icon imagedata - Spot for additional data this Entry represents.protected Entry(android.os.Parcel in)
public float getX()
public void setX(float x)
x - public Entry copy()
public boolean equalTo(Entry e)
e - public java.lang.String toString()
toString in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable