public interface CyColumnPresentationManager
CyColumnModule: swing-application-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-application-api</artifactId>
</dependency>| Modifier and Type | Method and Description |
|---|---|
CyColumnPresentation |
getColumnPresentation(String namespace)
Returns a CyColumnPresentation for the given namespace.
|
default void |
setLabel(String columnName,
Consumer<Icon> setIcon,
Consumer<String> setText)
Calls the given Consumer callbacks with an icon and text string that represents
the given column in an esthetically pleasing way.
|
default void |
setLabel(String columnName,
JLabel label)
Sets the text and icon of the given JLabel so that it represents
the given column in an esthetically pleasing way.
|
CyColumnPresentation getColumnPresentation(String namespace)
default void setLabel(String columnName, JLabel label)
NullPointerException - if column or label are nullCopyright 2011-2015 Cytoscape Consortium. All rights reserved.