Example usage for Java com.jgoodies.forms.layout ConstantSize fields, constructors, methods, implement or subclass
The text is from its open source code.
Unit | PIXEL |
Unit | POINT |
Unit | DIALOG_UNITS_X |
Unit | DIALOG_UNITS_Y |
Unit | MILLIMETER |
Unit | CENTIMETER |
Unit | INCH |
Unit | DLUX |
Unit | DLUY |
Unit | MM |
Unit | CM |
ConstantSize(int value, Unit unit) Constructs a ConstantSize for the given size and unit. | |
ConstantSize(double value, Unit unit) Constructs a ConstantSize for the given size and unit. |
int | getPixelSize(Component component) Converts the size if necessary and returns the value in pixels. |
Unit | getUnit() Returns this size's unit. |
double | getValue() Returns this size's value. |