public class ShapeViewUserDataEncoder extends Object
ShapeView properties within the ShapeView.getUserData()
that is used by the Diagram SVG generation.
example: &shapeType=BORDER&renderType=FILL
| Modifier | Constructor and Description |
|---|---|
protected |
ShapeViewUserDataEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyShapeViewRenderType(Supplier<LienzoShapeView<?>> shapeSupplier,
ShapeStateDefaultHandler.RenderType renderType) |
void |
applyShapeViewType(Supplier<LienzoShapeView<?>> shapeSupplier,
ShapeStateDefaultHandler.ShapeType shapeType) |
void |
applyShapeViewUserData(Supplier<LienzoShapeView<?>> shapeSupplier,
String key,
String value) |
static ShapeViewUserDataEncoder |
get() |
void |
setShapeViewChildrenIds(String uuid,
com.ait.lienzo.client.core.shape.IContainer container) |
public static final ShapeViewUserDataEncoder get()
public void applyShapeViewType(Supplier<LienzoShapeView<?>> shapeSupplier, ShapeStateDefaultHandler.ShapeType shapeType)
public void applyShapeViewRenderType(Supplier<LienzoShapeView<?>> shapeSupplier, ShapeStateDefaultHandler.RenderType renderType)
public void applyShapeViewUserData(Supplier<LienzoShapeView<?>> shapeSupplier, String key, String value)
public void setShapeViewChildrenIds(String uuid, com.ait.lienzo.client.core.shape.IContainer container)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.