P
- The generic type for the CyProperty. Generally one of two types:
Properties
or
Bookmarks
, although it is possible for
property objects of other types to be registered in this way as well.public interface CyProperty<P>
Properties
or
Bookmarks
, although it is possible for
property objects of other types to be registered in this way as well.Module: property-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>property-api</artifactId> </dependency>
Modifier and Type | Interface and Description |
---|---|
static class |
CyProperty.SavePolicy
SavePolicy specifies how the CyProperty will be saved, or if it will not be saved.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PROPS_CONFIG_DIR
The name of the default directory where we will look for properties files.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the CyProperty.
|
P |
getProperties()
Return a property object.
|
Class<? extends P> |
getPropertyType()
Returns the type of the property object.
|
CyProperty.SavePolicy |
getSavePolicy()
Returns the
CyProperty.SavePolicy of the CyProperty. |
static final String DEFAULT_PROPS_CONFIG_DIR
System.getProperties()
).String getName()
P getProperties()
CyProperty.SavePolicy getSavePolicy()
CyProperty.SavePolicy
of the CyProperty.CyProperty.SavePolicy
of the CyProperty.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.