org.jboss.as.console.client.shared.runtime.charts.Column 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 abstract class Column {
protected AbstractDataTable.ColumnType type;
protected String label;
protected Column comparisonColumn = null;
protected String deytpedName;
protected boolean isVisible = true;
private boolean isBaseline;
public Column(AbstractDataTable.ColumnType type, String label) {
this.type = type;
this.label = label;
}
public String getDeytpedName() {
return deytpedName;
}
public void setDeytpedName(String deytpedName) {
this.deytpedName = deytpedName;
}
public AbstractDataTable.ColumnType getType() {
return type;
}
public boolean isVisible() {
return isVisible;
}
public Column setVisible(boolean b) {
this.isVisible = b;
return this;
}
public Column setBaseline(boolean b) {
this.isBaseline = b;
return this;
}
public boolean isBaseline() {
return isBaseline;
}
public String getLabel() {
return label;
}
abstract T cast(String value);
public Column getComparisonColumn() {
return comparisonColumn;
}
public Column setComparisonColumn(Column comparisonColumn) {
this.comparisonColumn = comparisonColumn;
return this;
}
}