Documentation of 'hep.aida.ref.plotter.style.registry.BaseStyleStore' Java class
BaseStyleStore
hep.aida.ref.plotter.style.registry

Class BaseStyleStore

  • All Implemented Interfaces:
    IStyleStore
    Direct Known Subclasses:
    XMLStyleStore


    public abstract class BaseStyleStore
    extends java.lang.Object
    implements IStyleStore
    This abstract class as "In-Memory" copy of persistent Store and implements transient style/rule manipulations. Exact "commit" operations are left to concrete implementations, like XMLStyleStore, DBStyleSTore, etc.
    • Constructor Detail

      • BaseStyleStore

        public BaseStyleStore(java.lang.String storeName)
    • Method Detail

      • getProperties

        public java.util.Properties getProperties()
      • getStoreEntry

        public StyleStoreEntry getStoreEntry(java.lang.String styleName)
      • moveUp

        public void moveUp(java.lang.String styleName)
        Specified by:
        moveUp in interface IStyleStore
      • moveDown

        public void moveDown(java.lang.String styleName)
        Specified by:
        moveDown in interface IStyleStore
      • hasStyle

        public boolean hasStyle(java.lang.String styleName)
        Specified by:
        hasStyle in interface IStyleStore
      • removeStyle

        public IPlotterStyle removeStyle(java.lang.String styleName)
        Description copied from interface: IStyleStore
        Remove Style and Rule associated with it from the Store
        Specified by:
        removeStyle in interface IStyleStore
      • createRule

        public IStyleRule createRule()
        This StyleStore creates IStyleRule based on the JEL library
        Specified by:
        createRule in interface IStyleStore
      • commit

        public abstract void commit()
        Write all information from Store to the undelying persistent facility: XML file, database, etc.
        Specified by:
        commit in interface IStyleStore
      • close

        public void close()
        Close all connections and free all resources. Store is not usable after this method is executed.
        Specified by:
        close in interface IStyleStore
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.