|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.util.AbstractColumnProjection prefuse.data.util.NamedColumnProjection
public class NamedColumnProjection
ColumnProjection instance that includes or excludes columns based on the column name.
Constructor Summary | |
---|---|
NamedColumnProjection(java.lang.String[] names,
boolean include)
Create a new NamedColumnProjection. |
|
NamedColumnProjection(java.lang.String name,
boolean include)
Create a new NamedColumnProjection. |
Method Summary | |
---|---|
void |
addName(java.lang.String name)
Add a column name to this projection. |
boolean |
include(Column col,
java.lang.String name)
Determine if the given Column should be included. |
boolean |
removeName(java.lang.String name)
Remove a column name from this projection |
Methods inherited from class prefuse.data.util.AbstractColumnProjection |
---|
addProjectionListener, fireUpdate, removeProjectionListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedColumnProjection(java.lang.String name, boolean include)
name
- the name to filter oninclude
- true to include the given names (and exclude all others),
false to exclude them (and include all others)public NamedColumnProjection(java.lang.String[] names, boolean include)
names
- the names to filter oninclude
- true to include the given names (and exclude all others),
false to exclude them (and include all others)Method Detail |
---|
public void addName(java.lang.String name)
name
- the column name to addpublic boolean removeName(java.lang.String name)
name
- the column name to remove
public boolean include(Column col, java.lang.String name)
ColumnProjection
col
- the Column to testname
- the name of the column
ColumnProjection.include(prefuse.data.column.Column, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |