@ Deprecated public static Size intToSize ( final int convert ) { // NOTE: no zero size margin in the old versions. if ( convert <= 0 ) { return null ; } if ( convert <= MAX_SMALL ) { return Size . SMALL ; } if ( convert <= MAX_MED ) { return Size . MEDIUM ; } if ( convert <= MAX_LARGE ) { return Size . LARGE ; } return Size . XL ; }
Convert an int space to a Size . For backwards compatibility during conversion of int spaces to Size spaces .