Uses of Interface
org.cytoscape.view.model.VisualProperty
Package
Description
This package defines the various interfaces, abstract classes, and enums
that represent the Cytoscape Swing Application API.
Module for View Models and Visual Properties.
Definitions for View-Model related events and their listeners.
API set for rendering engines (visualizers).
Implementations of basic VisualProperty objects and VisualLexicons.
Visual Mapping basic API module.
Provides editors for Visual Properties and editor managers for VizMap GUI.
Provides events and listeners of LexiconState, visual style switch and vizMap event, as well as VizMap event handler manager.
Create discrete mapping for a given set of attribute values
APIs for different mapping functions -- continuous mapping, discrete mapping and pass through mapping.
-
Uses of VisualProperty in org.cytoscape.application.swing
Modifier and TypeFieldDescriptionprotected VisualProperty<S>
AbstractViewUpdater.vp
TheVisualProperty
that theRowsSetListener
is provided for.ModifierConstructorDescriptionAbstractViewUpdater(VisualProperty<S> vp, String columnName, Map<CyRow,View<?>> rowViewMap)
Constructor. -
Uses of VisualProperty in org.cytoscape.view.model
Modifier and TypeClassDescriptionclass
An abstract implementation of VisualProperty that omits the methods dealing with serializing data.Modifier and TypeMethodDescriptionVisualLexicon.getRootVisualProperty()
Get root of this tree.VisualLexiconNode.getVisualProperty()
Returns wrapped VisualProperty object.Returns the appropriate visual property for the descriptive string.Modifier and TypeMethodDescriptionVisualLexicon.getAllDescendants(VisualProperty<?> prop)
Get collection of visual properties for a given object type (node/edge/network).Set<VisualProperty<?>>
VisualLexicon.getAllVisualProperties()
Returns the Set of VisualPropertys supported by this Renderer.Modifier and TypeMethodDescriptionvoid
CyNetworkViewFactoryConfig.addNonClearableVisualProperty(VisualProperty<?> vp)
Add a VisualProperty that will not have its value cleared whenView.clearVisualProperties()
is called.<T, V extends T>
voidCyNetworkViewFactoryConfig.addTrackedVisualProperty(Object key, VisualProperty<? extends T> vp, Predicate<V> valueTester)
Turns on tracking of the given VisualProperty such that nodes/edge that have the VisualProperty set to a value that satisfies the given Predicate are returned by theCyNetworkViewSnapshot.getTrackedNodes(Object)
orCyNetworkViewSnapshot.getTrackedEdges(Object)
method .default <T, V extends T>
voidCyNetworkViewFactoryConfig.addTrackedVisualProperty(Object key, VisualProperty<? extends T> vp, V value)
Turns on tracking of the given VisualProperty such that nodes/edge that have the VisualProperty set to a value that is equal to the given value are returned by theCyNetworkViewSnapshot.getTrackedNodes(Object)
orCyNetworkViewSnapshot.getTrackedEdges(Object)
method .void
View.clearValueLock(VisualProperty<?> vp)
Clear value lock for given VisualProperty.static <T, V extends Comparable<V>>
Comparator<View<T>>VisualProperty.comparing(VisualProperty<V> vp)
Utility method for sorting collections of Views according to the value of a VisualProperty.VisualLexicon.getAllDescendants(VisualProperty<?> prop)
Get collection of visual properties for a given object type (node/edge/network).<T> Set<T>
VisualLexicon.getSupportedValueRange(VisualProperty<T> vp)
Returns a filtered value range for aVisualProperty
that uses aDiscreteRange
.<T> T
CyNetworkViewSnapshot.getViewDefault(VisualProperty<T> vp)
Returns the default value of the VisualProperty that was set usingCyNetworkView.setViewDefault(VisualProperty, Object)
.VisualLexicon.getVisualLexiconNode(VisualProperty<?> vp)
Get a tree node in for the given VisualProperty.<T> T
View.getVisualProperty(VisualProperty<T> vp)
Get the actual value for the given visual property.boolean
View.isDirectlyLocked(VisualProperty<?> vp)
Returns true if the given VisualProperty's value has been locked.boolean
View.isSet(VisualProperty<?> vp)
Indicates whether or not the passed visual property is set with a non-null value.boolean
VisualLexicon.isSupported(VisualProperty<?> vp)
Test the given Visual Property is supported in this Lexicon.boolean
View.isValueLocked(VisualProperty<?> vp)
Returns true if the value of the given VisualProperty or one of its ancestors is locked.<T, V extends T>
voidView.setLockedValue(VisualProperty<? extends T> vp, V value)
Set locked value.<T, V extends T>
voidCyNetworkView.setViewDefault(VisualProperty<? extends T> vp, V defaultValue)
Sets the default value to be used for the specified visual property.<T, V extends T>
voidView.setVisualProperty(VisualProperty<? extends T> vp, V value)
Assign a value to the given Visual Property of this view.ModifierConstructorDescriptionVisualLexiconNode(VisualProperty<?> vp, VisualLexiconNode parent)
Constructs this VisualLexiconNode. -
Uses of VisualProperty in org.cytoscape.view.model.events
Modifier and TypeMethodDescriptionViewChangeRecord.getVisualProperty()
Returns the visual property that has been changed.ModifierConstructorDescriptionViewChangeRecord(View<T> view, VisualProperty<?> vp, Object value)
Constructor.ViewChangeRecord(View<T> view, VisualProperty<?> vp, Object value, boolean lockedValue)
-
Uses of VisualProperty in org.cytoscape.view.model.table
Modifier and TypeMethodDescriptionCyColumnView.getCellVisualProperty(VisualProperty<? extends T> vp)
<T> void
CyColumnView.setCellVisualProperty(VisualProperty<? extends T> vp, Function<CyRow,T> mapping)
Set a table visual property that will be applied to the cells in a column.<T, V extends T>
voidCyTableView.setViewDefault(VisualProperty<? extends T> vp, V defaultValue)
Sets the default value to be used for the specified visual property. -
Uses of VisualProperty in org.cytoscape.view.presentation
Modifier and TypeMethodDescription<V> Icon
RenderingEngine.createIcon(VisualProperty<V> vp, V value, int width, int height)
CreateIcon
object for the given VisualProperty value. -
Uses of VisualProperty in org.cytoscape.view.presentation.property
Modifier and TypeClassDescriptionclass
Visual Property forArrowShape
values.class
Visual Property forBoolean
values.class
Visual Property to represent abstract concept such as Node or Edge.class
Visual Property forDouble
values.class
Visual Property for EdgeBend
values.class
Visual Property forEdgeStacking
values.class
Visual Property forFont
values.class
Visual Property forInteger
values.class
Visual Property forLineType
values.class
Visual Property forNodeShape
values.class
Visual Property for root.class
Visual Property forObjectPosition
values.class
Visual Property forPaint
values.class
Visual Property forString
values.Modifier and TypeFieldDescriptionstatic VisualProperty<Visualizable>
BasicVisualLexicon.EDGE
static VisualProperty<String>
BasicVisualLexicon.EDGE_LABEL
The text used for the edge label.static VisualProperty<Paint>
BasicVisualLexicon.EDGE_LABEL_COLOR
TODO Documentationstatic VisualProperty<Font>
BasicVisualLexicon.EDGE_LABEL_FONT_FACE
The font used for the edge label.static VisualProperty<Integer>
BasicVisualLexicon.EDGE_LABEL_FONT_SIZE
The size of the font used for the edge label.static VisualProperty<Double>
BasicVisualLexicon.EDGE_LABEL_ROTATION
A value used to rotate the edge label about its center, in degrees.static VisualProperty<Integer>
BasicVisualLexicon.EDGE_LABEL_TRANSPARENCY
The opacity of the color of the edge label.static VisualProperty<Double>
BasicVisualLexicon.EDGE_LABEL_WIDTH
TODO Documentationstatic VisualProperty<LineType>
BasicVisualLexicon.EDGE_LINE_TYPE
The type of stoke used to render the line (solid, dashed, etc.)static VisualProperty<Paint>
BasicVisualLexicon.EDGE_PAINT
The color of the whole edge (including the stroke and arrows) when it is selected or unselected.static VisualProperty<Boolean>
BasicVisualLexicon.EDGE_SELECTED
TODO Documentationstatic VisualProperty<Paint>
BasicVisualLexicon.EDGE_SELECTED_PAINT
The color of the whole edge (stroke and arrows) when selected.static VisualProperty<Paint>
BasicVisualLexicon.EDGE_SOURCE_ARROW_SELECTED_PAINT
The color of the edge source arrow when selected.static VisualProperty<ArrowShape>
BasicVisualLexicon.EDGE_SOURCE_ARROW_SHAPE
The shape of the arrow on the source node end of the edge.static VisualProperty<Double>
BasicVisualLexicon.EDGE_SOURCE_ARROW_SIZE
TODO Documentationstatic VisualProperty<Paint>
BasicVisualLexicon.EDGE_SOURCE_ARROW_UNSELECTED_PAINT
The color of the edge source arrow when unselected.static VisualProperty<EdgeStacking>
BasicVisualLexicon.EDGE_STACKING
The strategy to use to render edges when there are more than one edge between a pair of nodes.static VisualProperty<Double>
BasicVisualLexicon.EDGE_STACKING_DENSITY
Controls how tightly packed edges are when there are more than one edge between a pair of nodes.static VisualProperty<Paint>
BasicVisualLexicon.EDGE_STROKE_SELECTED_PAINT
The color of the edge line when selected.static VisualProperty<Paint>
BasicVisualLexicon.EDGE_STROKE_UNSELECTED_PAINT
The color of the edge line.static VisualProperty<Paint>
BasicVisualLexicon.EDGE_TARGET_ARROW_SELECTED_PAINT
The color of the edge target arrow when selected.static VisualProperty<ArrowShape>
BasicVisualLexicon.EDGE_TARGET_ARROW_SHAPE
The shape of the arrow on the target node end of the edge.static VisualProperty<Double>
BasicVisualLexicon.EDGE_TARGET_ARROW_SIZE
TODO Documentationstatic VisualProperty<Paint>
BasicVisualLexicon.EDGE_TARGET_ARROW_UNSELECTED_PAINT
The color of the edge target arrow when unselected.static VisualProperty<String>
BasicVisualLexicon.EDGE_TOOLTIP
The text of the tooltip that appears when a mouse hovers over the edge.static VisualProperty<Integer>
BasicVisualLexicon.EDGE_TRANSPARENCY
The opacity of the of the edge.static VisualProperty<Paint>
BasicVisualLexicon.EDGE_UNSELECTED_PAINT
The color of the whole edge (stroke and arrows) when it is not selected.static VisualProperty<Boolean>
BasicVisualLexicon.EDGE_VISIBLE
Hides the edge if set to false.static VisualProperty<Double>
BasicVisualLexicon.EDGE_WIDTH
The width of the edge line.static VisualProperty<Double>
BasicVisualLexicon.EDGE_Z_ORDER
When rendering edges in 2D, edges with a higher Z-order will be rendered on top of edges with lower Z-order.static VisualProperty<Visualizable>
BasicVisualLexicon.NETWORK
static VisualProperty<Paint>
BasicVisualLexicon.NETWORK_BACKGROUND_PAINT
The background color of the network view.static VisualProperty<Double>
BasicVisualLexicon.NETWORK_CENTER_X_LOCATION
The X location of network view center.static VisualProperty<Double>
BasicVisualLexicon.NETWORK_CENTER_Y_LOCATION
The Y location of network view center.static VisualProperty<Double>
BasicVisualLexicon.NETWORK_CENTER_Z_LOCATION
TODO Documentationstatic VisualProperty<Double>
BasicVisualLexicon.NETWORK_DEPTH
TODO Documentationstatic VisualProperty<Double>
BasicVisualLexicon.NETWORK_HEIGHT
The height of the network view.static VisualProperty<Double>
BasicVisualLexicon.NETWORK_SCALE_FACTOR
The zoom level of the network view.static VisualProperty<Double>
BasicVisualLexicon.NETWORK_SIZE
The size (width and height) of the network view.static VisualProperty<String>
BasicVisualLexicon.NETWORK_TITLE
The title of the network view.static VisualProperty<Double>
BasicVisualLexicon.NETWORK_WIDTH
The width of the network view.static VisualProperty<Visualizable>
BasicVisualLexicon.NODE
static VisualProperty<LineType>
BasicVisualLexicon.NODE_BORDER_LINE_TYPE
The type of line used for the border of the node.static VisualProperty<Paint>
BasicVisualLexicon.NODE_BORDER_PAINT
The color of the border of the node.static VisualProperty<Integer>
BasicVisualLexicon.NODE_BORDER_TRANSPARENCY
TODO Documentationstatic VisualProperty<Double>
BasicVisualLexicon.NODE_BORDER_WIDTH
TODO Documentationstatic VisualProperty<Double>
BasicVisualLexicon.NODE_DEPTH
TODO Documentationstatic VisualProperty<Paint>
BasicVisualLexicon.NODE_FILL_COLOR
The color of the node.static VisualProperty<Double>
BasicVisualLexicon.NODE_HEIGHT
The height of the node.static VisualProperty<String>
BasicVisualLexicon.NODE_LABEL
The text used for the node label.static VisualProperty<Paint>
BasicVisualLexicon.NODE_LABEL_COLOR
The color of the node label.static VisualProperty<Font>
BasicVisualLexicon.NODE_LABEL_FONT_FACE
The font used for the node label.static VisualProperty<Integer>
BasicVisualLexicon.NODE_LABEL_FONT_SIZE
The size of the font used for the node label.static VisualProperty<ObjectPosition>
BasicVisualLexicon.NODE_LABEL_POSITION
The anchor point on the node relative to which the node label will be positioned.static VisualProperty<Double>
BasicVisualLexicon.NODE_LABEL_ROTATION
A value used to rotate the node label about its center, in degrees.static VisualProperty<Integer>
BasicVisualLexicon.NODE_LABEL_TRANSPARENCY
TODO Documentationstatic VisualProperty<Double>
BasicVisualLexicon.NODE_LABEL_WIDTH
The maximum width of the node label.static VisualProperty<Boolean>
BasicVisualLexicon.NODE_NESTED_NETWORK_IMAGE_VISIBLE
A boolean value that indicates whether a nested network should be visualized (assuming a nested network is present for the specified node).static VisualProperty<Integer>
BasicVisualLexicon.NODE_OPACITY
static VisualProperty<Paint>
BasicVisualLexicon.NODE_PAINT
The color of the whole node, including its border, label and selected paint.static VisualProperty<Boolean>
BasicVisualLexicon.NODE_SELECTED
TODO Documentationstatic VisualProperty<Paint>
BasicVisualLexicon.NODE_SELECTED_PAINT
The color of the node when it is in the selected state.static VisualProperty<NodeShape>
BasicVisualLexicon.NODE_SHAPE
The shape of the node.static VisualProperty<Double>
BasicVisualLexicon.NODE_SIZE
The size of the node.static VisualProperty<String>
BasicVisualLexicon.NODE_TOOLTIP
The text of the tooltip that appears when a mouse hovers over the node.static VisualProperty<Integer>
BasicVisualLexicon.NODE_TRANSPARENCY
The opacity of the color of the node.static VisualProperty<Boolean>
BasicVisualLexicon.NODE_VISIBLE
Hides the node if set to false.static VisualProperty<Double>
BasicVisualLexicon.NODE_WIDTH
The width of the node.static VisualProperty<Double>
BasicVisualLexicon.NODE_X_LOCATION
X location of the node.static VisualProperty<Double>
BasicVisualLexicon.NODE_Y_LOCATION
Y location of the node.static VisualProperty<Double>
BasicVisualLexicon.NODE_Z_LOCATION
Z location of the node.protected VisualProperty<NullDataType>
AbstractVisualLexicon.rootVisualProperty
The Root of this tree.Modifier and TypeMethodDescriptionAbstractVisualLexicon.getAllDescendants(VisualProperty<?> prop)
Set<VisualProperty<?>>
AbstractVisualLexicon.getAllVisualProperties()
Modifier and TypeMethodDescriptionprotected void
AbstractVisualLexicon.addIdentifierMapping(Class<?> type, String id, VisualProperty<?> vp)
protected abstract void
AbstractVisualLexicon.addVisualProperties(VisualProperty<NullDataType> root)
protected void
BasicVisualLexicon.addVisualProperties(VisualProperty<NullDataType> root)
protected void
AbstractVisualLexicon.addVisualProperty(VisualProperty<?> vp, VisualProperty<?> parent)
Insert aVisualProperty
to the tree.AbstractVisualLexicon.getAllDescendants(VisualProperty<?> prop)
<T> Set<T>
AbstractVisualLexicon.getSupportedValueRange(VisualProperty<T> vp)
AbstractVisualLexicon.getVisualLexiconNode(VisualProperty<?> vp)
static boolean
VisualPropertyUtil.isChildOf(VisualProperty<?> parent, VisualProperty<?> vp, VisualLexicon lexicon)
Check whether the given VisualProperty is a child of parent vp or not.boolean
AbstractVisualLexicon.isSupported(VisualProperty<?> vp)
ModifierConstructorDescriptionAbstractVisualLexicon(VisualProperty<NullDataType> rootVisualProperty)
BasicVisualLexicon(VisualProperty<NullDataType> rootVisualProperty)
Constructor for VisualLexicon. -
Uses of VisualProperty in org.cytoscape.view.presentation.property.table
Modifier and TypeClassDescriptionclass
Visual Property for CellFormat values.class
Visual Property for TableMode values.Modifier and TypeFieldDescriptionstatic VisualProperty<Visualizable>
BasicTableVisualLexicon.CELL
static VisualProperty<Paint>
BasicTableVisualLexicon.CELL_BACKGROUND_PAINT
static VisualProperty<Font>
BasicTableVisualLexicon.CELL_FONT_FACE
static VisualProperty<Integer>
BasicTableVisualLexicon.CELL_FONT_SIZE
static VisualProperty<Paint>
BasicTableVisualLexicon.CELL_TEXT_COLOR
static VisualProperty<String>
BasicTableVisualLexicon.CELL_TOOLTIP
static VisualProperty<Visualizable>
BasicTableVisualLexicon.COLUMN
static VisualProperty<Boolean>
BasicTableVisualLexicon.COLUMN_EDITABLE
static VisualProperty<CellFormat>
BasicTableVisualLexicon.COLUMN_FORMAT
static VisualProperty<Double>
BasicTableVisualLexicon.COLUMN_GRAVITY
static VisualProperty<Boolean>
BasicTableVisualLexicon.COLUMN_SELECTED
static VisualProperty<Boolean>
BasicTableVisualLexicon.COLUMN_TEXT_WRAPPED
static VisualProperty<Boolean>
BasicTableVisualLexicon.COLUMN_VISIBLE
static VisualProperty<Integer>
BasicTableVisualLexicon.COLUMN_WIDTH
static VisualProperty<Visualizable>
BasicTableVisualLexicon.ROW
static VisualProperty<Integer>
BasicTableVisualLexicon.ROW_HEIGHT
Change the height of specific rows in a table, which means this property must be used when a table requires one or more rows to have a different height.static VisualProperty<Boolean>
BasicTableVisualLexicon.ROW_SELECTED
static VisualProperty<Visualizable>
BasicTableVisualLexicon.TABLE
static VisualProperty<Boolean>
BasicTableVisualLexicon.TABLE_ALTERNATE_ROW_COLORS
static VisualProperty<Boolean>
BasicTableVisualLexicon.TABLE_GRID_VISIBLE
static VisualProperty<Integer>
BasicTableVisualLexicon.TABLE_ROW_HEIGHT
Can be used to set the same height to all rows in a table.static VisualProperty<TableMode>
BasicTableVisualLexicon.TABLE_VIEW_MODE
Modifier and TypeMethodDescriptionprotected void
BasicTableVisualLexicon.addVisualProperties(VisualProperty<NullDataType> root)
-
Uses of VisualProperty in org.cytoscape.view.vizmap
Modifier and TypeMethodDescriptionVisualPropertyDependency.getParentVisualProperty()
Returns the parent visual property for this dependency.VisualMappingFunction.getVisualProperty()
Visual Property associated with this function.Modifier and TypeMethodDescriptionSet<VisualProperty<?>>
VisualPropertyDependency.getVisualProperties()
A set of Visual Properties to be set by the parent if locked.Modifier and TypeMethodDescription<K, V> VisualMappingFunction<K,V>
VisualMappingFunctionFactory.createVisualMappingFunction(String attributeName, Class<K> attrValueType, VisualProperty<V> vp)
Create a new VisualMappingFunction.<V> V
VisualStyle.getDefaultValue(VisualProperty<V> vp)
Returns default value for the VisualProperty.<V> VisualMappingFunction<?,V>
VisualStyle.getVisualMappingFunction(VisualProperty<V> vp)
Get current VisualMappingFunction for the VisualProperty.void
VisualStyle.removeVisualMappingFunction(VisualProperty<?> vp)
Remove a VisualMappingFunction for the VisualProperty.<V, S extends V>
voidVisualStyle.setDefaultValue(VisualProperty<V> vp, S value)
Set default value for the VisualProperty.ModifierConstructorDescriptionVisualPropertyDependency(String id, String displayName, Set<VisualProperty<T>> vpSet, VisualLexicon lexicon)
Constructor. -
Uses of VisualProperty in org.cytoscape.view.vizmap.gui.editor
Modifier and TypeMethodDescriptionEditorManager.getContinuousEditor(VisualProperty<?> vp)
Returns the continuous editor for the specified visual property.VisualPropertyEditor2.getPropertyEditor(VisualProperty<T> vizProp)
ReturnsPropertyEditor
object for this data type.<V> VisualPropertyEditor<V>
EditorManager.getVisualPropertyEditor(VisualProperty<V> vp)
Returns theVisualPropertyEditor
for the givenVisualProperty
.VisualPropertyValueEditor.showEditor(Component parent, S initialValue, VisualProperty<S> vizPropBeingEdited)
Display the editor and get a new value.<V> V
EditorManager.showVisualPropertyValueEditor(Component parentComponent, VisualProperty<V> type, V initialVal)
Display value editor to get a new value. -
Uses of VisualProperty in org.cytoscape.view.vizmap.gui.event
Modifier and TypeMethodDescriptionSet<VisualProperty<?>>
LexiconStateChangedEvent.getDisabled()
Get set of Visual Properties to be disabled in the lexicon.Set<VisualProperty<?>>
LexiconStateChangedEvent.getEnabled()
Get set of Visual Properties to be enabled in the lexicon.ModifierConstructorDescriptionLexiconStateChangedEvent(Object source, Set<VisualProperty<?>> enabled, Set<VisualProperty<?>> disabled)
Constructor of the event. -
Uses of VisualProperty in org.cytoscape.view.vizmap.gui.util
Modifier and TypeMethodDescriptionstatic void
PropertySheetUtil.addBasicVisualProperty(VisualProperty<?> vp)
Deprecated.static boolean
PropertySheetUtil.isBasic(VisualProperty<?> vp)
Deprecated.static Boolean
PropertySheetUtil.isCompatible(VisualProperty<?> vp)
Returns true if given VisualProperty is compatible with current rendering engine.static void
PropertySheetUtil.removeIncompatibleVisualProperty(VisualProperty<?> vp)
Remove incompatible VisualProperty from list if new RenderingEngine can handle it. -
Uses of VisualProperty in org.cytoscape.view.vizmap.mappings
Modifier and TypeFieldDescriptionprotected VisualProperty<V>
AbstractVisualMappingFunction.vp
Visual Property used in this mapping.ModifierConstructorDescriptionAbstractVisualMappingFunction(String columnName, Class<K> columnType, VisualProperty<V> vp, CyEventHelper eventHelper)
Constructs this AbstractVisualMappingFunction.