Class FontHandler<W,​V extends org.kie.workbench.common.stunner.core.client.shape.view.ShapeView>

  • Type Parameters:
    W - The domain's object type.
    V - The shape view type.
    All Implemented Interfaces:
    org.kie.workbench.common.stunner.core.client.shape.view.ShapeViewHandler<W,​V>

    public class FontHandler<W,​V extends org.kie.workbench.common.stunner.core.client.shape.view.ShapeView>
    extends Object
    implements org.kie.workbench.common.stunner.core.client.shape.view.ShapeViewHandler<W,​V>
    The default view font related attributes handler to generic shape views.

    It allows specifying functions which provide the different attributes for handling the resulting canvas shape's font styles.

    • Method Detail

      • handle

        public void handle​(W element,
                           V view)
        Specified by:
        handle in interface org.kie.workbench.common.stunner.core.client.shape.view.ShapeViewHandler<W,​V extends org.kie.workbench.common.stunner.core.client.shape.view.ShapeView>