Class mxStencilRegistry


  • public class mxStencilRegistry
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.Map<java.lang.String,​mxStencil> stencils  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addStencil​(java.lang.String name, mxStencil stencil)
      Adds the given stencil.
      static mxStencil getStencil​(java.lang.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 java.util.Map<java.lang.String,​mxStencil> stencils
    • Constructor Detail

      • mxStencilRegistry

        public mxStencilRegistry()
    • Method Detail

      • addStencil

        public static void addStencil​(java.lang.String name,
                                      mxStencil stencil)
        Adds the given stencil.
      • getStencil

        public static mxStencil getStencil​(java.lang.String name)
        Returns the stencil for the given name.