Search in sources :

Example 1 with Circle

use of com.ait.lienzo.client.core.shape.Circle in project drools-wb by kiegroup.

the class ConstraintNodeFactory method makeShape.

@Override
protected Circle makeShape() {
    final Circle circle = new Circle(SHAPE_RADIUS);
    circle.setStrokeColor(Color.rgbToBrowserHexColor(100, 100, 100)).setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE).setFillColor(Color.rgbToBrowserHexColor(0, 255, 0)).setDraggable(false);
    return circle;
}
Also used : Circle(com.ait.lienzo.client.core.shape.Circle)

Example 2 with Circle

use of com.ait.lienzo.client.core.shape.Circle in project drools-wb by kiegroup.

the class TypeNodeFactory method makeShape.

@Override
protected Circle makeShape() {
    final Circle circle = new Circle(SHAPE_RADIUS);
    circle.setStrokeColor(Color.rgbToBrowserHexColor(100, 100, 100)).setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE).setFillColor(Color.rgbToBrowserHexColor(255, 0, 0)).setDraggable(false);
    return circle;
}
Also used : Circle(com.ait.lienzo.client.core.shape.Circle)

Example 3 with Circle

use of com.ait.lienzo.client.core.shape.Circle in project drools-wb by kiegroup.

the class ActionInsertNodeFactory method makeShape.

@Override
protected Circle makeShape() {
    final Circle circle = new Circle(SHAPE_RADIUS);
    circle.setStrokeColor(Color.rgbToBrowserHexColor(100, 100, 100)).setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE).setFillColor(Color.rgbToBrowserHexColor(255, 255, 0)).setDraggable(false);
    return circle;
}
Also used : Circle(com.ait.lienzo.client.core.shape.Circle)

Example 4 with Circle

use of com.ait.lienzo.client.core.shape.Circle in project drools-wb by kiegroup.

the class ActionRetractNodeFactory method makeShape.

@Override
protected Circle makeShape() {
    final Circle circle = new Circle(SHAPE_RADIUS);
    circle.setStrokeColor(Color.rgbToBrowserHexColor(100, 100, 100)).setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE).setFillColor(Color.rgbToBrowserHexColor(255, 255, 0)).setDraggable(false);
    return circle;
}
Also used : Circle(com.ait.lienzo.client.core.shape.Circle)

Example 5 with Circle

use of com.ait.lienzo.client.core.shape.Circle in project drools-wb by kiegroup.

the class ActionUpdateNodeFactory method makeShape.

@Override
protected Circle makeShape() {
    final Circle circle = new Circle(SHAPE_RADIUS);
    circle.setStrokeColor(Color.rgbToBrowserHexColor(100, 100, 100)).setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE).setFillColor(Color.rgbToBrowserHexColor(255, 255, 0)).setDraggable(false);
    return circle;
}
Also used : Circle(com.ait.lienzo.client.core.shape.Circle)

Aggregations

Circle (com.ait.lienzo.client.core.shape.Circle)5