|
jBPM Designer - Backend 6.0.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.designer.server.diagram.Shape
org.jbpm.designer.server.diagram.Diagram
public class Diagram
Constructor Summary | |
---|---|
Diagram(String resourceId)
|
|
Diagram(String resourceId,
StencilType stencil)
|
|
Diagram(String resourceId,
StencilType stencil,
StencilSet stencilset)
Normal shape constructor with additional stencilset |
Method Summary | |
---|---|
boolean |
addShapes(Shape shape)
Add an additional shape to the diagram |
boolean |
addSsextension(String ssExt)
Add an additional SSExtension |
String |
getJSON()
|
Shape |
getParent()
|
ArrayList<Shape> |
getShapes()
returns all shapes of a diagram |
ArrayList<String> |
getSsextensions()
Gives an ArrayList |
StencilSet |
getStencilset()
Gives the stenilset of a diagram |
void |
setShapes(ArrayList<Shape> shapes)
set a new ArrayList |
void |
setSsextensions(ArrayList<String> ssextensions)
set a new StencilSet-Extension ArrayList |
void |
setStencilset(StencilSet stencilset)
Set a new StencilSet |
Methods inherited from class org.jbpm.designer.server.diagram.Shape |
---|
addGlossaryIds, addIncoming, addOutgoing, equals, getBounds, getChildShapes, getDockers, getGlossaryIds, getHeight, getIncomings, getLowerRight, getOutgoing, getOutgoings, getProperties, getProperty, getResourceId, getStencil, getStencilId, getTarget, getUpperLeft, getWidth, hashCode, putProperty, setBounds, setChildShapes, setDockers, setGlossaryIds, setIncomings, setOutgoing, setOutgoings, setParent, setProperties, setResourceId, setStencil, setTarget |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Diagram(String resourceId, StencilType stencil, StencilSet stencilset)
resourceId
- resourceId of the diagram shapestencil
- stencil usually Diagramstencilset
- StencilSet with url and namespacepublic Diagram(String resourceId, StencilType stencil)
resourceId
- stencil
- public Diagram(String resourceId)
resourceId
- Method Detail |
---|
public StencilSet getStencilset()
public void setStencilset(StencilSet stencilset)
stencilset
- the stencilset to set type StencilSetpublic ArrayList<String> getSsextensions()
public void setSsextensions(ArrayList<String> ssextensions)
ssextensions
- the ssextensions to setpublic boolean addSsextension(String ssExt)
ssExt
- the ssextension to setpublic ArrayList<Shape> getShapes()
public void setShapes(ArrayList<Shape> shapes)
shapes
- the shapes to setpublic boolean addShapes(Shape shape)
shapes
- the shape to setpublic Shape getParent()
getParent
in class Shape
public String getJSON()
|
jBPM Designer - Backend 6.0.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |