Class GuidedDecisionTableModellerBoundsHelper
- java.lang.Object
-
- org.drools.workbench.screens.guided.dtable.client.widget.table.GuidedDecisionTableModellerBoundsHelper
-
public class GuidedDecisionTableModellerBoundsHelper extends Object
Helper class to calculate the maximum bounds enclosed by Decision Tables.
-
-
Field Summary
Fields Modifier and Type Field Description static doubleBOUNDS_MAX_Xstatic doubleBOUNDS_MAX_Ystatic doubleBOUNDS_MIN_Xstatic doubleBOUNDS_MIN_Ystatic doubleBOUNDS_PADDING
-
Constructor Summary
Constructors Constructor Description GuidedDecisionTableModellerBoundsHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.uberfire.ext.wires.core.grids.client.model.BoundsgetBounds(Set<GuidedDecisionTableView.Presenter> dtPresenters)Returns the maximum bounds (subject to a minimum) enclosed by the provided collection of Decision Tables.
-
-
-
Field Detail
-
BOUNDS_MIN_X
public static final double BOUNDS_MIN_X
- See Also:
- Constant Field Values
-
BOUNDS_MAX_X
public static final double BOUNDS_MAX_X
- See Also:
- Constant Field Values
-
BOUNDS_MIN_Y
public static final double BOUNDS_MIN_Y
- See Also:
- Constant Field Values
-
BOUNDS_MAX_Y
public static final double BOUNDS_MAX_Y
- See Also:
- Constant Field Values
-
BOUNDS_PADDING
public static final double BOUNDS_PADDING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBounds
public org.uberfire.ext.wires.core.grids.client.model.Bounds getBounds(Set<GuidedDecisionTableView.Presenter> dtPresenters)
Returns the maximum bounds (subject to a minimum) enclosed by the provided collection of Decision Tables.- Parameters:
dtPresenters- The collection of Decision Tables to check. Cannot be null. Can be empty, in which case the minimum bounds is returned.- Returns:
- The maximum bounds enclosed by the Decision Tables.
-
-