|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.property.SimpleCyProperty<P>
P
- public final class SimpleCyProperty<P>
A simple implementation of CyProperty suitable for general purpose use.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.cytoscape.property.CyProperty |
---|
CyProperty.SavePolicy |
Field Summary | |
---|---|
static String |
CORE_PROPRERTY_NAME
Core Cytoscape Property (Cytoscape System Property) |
Fields inherited from interface org.cytoscape.property.CyProperty |
---|
DEFAULT_PROPS_CONFIG_DIR |
Constructor Summary | |
---|---|
SimpleCyProperty(String name,
P properties,
Class<? extends P> propertyType,
CyProperty.SavePolicy savePolicy)
Properties is a non-null Properties object that this CyProperty object should encapsulate. |
Method Summary | |
---|---|
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CORE_PROPRERTY_NAME
Constructor Detail |
---|
public SimpleCyProperty(String name, P properties, Class<? extends P> propertyType, CyProperty.SavePolicy savePolicy)
properties
- The non-null Properties object this CyProperty object
should encapsulate. Throws NullPointerException if Properties is null.savePolicy
- the CyProperty.SavePolicy
of this CyProperty object.Method Detail |
---|
public String getName()
getName
in interface CyProperty<P>
public P getProperties()
getProperties
in interface CyProperty<P>
public CyProperty.SavePolicy getSavePolicy()
CyProperty.SavePolicy
of the CyProperty.
getSavePolicy
in interface CyProperty<P>
CyProperty.SavePolicy
of the CyProperty.public Class<? extends P> getPropertyType()
getPropertyType
in interface CyProperty<P>
public String toString()
toString
in class Object
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |