org.jboss.as.console.client.shared.runtime.charts.NumberColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of switchyard-console-as7-core
Show all versions of switchyard-console-as7-core
Bundles the core AS7 console as a GWT module. Includes minor customizations to support extensions.
package org.jboss.as.console.client.shared.runtime.charts;
import com.google.gwt.visualization.client.AbstractDataTable;
/**
* @author Heiko Braun
* @date 11/3/11
*/
public class NumberColumn extends Column {
public NumberColumn(String detypedName, String label) {
super(AbstractDataTable.ColumnType.NUMBER, label);
setDeytpedName(detypedName);
}
@Override
Integer cast(String value) {
return Integer.valueOf(value).intValue();
}
}