|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.tuple.TableTuple
prefuse.visual.tuple.TableVisualItem
prefuse.visual.tuple.TableAggregateItem
public class TableAggregateItem
AggregateItem implementation that uses data values from a backing AggregateTable.
| Field Summary |
|---|
| Fields inherited from class prefuse.data.tuple.TableTuple |
|---|
m_row, m_table |
| Fields inherited from interface prefuse.visual.VisualItem |
|---|
BOUNDS, DOI, ENDFILLCOLOR, ENDFONT, ENDPOLYGON, ENDSIZE, ENDSTROKECOLOR, ENDTEXTCOLOR, ENDVISIBLE, ENDX, ENDX2, ENDY, ENDY2, EXPANDED, FILLCOLOR, FIXED, FONT, HIGHLIGHT, HOVER, IDX_VALIDATED, INTERACTIVE, LABEL, POLYGON, SCHEMA, SHAPE, SIZE, STARTFILLCOLOR, STARTFONT, STARTPOLYGON, STARTSIZE, STARTSTROKECOLOR, STARTTEXTCOLOR, STARTVISIBLE, STARTX, STARTX2, STARTY, STARTY2, STROKE, STROKECOLOR, TEXTCOLOR, VALIDATED, VALUE, VISIBLE, X, X2, Y, Y2 |
| Constructor Summary | |
|---|---|
TableAggregateItem()
|
|
| Method Summary | |
|---|---|
void |
addItem(VisualItem item)
Add a VisualItem to this aggregate. |
boolean |
containsItem(VisualItem item)
Indicates is a given VisualItem is contained in the aggregation. |
int |
getAggregateSize()
Get the size of this AggregateItem, the number of visual items contained in the aggregation. |
protected void |
init(Table table,
Graph graph,
int row)
Initialize a new TableAggregateItem for the given table and row. |
java.util.Iterator |
items()
Get an iterator over all the items contained in this aggregate. |
java.util.Iterator |
items(Predicate filter)
Get a filtered iterator over all the items contained in this aggregate. |
void |
removeAllItems()
Remove all items contained in this aggregate. |
void |
removeItem(VisualItem item)
Remove a VisualItem from this aggregate. |
| Methods inherited from class prefuse.data.tuple.TableTuple |
|---|
canGet, canGetBoolean, canGetDate, canGetDouble, canGetFloat, canGetInt, canGetLong, canGetString, canSet, canSetBoolean, canSetDate, canSetDouble, canSetFloat, canSetInt, canSetLong, canSetString, get, get, getBoolean, getBoolean, getColumnCount, getColumnIndex, getColumnName, getColumnType, getColumnType, getDate, getDate, getDefault, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getRow, getSchema, getString, getString, getTable, isValid, revertToDefault, set, set, setBoolean, setBoolean, setDate, setDate, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setString, setString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface prefuse.data.Tuple |
|---|
canGet, canGetBoolean, canGetDate, canGetDouble, canGetFloat, canGetInt, canGetLong, canGetString, canSet, canSetBoolean, canSetDate, canSetDouble, canSetFloat, canSetInt, canSetLong, canSetString, get, get, getBoolean, getBoolean, getColumnCount, getColumnIndex, getColumnName, getColumnType, getColumnType, getDate, getDate, getDefault, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getRow, getSchema, getString, getString, getTable, isValid, revertToDefault, set, set, setBoolean, setBoolean, setDate, setDate, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setString, setString |
| Constructor Detail |
|---|
public TableAggregateItem()
| Method Detail |
|---|
protected void init(Table table,
Graph graph,
int row)
init in class TableVisualItemtable - the data Tablegraph - ignored by this classrow - the table row indexpublic int getAggregateSize()
AggregateItem
getAggregateSize in interface AggregateItemAggregateItem.getAggregateSize()public boolean containsItem(VisualItem item)
AggregateItem
containsItem in interface AggregateItemitem - the VisualItem to check for containment
AggregateItem.containsItem(prefuse.visual.VisualItem)public void addItem(VisualItem item)
AggregateItem
addItem in interface AggregateItemitem - the item to addAggregateItem.addItem(prefuse.visual.VisualItem)public void removeItem(VisualItem item)
AggregateItem
removeItem in interface AggregateItemitem - the item to removeAggregateItem.removeItem(prefuse.visual.VisualItem)public void removeAllItems()
AggregateItem
removeAllItems in interface AggregateItemAggregateItem.removeAllItems()public java.util.Iterator items()
AggregateItem
items in interface AggregateItemAggregateItem.items()public java.util.Iterator items(Predicate filter)
AggregateItem
items in interface AggregateItemfilter - a Predicate instance indicating the filter criteria
AggregateItem.items()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||