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 Object
implements IStyleRegistry, IGlobalIndexProvider


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

Field Detail

systemStoreProperty

public static String systemStoreProperty

groupStoreProperty

public static String groupStoreProperty

userStoreProperty

public static 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 String[] getAvailableStoreNames()
Specified by:
getAvailableStoreNames in interface IStyleRegistry

getStore

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

getAvailableCategoryKeys

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

getAvailableCategoryValues

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

getCategoryCurrentValue

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

setCategoryCurrentValue

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

getStyleForState

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

main

public static void main(String[] args)


jHepWork 3.2 © jWork.org