Interface NamedObjectFactory.IndexedSetter

Enclosing class:
NamedObjectFactory<F extends NamedObjectFactory<F,NMR,NMD,OBJ>,NMR extends ObjectNamerOps<NMD>,NMD extends NamedObjectOps,OBJ extends NMD>

public static interface NamedObjectFactory.IndexedSetter
Interface for classes that can set the values for multiple indexed factory parameters. Users will call the method setIndexed(NamedObjectFactory,int) to configure a factory, and use the return value to update an index For example,

       AnimationLayer2DFactory f = ...;
       IndexedSetter isetter = ...;
       int index = 0;
       try {
           ...
           index = isetter.setIndexed(f, index);
       } catch (ConfigException e) {
         ...
       }
 

This interface is used by some utility programs that can generate Java code (e.g. the EPTS graphics editor).

  • Method Summary

    Modifier and Type
    Method
    Description
    int