Class GeneralRectangleDimensionsSet
- java.lang.Object
-
- org.kie.workbench.common.dmn.api.property.dimensions.GeneralRectangleDimensionsSet
-
- All Implemented Interfaces:
RectangleDimensionsSet,DMNPropertySet
@Portable public class GeneralRectangleDimensionsSet extends Object implements RectangleDimensionsSet
-
-
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_HEIGHTstatic doubleDEFAULT_WIDTHprotected Heightheightprotected Widthwidth
-
Constructor Summary
Constructors Constructor Description GeneralRectangleDimensionsSet()GeneralRectangleDimensionsSet(Width width, Height height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)HeightgetHeight()doublegetMaximumHeight()doublegetMaximumWidth()doublegetMinimumHeight()doublegetMinimumWidth()WidthgetWidth()inthashCode()voidsetHeight(Height height)voidsetWidth(Width width)
-
-
-
Field Detail
-
DEFAULT_WIDTH
public static final double DEFAULT_WIDTH
- See Also:
- Constant Field Values
-
DEFAULT_HEIGHT
public static final double DEFAULT_HEIGHT
- See Also:
- Constant Field Values
-
width
protected Width width
-
height
protected Height height
-
-
Method Detail
-
getWidth
public Width getWidth()
- Specified by:
getWidthin interfaceRectangleDimensionsSet
-
setWidth
public void setWidth(Width width)
- Specified by:
setWidthin interfaceRectangleDimensionsSet
-
getHeight
public Height getHeight()
- Specified by:
getHeightin interfaceRectangleDimensionsSet
-
setHeight
public void setHeight(Height height)
- Specified by:
setHeightin interfaceRectangleDimensionsSet
-
getMinimumWidth
public double getMinimumWidth()
- Specified by:
getMinimumWidthin interfaceRectangleDimensionsSet
-
getMaximumWidth
public double getMaximumWidth()
- Specified by:
getMaximumWidthin interfaceRectangleDimensionsSet
-
getMinimumHeight
public double getMinimumHeight()
- Specified by:
getMinimumHeightin interfaceRectangleDimensionsSet
-
getMaximumHeight
public double getMaximumHeight()
- Specified by:
getMaximumHeightin interfaceRectangleDimensionsSet
-
-