|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- Attribute object type. This is the key of mapping (Can
be any objects)V
- Visual property value type. (can be any type)public interface VisualMappingFunction<K,V>
This class defines how an attribute gets mapped to a visual property.
It takes two values:
K(Attribute) ---> V(Visual Property)
K will be used in implementations.
Method Summary | |
---|---|
void |
apply(CyRow row,
View<? extends CyIdentifiable> view)
Apply mapping to the view model. |
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. |
Method Detail |
---|
String getMappingColumnName()
Class<K> getMappingColumnType()
CyTable getMappingTable()
VisualProperty<V> getVisualProperty()
void apply(CyRow row, View<? extends CyIdentifiable> view)
row
- The data row used to create the visual property value
for the specified view.view
- target View model to be updated. View should be one of the
following: Node, Edge, or Network.
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |