Class CardinalDoublesViewModel
- java.lang.Object
-
- de.xima.fc.workflow.designer.bpmn.model.settings.CardinalDoublesViewModel
-
- All Implemented Interfaces:
Serializable
public final class CardinalDoublesViewModel extends Object implements Serializable
View model for double values associated with cardinal directions (north, east, south, west), e.g. paddings or margins.- Since:
- 8.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CardinalDoublesViewModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyFromMap(ICardinalDirection2DMapDouble map)
double
getBottom()
double
getLeft()
double
getRight()
double
getTop()
static CardinalDoublesViewModel
of(double[] values)
void
setBottom(double bottom)
void
setLeft(double left)
void
setRight(double right)
void
setTop(double top)
ICardinalDirection2DMapDouble
toMap()
-
-
-
Method Detail
-
applyFromMap
public void applyFromMap(ICardinalDirection2DMapDouble map)
-
getBottom
public double getBottom()
-
setBottom
public void setBottom(double bottom)
-
getLeft
public double getLeft()
-
setLeft
public void setLeft(double left)
-
getRight
public double getRight()
-
setRight
public void setRight(double right)
-
getTop
public double getTop()
-
setTop
public void setTop(double top)
-
toMap
public ICardinalDirection2DMapDouble toMap()
-
of
public static CardinalDoublesViewModel of(double[] values)
-
-