hep.aida.ref.plotter.style.registry
Class StyleRegistry

java.lang.Object
  extended by hep.aida.ref.plotter.style.registry.StyleRegistry
All Implemented Interfaces:
IGlobalIndexProvider, IStyleRegistry

public class StyleRegistry
extends java.lang.Object
implements IStyleRegistry, IGlobalIndexProvider


Field Summary
static java.lang.String groupStoreProperty
           
static java.lang.String systemStoreProperty
           
static java.lang.String userStoreProperty
           
 
Method Summary
 void addStore(IStyleStore store)
           
 java.lang.String[] getAvailableCategoryKeys()
           
 java.lang.String[] getAvailableCategoryValues(java.lang.String categoryKey)
           
 java.lang.String[] getAvailableStoreNames()
           
 java.lang.String getCategoryCurrentValue(java.lang.String categoryKey)
           
 int getIndex()
           
 IStyleStore getStore(java.lang.String storeName)
           
 hep.aida.IPlotterStyle getStyleForState(IPlotterState state)
           
static StyleRegistry getStyleRegistry()
           
static void main(java.lang.String[] args)
           
 void removeStore(IStyleStore store)
           
 void resetIndex()
           
 void setCategoryCurrentValue(java.lang.String categoryKey, java.lang.String categoryValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemStoreProperty

public static java.lang.String systemStoreProperty

groupStoreProperty

public static java.lang.String groupStoreProperty

userStoreProperty

public static java.lang.String userStoreProperty
Method Detail

getStyleRegistry

public static StyleRegistry getStyleRegistry()

getIndex

public int getIndex()
Specified by:
getIndex in interface IGlobalIndexProvider

resetIndex

public void resetIndex()
Specified by:
resetIndex in interface IGlobalIndexProvider

addStore

public void addStore(IStyleStore store)

removeStore

public void removeStore(IStyleStore store)

getAvailableStoreNames

public java.lang.String[] getAvailableStoreNames()
Specified by:
getAvailableStoreNames in interface IStyleRegistry

getStore

public IStyleStore getStore(java.lang.String storeName)
Specified by:
getStore in interface IStyleRegistry

getAvailableCategoryKeys

public java.lang.String[] getAvailableCategoryKeys()
Specified by:
getAvailableCategoryKeys in interface IStyleRegistry

getAvailableCategoryValues

public java.lang.String[] getAvailableCategoryValues(java.lang.String categoryKey)
Specified by:
getAvailableCategoryValues in interface IStyleRegistry

getCategoryCurrentValue

public java.lang.String getCategoryCurrentValue(java.lang.String categoryKey)
Specified by:
getCategoryCurrentValue in interface IStyleRegistry

setCategoryCurrentValue

public void setCategoryCurrentValue(java.lang.String categoryKey,
                                    java.lang.String categoryValue)
Specified by:
setCategoryCurrentValue in interface IStyleRegistry

getStyleForState

public hep.aida.IPlotterStyle getStyleForState(IPlotterState state)
Specified by:
getStyleForState in interface IStyleRegistry

main

public static void main(java.lang.String[] args)


jHepWork 1.1 (C) Chekanov