com.google.gwt.visualization.client.formatters
Class PatternFormat
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.visualization.client.formatters.PatternFormat
public class PatternFormat
- extends com.google.gwt.core.client.JavaScriptObject
Enables you to merge the values of designated columns into a single column,
along with arbitrary text. So, for example, if you had a column for first
name and a column for last name, you could populate a third column with
{last name}, {first name}.
- See Also:
- PatternFormat Reference.
Method Summary |
static PatternFormat |
create(java.lang.String pattern)
|
void |
format(DataTable data,
com.google.gwt.core.client.JsArrayInteger srcColumnIndices,
int dstColumnIndex)
|
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PatternFormat
protected PatternFormat()
create
public static PatternFormat create(java.lang.String pattern)
format
public final void format(DataTable data,
com.google.gwt.core.client.JsArrayInteger srcColumnIndices,
int dstColumnIndex)