|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.format.ReplaceFormatter
public class ReplaceFormatter
Title: IJChart
Description: a chart library for the Java(tm) platform.
Replace a value to other.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
ReplaceFormatter(java.lang.Object[] sourceValues,
java.lang.Object[] replaceValues)
The constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object. |
java.lang.String |
format(java.lang.Object obj,
int index)
Returns the replaced values. |
java.lang.Object[] |
getSourceValues()
Returns the source values. |
int |
hashCode()
Returns a hash code. |
java.lang.String |
toString()
Returns a string representation of this Range. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceFormatter(java.lang.Object[] sourceValues, java.lang.Object[] replaceValues)
sourceValues
- Object[]
The source values (null not permitted).replaceValues
- Object[]
The replaced values (null not permitted).Method Detail |
---|
public java.lang.Object[] getSourceValues()
public java.lang.Object[] getReplaceValues()
public java.lang.String format(java.lang.Object obj, int index)
format
in interface IFormatter
obj
- Object
The object to be formatted (null permitted).index
- int
The index value of a series objects.
The first is at index 0, the next is at 1, and so on.This parameter is not used.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
The object to test against (null permitted).
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |