Class SimpleCyProperty<P>

java.lang.Object
org.cytoscape.property.SimpleCyProperty<P>
Type Parameters:
P -
All Implemented Interfaces:
CyProperty<P>

public final class SimpleCyProperty<P> extends Object implements CyProperty<P>
A simple implementation of CyProperty suitable for general purpose use.

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.
  • Field Details

    • CORE_PROPRERTY_NAME

      public static final String CORE_PROPRERTY_NAME
      Core Cytoscape Property (Cytoscape System Property)
      See Also:
      Constant Field Values
  • Constructor Details

    • SimpleCyProperty

      public 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.
      Parameters:
      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 Details