|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGaCreateService
The interface IGaCreateService provides services for the creation of all available graphics algorithm's. E.g. Polygon, Rectangle, Text, ...
Method Summary | |
---|---|
MultiText |
createDefaultMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer)
Creates a multitext graphics algorithm with the default font (Arial, size 8). |
MultiText |
createDefaultMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value)
Creates a multitext graphics algorithm with the default font (Arial, size 8) and the given text. |
Text |
createDefaultText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer)
Creates a text graphics algorithm with the default font (Arial, size 8). |
Text |
createDefaultText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value)
Creates a text graphics algorithm with the default font (Arial, size 8) and the given text. |
Ellipse |
createEllipse(GraphicsAlgorithmContainer gaContainer)
Creates an ellipse graphics algorithm. |
Image |
createImage(GraphicsAlgorithmContainer gaContainer,
String imageId)
Creates a image graphics algorithm with the given image id. |
Rectangle |
createInvisibleRectangle(PictogramElement pe)
Create an invisible rectangle. |
MultiText |
createMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize)
Creates a multitext graphics algorithm with the given text and font. |
MultiText |
createMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize,
boolean isFontItalic,
boolean isFontBold)
Creates a multitext graphics algorithm with the given text and font. |
MultiText |
createMultiText(GraphicsAlgorithmContainer gaContainer)
Creates a multitext graphics algorithm. |
MultiText |
createMultiText(GraphicsAlgorithmContainer gaContainer,
String value)
Creates a multitext graphics algorithm with the given text. |
Ellipse |
createPlainEllipse(GraphicsAlgorithmContainer gaContainer)
Creates a plain ellipse graphics algorithm. |
Image |
createPlainImage(GraphicsAlgorithmContainer gaContainer,
String imageId)
Creates a plain image graphics algorithm with the given image id. |
MultiText |
createPlainMultiText(GraphicsAlgorithmContainer gaContainer)
Creates a plain multitext graphics algorithm. |
MultiText |
createPlainMultiText(GraphicsAlgorithmContainer gaContainer,
String value)
Creates a plain multitext graphics algorithm with the given text. |
PlatformGraphicsAlgorithm |
createPlainPlatformGraphicsAlgorithm(GraphicsAlgorithmContainer gaContainer,
String id)
Creates the plain platform graphics algorithm. |
Polygon |
createPlainPolygon(GraphicsAlgorithmContainer gaContainer)
Creates a plain polygon graphics algorithm. |
Polygon |
createPlainPolygon(GraphicsAlgorithmContainer gaContainer,
Collection<Point> points)
Creates a plain polygon graphics algorithm with the given points. |
Polygon |
createPlainPolygon(GraphicsAlgorithmContainer gaContainer,
int[] xy)
Creates a plain polygon graphics algorithm with the given points. |
Polygon |
createPlainPolygon(GraphicsAlgorithmContainer gaContainer,
int[] xy,
int[] beforeAfter)
Creates a plain polygon graphics algorithm with the given points. |
Polyline |
createPlainPolyline(GraphicsAlgorithmContainer gaContainer)
Creates a plain polyline graphics algorithm. |
Polyline |
createPlainPolyline(GraphicsAlgorithmContainer gaContainer,
Collection<Point> points)
Creates a plain polyline graphics algorithm with the given points. |
Polyline |
createPlainPolyline(GraphicsAlgorithmContainer gaContainer,
int[] xy)
Creates a plain polyline graphics algorithm with the given points. |
Polyline |
createPlainPolyline(GraphicsAlgorithmContainer gaContainer,
int[] xy,
int[] beforeAfter)
Creates a plain polyline graphics algorithm with the given points. |
Rectangle |
createPlainRectangle(GraphicsAlgorithmContainer gaContainer)
Creates a plain rectangle graphics algorithm. |
RoundedRectangle |
createPlainRoundedRectangle(GraphicsAlgorithmContainer gaContainer,
int cornerWidth,
int cornerHeight)
Creates a plain rounded rectangle graphics algorithm with the given corner dimensions. |
Style |
createPlainStyle(StyleContainer styleContainer,
String id)
Creates a style with the given id. |
Text |
createPlainText(GraphicsAlgorithmContainer gaContainer)
Creates a plain text graphics algorithm with empty text. |
Text |
createPlainText(GraphicsAlgorithmContainer gaContainer,
String value)
Creates a plain text graphics algorithm with the given text. |
PlatformGraphicsAlgorithm |
createPlatformGraphicsAlgorithm(GraphicsAlgorithmContainer gaContainer,
String id)
Creates the platform graphics algorithm. |
Point |
createPoint(int x,
int y)
Creates a point datatype for the given x/y coordinates. |
Point |
createPoint(int x,
int y,
int before,
int after)
Creates a point datatype for the given x/y coordinates. |
List<Point> |
createPointList(int[] xy)
Creates a list of point datatypes for the given x/y coordinates. |
List<Point> |
createPointList(int[] xy,
int[] beforeAfter)
Creates a list of point datatypes for the given x/y coordinates. |
Polygon |
createPolygon(GraphicsAlgorithmContainer gaContainer)
Creates a polygon graphics algorithm. |
Polygon |
createPolygon(GraphicsAlgorithmContainer gaContainer,
Collection<Point> points)
Creates a polygon graphics algorithm with the given points. |
Polygon |
createPolygon(GraphicsAlgorithmContainer gaContainer,
int[] xy)
Creates a polygon graphics algorithm with the given points. |
Polygon |
createPolygon(GraphicsAlgorithmContainer gaContainer,
int[] xy,
int[] beforeAfter)
Creates a polygon graphics algorithm with the given points. |
Polyline |
createPolyline(GraphicsAlgorithmContainer gaContainer)
Creates a polyline graphics algorithm. |
Polyline |
createPolyline(GraphicsAlgorithmContainer gaContainer,
Collection<Point> points)
Creates a polyline graphics algorithm with the given points. |
Polyline |
createPolyline(GraphicsAlgorithmContainer gaContainer,
int[] xy)
Creates a polyline graphics algorithm with the given points. |
Polyline |
createPolyline(GraphicsAlgorithmContainer gaContainer,
int[] xy,
int[] beforeAfter)
Creates a polyline graphics algorithm with the given points. |
Rectangle |
createRectangle(GraphicsAlgorithmContainer gaContainer)
Creates a rectangle graphics algorithm. |
RoundedRectangle |
createRoundedRectangle(GraphicsAlgorithmContainer gaContainer,
int cornerWidth,
int cornerHeight)
Creates a rounded rectangle graphics algorithm with the given corner dimensions. |
Color |
createShiftedColor(Color color,
int shift,
Diagram diagram)
Shifts the color darker or lighter. |
IColorConstant |
createShiftedColor(IColorConstant colorConstant,
int shift)
Shifts the color constant darker or lighter. |
Style |
createStyle(StyleContainer styleContainer,
String id)
Creates a style with the given id. |
Text |
createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize)
Creates a text graphics algorithm with the given text and font. |
Text |
createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize,
boolean isFontItalic,
boolean isFontBold)
Creates a text graphics algorithm with the given text and font. |
Text |
createText(GraphicsAlgorithmContainer gaContainer)
Creates a text graphics algorithm with empty text. |
Text |
createText(GraphicsAlgorithmContainer gaContainer,
String value)
Creates a text graphics algorithm with the given text. |
Method Detail |
---|
MultiText createDefaultMultiText(Diagram diagram, GraphicsAlgorithmContainer gaContainer)
createMultiText(GraphicsAlgorithmContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setFont(DEFAULT_FONT);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
diagram
- the diagram to manage the fontgaContainer
- the container for the new graphics algorithm
MultiText createDefaultMultiText(Diagram diagram, GraphicsAlgorithmContainer gaContainer, String value)
createMultiText(GraphicsAlgorithmContainer, String)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setFont(DEFAULT_FONT);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
diagram
- the diagram to manage the fontgaContainer
- the container for the new graphics algorithmvalue
- initial text
Text createDefaultText(Diagram diagram, GraphicsAlgorithmContainer gaContainer)
createText(GraphicsAlgorithmContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setFont(DEFAULT_FONT);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
diagram
- the diagram to manage the fontgaContainer
- the container for the new graphics algorithm
Text createDefaultText(Diagram diagram, GraphicsAlgorithmContainer gaContainer, String value)
createText(GraphicsAlgorithmContainer, String)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setFont(DEFAULT_FONT);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
diagram
- the diagram to manage the fontgaContainer
- the container for the new graphics algorithmvalue
- initial text
MultiText createMultiText(GraphicsAlgorithmContainer gaContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
gaContainer
- the container for the new graphics algorithm
MultiText createPlainMultiText(GraphicsAlgorithmContainer gaContainer)
gaContainer
- the container for the new graphics algorithm
Style
,
createStyle(StyleContainer, String)
MultiText createMultiText(GraphicsAlgorithmContainer gaContainer, String value)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
text.setValue(value);
gaContainer
- the container for the new graphics algorithmvalue
- initial text
MultiText createPlainMultiText(GraphicsAlgorithmContainer gaContainer, String value)
gaContainer
- the container for the new graphics algorithmvalue
- initial text
Style
,
createStyle(StyleContainer, String)
MultiText createMultiText(Diagram diagram, GraphicsAlgorithmContainer gaContainer, String value, String fontName, int fontSize)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
text.setFont(
diagram
- the diagram that shall be used for managing the font for the
new text fieldgaContainer
- the container for the new graphics algorithmvalue
- initial textfontName
- the name of the font to use for the new text fieldfontSize
- the size of the font to use for the new text field
MultiText createMultiText(Diagram diagram, GraphicsAlgorithmContainer gaContainer, String value, String fontName, int fontSize, boolean isFontItalic, boolean isFontBold)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
text.setFont(
diagram
- the diagram that shall be used for managing the font for the
new text fieldgaContainer
- the container for the new graphics algorithmvalue
- initial textfontName
- the name of the font to use for the new text fieldfontSize
- the size of the font to use for the new text fieldisFontItalic
- flag if the font to use for the new text field should be
italic or notisFontBold
- flag if the font to use for the new text field should be bold
or not
Text createText(GraphicsAlgorithmContainer gaContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
gaContainer
- the container for the new graphics algorithm
Text createPlainText(GraphicsAlgorithmContainer gaContainer)
gaContainer
- the container for the new graphics algorithm
Style
,
createStyle(StyleContainer, String)
Text createText(GraphicsAlgorithmContainer gaContainer, String value)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
gaContainer
- the container for the new graphics algorithmvalue
- initial text
Text createPlainText(GraphicsAlgorithmContainer gaContainer, String value)
gaContainer
- the container for the new graphics algorithmvalue
- initial text
Style
,
createStyle(StyleContainer, String)
Text createText(Diagram diagram, GraphicsAlgorithmContainer gaContainer, String value, String fontName, int fontSize)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
text.setFont(
diagram
- the diagram that shall be used for managing the font for the
new text fieldgaContainer
- the container for the new graphics algorithmvalue
- initial textfontName
- the name of the font to use for the new text fieldfontSize
- the size of the font to use for the new text field
Text createText(Diagram diagram, GraphicsAlgorithmContainer gaContainer, String value, String fontName, int fontSize, boolean isFontItalic, boolean isFontBold)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
text.setAngle(0);
text.setHorizontalAlignment(Orientation.ALIGNMENT_LEFT);
text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
text.setFont(
diagram
- the diagram that shall be used for managing the font for the
new text fieldgaContainer
- the container for the new graphics algorithmvalue
- initial textfontName
- the name of the font to use for the new text fieldfontSize
- the size of the font to use for the new text fieldisFontItalic
- flag if the font to use for the new text field should be
italic or notisFontBold
- flag if the font to use for the new text field should be bold
or not
Ellipse createEllipse(GraphicsAlgorithmContainer gaContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithm
Ellipse createPlainEllipse(GraphicsAlgorithmContainer gaContainer)
gaContainer
- the container for the new graphics algorithm
Style
,
createStyle(StyleContainer, String)
Image createImage(GraphicsAlgorithmContainer gaContainer, String imageId)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
image.setProportional(false);
image.setStretchH(false);
image.setStretchV(false);
gaContainer
- the container for the new graphics algorithmimageId
- the image id
Image createPlainImage(GraphicsAlgorithmContainer gaContainer, String imageId)
gaContainer
- the container for the new graphics algorithmimageId
- the image id
Style
,
createStyle(StyleContainer, String)
Rectangle createInvisibleRectangle(PictogramElement pe)
The following values are set by default when it is shown:
graphicsAlgorithm.setBackground(IColorConstant.LIGHT_GRAY);
graphicsAlgorithm.setForeground(IColorConstant.YELLOW);
graphicsAlgorithm.setLineWidth(2);
graphicsAlgorithm.setTransparency(0.75);
The following values are set by default when it is not shown:
graphicsAlgorithm.setFilled(false);
graphicsAlgorithm.setLineVisible(false);
pe
- the pictogram element to create the rectangle
PlatformGraphicsAlgorithm createPlatformGraphicsAlgorithm(GraphicsAlgorithmContainer gaContainer, String id)
The following values are set by default:
graphicsAlgorithm.setLineStyle(LineStyle.SOLID);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0d);
platformGraphicsAlgorithm.setId(id);
gaContainer
- the container for the new graphics algorithmid
- the id
PlatformGraphicsAlgorithm createPlainPlatformGraphicsAlgorithm(GraphicsAlgorithmContainer gaContainer, String id)
gaContainer
- the container for the new graphics algorithmid
- the id
Style
,
createStyle(StyleContainer, String)
Point createPoint(int x, int y)
x
- the x coordinatey
- the y coordinate
Point createPoint(int x, int y, int before, int after)
x
- the x coordinatey
- the y coordinatebefore
- the distance before, if supportedafter
- the distance after, if supported
List<Point> createPointList(int[] xy)
xy
- The x/y coordinates: [x0, y0, ...,xN, yN]
List<Point> createPointList(int[] xy, int[] beforeAfter)
xy
- The x/y coordinates: [x0, y0, ..., xN, yN]beforeAfter
- The before/after parameters: [before0, after0, ..., beforeN,
afterN]
Polygon createPolygon(GraphicsAlgorithmContainer gaContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithm
Polygon createPlainPolygon(GraphicsAlgorithmContainer gaContainer)
gaContainer
- the container for the new graphics algorithm
Style
,
createStyle(StyleContainer, String)
Polygon createPolygon(GraphicsAlgorithmContainer gaContainer, Collection<Point> points)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmpoints
- collection of point
Polygon createPlainPolygon(GraphicsAlgorithmContainer gaContainer, Collection<Point> points)
gaContainer
- the container for the new graphics algorithmpoints
- collection of point
Style
,
createStyle(StyleContainer, String)
Polygon createPolygon(GraphicsAlgorithmContainer gaContainer, int[] xy)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]
Polygon createPlainPolygon(GraphicsAlgorithmContainer gaContainer, int[] xy)
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]
Style
,
createStyle(StyleContainer, String)
Polygon createPolygon(GraphicsAlgorithmContainer gaContainer, int[] xy, int[] beforeAfter)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]beforeAfter
- The before/after parameters: [before0, after0, ..., beforeN,
afterN]
Polygon createPlainPolygon(GraphicsAlgorithmContainer gaContainer, int[] xy, int[] beforeAfter)
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]beforeAfter
- The before/after parameters: [before0, after0, ..., beforeN,
afterN]
Style
,
createStyle(StyleContainer, String)
Polyline createPolyline(GraphicsAlgorithmContainer gaContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(false);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithm
Polyline createPlainPolyline(GraphicsAlgorithmContainer gaContainer)
gaContainer
- the container for the new graphics algorithm
Style
,
createStyle(StyleContainer, String)
Polyline createPolyline(GraphicsAlgorithmContainer gaContainer, Collection<Point> points)
The following values are set by default:
graphicsAlgorithm.setFilled(false);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmpoints
- collection of point
Polyline createPlainPolyline(GraphicsAlgorithmContainer gaContainer, Collection<Point> points)
gaContainer
- the container for the new graphics algorithmpoints
- collection of point
Style
,
createStyle(StyleContainer, String)
Polyline createPolyline(GraphicsAlgorithmContainer gaContainer, int[] xy)
The following values are set by default:
graphicsAlgorithm.setFilled(false);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]
Polyline createPlainPolyline(GraphicsAlgorithmContainer gaContainer, int[] xy)
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]
Style
,
createStyle(StyleContainer, String)
Polyline createPolyline(GraphicsAlgorithmContainer gaContainer, int[] xy, int[] beforeAfter)
The following values are set by default:
graphicsAlgorithm.setFilled(false);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]beforeAfter
- The before/after parameters: [before0, after0, ..., beforeN,
afterN]
Polyline createPlainPolyline(GraphicsAlgorithmContainer gaContainer, int[] xy, int[] beforeAfter)
gaContainer
- the container for the new graphics algorithmxy
- The x/y coordinates: [x0, y0, ..., xN, yN]beforeAfter
- The before/after parameters: [before0, after0, ..., beforeN,
afterN]
Style
,
createStyle(StyleContainer, String)
Rectangle createRectangle(GraphicsAlgorithmContainer gaContainer)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithm
Rectangle createPlainRectangle(GraphicsAlgorithmContainer gaContainer)
gaContainer
- the container for the new graphics algorithm
Style
,
createStyle(StyleContainer, String)
RoundedRectangle createRoundedRectangle(GraphicsAlgorithmContainer gaContainer, int cornerWidth, int cornerHeight)
The following values are set by default:
graphicsAlgorithm.setFilled(true);
graphicsAlgorithm.setLineStyle(LineStyleEnum.SOLID);
graphicsAlgorithm.setLineVisible(true);
graphicsAlgorithm.setLineWidth(1);
graphicsAlgorithm.setTransparency(0);
gaContainer
- the container for the new graphics algorithmcornerWidth
- the corner widthcornerHeight
- the corner height
RoundedRectangle createPlainRoundedRectangle(GraphicsAlgorithmContainer gaContainer, int cornerWidth, int cornerHeight)
gaContainer
- the container for the new graphics algorithmcornerWidth
- the corner widthcornerHeight
- the corner height
Style
,
createStyle(StyleContainer, String)
Color createShiftedColor(Color color, int shift, Diagram diagram)
color
- the color to be changedshift
- negative shifts means darken the colordiagram
- the diagram
IColorConstant createShiftedColor(IColorConstant colorConstant, int shift)
colorConstant
- the color constant to be changedshift
- negative shifts means darken the color
Style createStyle(StyleContainer styleContainer, String id)
styleContainer
- container styleid
- style id
Style createPlainStyle(StyleContainer styleContainer, String id)
styleContainer
- container styleid
- style id
Style
,
createStyle(StyleContainer, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |