/** * Create a new VisualTable without a parent table. * @param vis the Visualization associated with this table * @param group the data group of this table */ public VisualTable(Visualization vis, String group) { super(TableVisualItem.class); init(vis, group, VisualItem.SCHEMA); }
/** * Create a new VisualTable without a parent table. * @param vis the Visualization associated with this table * @param group the data group of this table * @param schema the data schema to use for the table's local columns */ public VisualTable(Visualization vis, String group, Schema schema) { super(TableVisualItem.class); init(vis, group, schema); }
/** * Create a new VisualTable without a parent table. * @param vis the Visualization associated with this table * @param group the data group of this table * @param schema the data schema to use for the table's local columns * @param tupleType the type of Tuple instances to use */ public VisualTable(Visualization vis, String group, Schema schema, Class tupleType) { super(tupleType); init(vis, group, schema); }
/** * Create a new VisualTable. * @param parent the parent table whose values this table should inherit * @param vis the Visualization associated with this table * @param group the data group of this table * @param rowFilter a predicate determing which rows of the parent table * should be inherited by this table and which should be filtered out * @param schema the data schema to use for the table's local columns */ public VisualTable(Table parent, Visualization vis, String group, Predicate rowFilter, Schema schema) { super(parent, rowFilter, null, TableVisualItem.class); init(vis, group, schema); }