|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.view.vizmap.mappings.AbstractVisualMappingFunction<K,V>
K - Generic type of the attribute mapped.V - Generic type of the VisualProperty used in this mapping.public abstract class AbstractVisualMappingFunction<K,V>
A base class for visual mapping functions where all fields are immutable.
| Field Summary | |
|---|---|
protected String |
attrName
Mapping attribute name. |
protected Class<K> |
attrType
Type of attribute. |
protected CyTable |
table
The table used for this mapping. |
protected VisualProperty<V> |
vp
Visual Property used in this mapping. |
| Constructor Summary | |
|---|---|
AbstractVisualMappingFunction(String attrName,
Class<K> attrType,
CyTable table,
VisualProperty<V> vp)
Constructs this AbstractVisualMappingFunction. |
|
| Method Summary | |
|---|---|
String |
getMappingColumnName()
Returns attribute name used in this mapping. |
Class<K> |
getMappingColumnType()
Returns data type of mapping attribute. |
CyTable |
getMappingTable()
Returns table used for this mapping. |
VisualProperty<V> |
getVisualProperty()
Visual Property associated with this function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.cytoscape.view.vizmap.VisualMappingFunction |
|---|
apply |
| Field Detail |
|---|
protected final String attrName
protected final Class<K> attrType
protected final CyTable table
protected final VisualProperty<V> vp
| Constructor Detail |
|---|
public AbstractVisualMappingFunction(String attrName,
Class<K> attrType,
CyTable table,
VisualProperty<V> vp)
attrName - Mapping attribute column name.attrType - Type of attribute column.table - The table used to find the column.vp - Visual Property used in this mapping.| Method Detail |
|---|
public String getMappingColumnName()
VisualMappingFunction
getMappingColumnName in interface VisualMappingFunction<K,V>public Class<K> getMappingColumnType()
VisualMappingFunction
getMappingColumnType in interface VisualMappingFunction<K,V>public VisualProperty<V> getVisualProperty()
VisualMappingFunction
getVisualProperty in interface VisualMappingFunction<K,V>public CyTable getMappingTable()
VisualMappingFunction
getMappingTable in interface VisualMappingFunction<K,V>
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||