public final class ViewChangeRecord<T> extends Object
View
.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 and Description |
---|
ViewChangeRecord(View<T> view,
VisualProperty<?> vp,
Object value)
Constructor.
|
ViewChangeRecord(View<T> view,
VisualProperty<?> vp,
Object value,
boolean lockedValue) |
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Returns the value that the visual property has been changed to.
|
View<T> |
getView()
Returns the view that has been changed.
|
VisualProperty<?> |
getVisualProperty()
Returns the visual property that has been changed.
|
boolean |
isLockedValue() |
public ViewChangeRecord(View<T> view, VisualProperty<?> vp, Object value)
view
- The View that has changed.vp
- The VisualProperty that has changed.value
- The value to which the visual property has been set.public ViewChangeRecord(View<T> view, VisualProperty<?> vp, Object value, boolean lockedValue)
public View<T> getView()
public VisualProperty<?> getVisualProperty()
public Object getValue()
public boolean isLockedValue()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.