Documentation of 'com.mxgraph.shape.mxStencil' Java class
mxStencil
com.mxgraph.shape

Class mxStencil

  • All Implemented Interfaces:
    mxIShape


    public class mxStencil
    extends java.lang.Object
    implements mxIShape
    Implements a stencil for the given XML definition. This class implements the mxGraph stencil schema.
    • Constructor Detail

      • mxStencil

        public mxStencil(org.w3c.dom.Element description)
        Constructs a new stencil for the given mxGraph shape description.
    • Method Detail

      • getDescription

        public org.w3c.dom.Element getDescription()
        Returns the description.
      • setDescription

        public void setDescription(org.w3c.dom.Element value)
        Sets the description.
      • evaluateAttribute

        public java.lang.String evaluateAttribute(org.w3c.dom.Element elt,
                                                  java.lang.String attribute,
                                                  mxCellState state)
        Gets the attribute for the given name from the given node. If the attribute does not exist then the text content of the node is evaluated and if it is a function it is invoked with as the only argument and the return value is used as the attribute value to be returned.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.