mxGraph 2.5.0.1


com.mxgraph.shape
Class mxStencilRegistry

java.lang.Object
  extended by 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.


mxGraph 2.5.0.1


Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.