public class CustomContext extends LocationContext implements ICustomContext
| Constructor and Description |
|---|
CustomContext()
Creates a new
CustomContext. |
CustomContext(PictogramElement[] pictogramElements)
Creates a new
CustomContext. |
| Modifier and Type | Method and Description |
|---|---|
GraphicsAlgorithm |
getInnerGraphicsAlgorithm()
Gets the inner graphics algorithm.
|
PictogramElement |
getInnerPictogramElement()
Gets the inner pictogram element.
|
PictogramElement[] |
getPictogramElements()
Gets the pictogram elements.
|
void |
setInnerGraphicsAlgorithm(GraphicsAlgorithm innerGraphicsAlgorithm)
Sets the inner graphics algorithm.
|
void |
setInnerPictogramElement(PictogramElement innerPictogramElement)
Sets the inner pictogram element.
|
void |
setPictogramElements(PictogramElement[] pictogramElements)
Sets the pictogram elements.
|
java.lang.String |
toString() |
getX, getY, setLocation, setX, setYgetProperty, getPropertyKeys, putPropertyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetX, getYgetProperty, getPropertyKeys, putPropertypublic CustomContext()
CustomContext.public CustomContext(PictogramElement[] pictogramElements)
CustomContext.pictogramElements - the pictogram elementspublic GraphicsAlgorithm getInnerGraphicsAlgorithm()
ICustomContextgetInnerGraphicsAlgorithm in interface ICustomContextpublic PictogramElement getInnerPictogramElement()
ICustomContextgetInnerPictogramElement in interface ICustomContextpublic PictogramElement[] getPictogramElements()
ICustomContextgetPictogramElements in interface ICustomContextpublic void setInnerGraphicsAlgorithm(GraphicsAlgorithm innerGraphicsAlgorithm)
innerGraphicsAlgorithm - the new inner graphics algorithmpublic void setInnerPictogramElement(PictogramElement innerPictogramElement)
innerPictogramElement - the new inner pictogram elementpublic void setPictogramElements(PictogramElement[] pictogramElements)
pictogramElements - The pictogramElements to set.public java.lang.String toString()
toString in class LocationContext