Package org.cytoscape.view.vizmap
Interface TableVisualMappingManager
public interface TableVisualMappingManager
Manager for
VisualStyle
s. This object manages mapping from column view
models to VisualStyle.
Add/Remove operations will be done through events. For more information, read JavaDoc for VisualStyleAddedEvent and VisualStyleAboutToBeRemovedEvent.
- Since:
- 3.9
Module: vizmap-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>vizmap-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a Set of allVisualLexicon
s.Returns all availableVisualStyle
s managed by this object.getVisualStyle(View<CyColumn> viewModel)
Returns theVisualStyle
associated with the target column view model.void
setVisualStyle(View<CyColumn> viewModel, VisualStyle visualStyle)
Set aVisualStyle
to the target column view model.
-
Method Details
-
setVisualStyle
Set aVisualStyle
to the target column view model.- Parameters:
visualStyle
- Visual Style to be set. May be null.viewModel
- The target column view model.
-
getVisualStyle
Returns theVisualStyle
associated with the target column view model.- Returns:
- VisualStyle associated with the column view model. May return null if the column does not have a style.
-
getAllVisualStyles
Set<VisualStyle> getAllVisualStyles()Returns all availableVisualStyle
s managed by this object.- Returns:
- Set of all registered VisualStyles.
-
getAllVisualLexicon
Set<VisualLexicon> getAllVisualLexicon()Returns a Set of allVisualLexicon
s.- Returns:
- a Set of all
VisualLexicon
s.
-