- 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
-
Method Details
-
setIndexed
- Parameters:
f
- a named object factorystart
- the starting index to use- Returns:
- the next index to use after this method returns;
- Throws:
NamedObjectFactory.ConfigException
- an error occurred during a factory 'set' call.
-