mxStencilRegistry (JGraph X 2.1.0.7 API Specification)
Date: 2013-07-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mxgraph.shape
Class mxStencilRegistry

    java.lang.Object
      com.mxgraph.shape.mxStencilRegistry

    public class mxStencilRegistry

extends Object

Field Summary
`protected static Map<String,mxStencil>` | `stencils`

Constructor Summary
`mxStencilRegistry()`

Method Summary
`static void` | `addStencil(String name, mxStencil stencil)` Adds the given stencil.
`static mxStencil` | `getStencil(String name)` Returns the stencil for the given name.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### stencils

    protected static Map<String,mxStencil> stencils

Constructor Detail

### mxStencilRegistry

    public mxStencilRegistry()

Method Detail

### addStencil

    public static void addStencil(String name,
                                  mxStencil stencil)

  Adds the given stencil.

### getStencil

    public static mxStencil getStencil(String name)

  Returns the stencil for the given name.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2010 Gaudenz Alder. All rights reserved.