Package org.cytoscape.view.model.events
Class ViewChangeRecord<T>
java.lang.Object
org.cytoscape.view.model.events.ViewChangeRecord<T>
A utility class used to describe one change to a
View
.Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Module: viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
-
Constructor Summary
ConstructorDescriptionViewChangeRecord(View<T> view, VisualProperty<?> vp, Object value)
Constructor.ViewChangeRecord(View<T> view, VisualProperty<?> vp, Object value, boolean lockedValue)
-
Method Summary
-
Constructor Details
-
ViewChangeRecord
Constructor.- Parameters:
view
- The View that has changed.vp
- The VisualProperty that has changed.value
- The value to which the visual property has been set.
-
ViewChangeRecord
-
-
Method Details
-
getView
Returns the view that has been changed.- Returns:
- the view that has been changed.
-
getVisualProperty
Returns the visual property that has been changed.- Returns:
- the visual property that has been changed.
-
getValue
Returns the value that the visual property has been changed to.- Returns:
- the value that the visual property has been changed to.
-
isLockedValue
public boolean isLockedValue()
-