jBPM Designer - Backend 6.0.3-SNAPSHOT

org.jbpm.designer.server.diagram
Class Diagram

java.lang.Object
  extended by org.jbpm.designer.server.diagram.Shape
      extended by org.jbpm.designer.server.diagram.Diagram
All Implemented Interfaces:
Bounded, Stencil

public class Diagram
extends Shape


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 which contains all StencilSet- Extension identifier
 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

Diagram

public Diagram(String resourceId,
               StencilType stencil,
               StencilSet stencilset)
Normal shape constructor with additional stencilset

Parameters:
resourceId - resourceId of the diagram shape
stencil - stencil usually Diagram
stencilset - StencilSet with url and namespace

Diagram

public Diagram(String resourceId,
               StencilType stencil)
Parameters:
resourceId -
stencil -

Diagram

public Diagram(String resourceId)
Parameters:
resourceId -
Method Detail

getStencilset

public StencilSet getStencilset()
Gives the stenilset of a diagram

Returns:
the stencilset

setStencilset

public void setStencilset(StencilSet stencilset)
Set a new StencilSet

Parameters:
stencilset - the stencilset to set type StencilSet

getSsextensions

public ArrayList<String> getSsextensions()
Gives an ArrayList which contains all StencilSet- Extension identifier

Returns:
the ssextensions

setSsextensions

public void setSsextensions(ArrayList<String> ssextensions)
set a new StencilSet-Extension ArrayList

Parameters:
ssextensions - the ssextensions to set

addSsextension

public boolean addSsextension(String ssExt)
Add an additional SSExtension

Parameters:
ssExt - the ssextension to set

getShapes

public ArrayList<Shape> getShapes()
returns all shapes of a diagram

Returns:
the shapes

setShapes

public void setShapes(ArrayList<Shape> shapes)
set a new ArrayList

Parameters:
shapes - the shapes to set

addShapes

public boolean addShapes(Shape shape)
Add an additional shape to the diagram

Parameters:
shapes - the shape to set

getParent

public Shape getParent()
Overrides:
getParent in class Shape
Returns:
the parent

getJSON

public String getJSON()

jBPM Designer - Backend 6.0.3-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.