Package org.cytoscape.view.vizmap
Interface TableVisualMappingManager
public interface TableVisualMappingManager
Manager for
VisualStyles. 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 allVisualLexicons.Returns all availableVisualStyles managed by this object.getVisualStyle(View<CyColumn> viewModel)Returns theVisualStyleassociated with the target column view model.voidsetVisualStyle(View<CyColumn> viewModel, VisualStyle visualStyle)Set aVisualStyleto the target column view model.
-
Method Details
-
setVisualStyle
Set aVisualStyleto the target column view model.- Parameters:
visualStyle- Visual Style to be set. May be null.viewModel- The target column view model.
-
getVisualStyle
Returns theVisualStyleassociated 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 availableVisualStyles managed by this object.- Returns:
- Set of all registered VisualStyles.
-
getAllVisualLexicon
Set<VisualLexicon> getAllVisualLexicon()Returns a Set of allVisualLexicons.- Returns:
- a Set of all
VisualLexicons.
-