@Portable public class GeneralRectangleDimensionsSet extends Object implements RectangleDimensionsSet
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_HEIGHT |
static double |
DEFAULT_WIDTH |
protected Height |
height |
protected Width |
width |
Constructor and Description |
---|
GeneralRectangleDimensionsSet() |
GeneralRectangleDimensionsSet(Width width,
Height height) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Height |
getHeight() |
double |
getMaximumHeight() |
double |
getMaximumWidth() |
double |
getMinimumHeight() |
double |
getMinimumWidth() |
Width |
getWidth() |
int |
hashCode() |
void |
setHeight(Height height) |
void |
setWidth(Width width) |
public static final double DEFAULT_WIDTH
public static final double DEFAULT_HEIGHT
protected Width width
protected Height height
public Width getWidth()
getWidth
in interface RectangleDimensionsSet
public void setWidth(Width width)
setWidth
in interface RectangleDimensionsSet
public Height getHeight()
getHeight
in interface RectangleDimensionsSet
public void setHeight(Height height)
setHeight
in interface RectangleDimensionsSet
public double getMinimumWidth()
getMinimumWidth
in interface RectangleDimensionsSet
public double getMaximumWidth()
getMaximumWidth
in interface RectangleDimensionsSet
public double getMinimumHeight()
getMinimumHeight
in interface RectangleDimensionsSet
public double getMaximumHeight()
getMaximumHeight
in interface RectangleDimensionsSet
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.