394395396397398399400401
return this; } public Cell<T> spaceTop (float spaceTop) { if (spaceTop < 0) throw new IllegalArgumentException("spaceTop cannot be < 0."); this.spaceTop = new Fixed(spaceTop); return this; }
400401402403404405406407
return this; } public Cell<T> spaceLeft (float spaceLeft) { if (spaceLeft < 0) throw new IllegalArgumentException("spaceLeft cannot be < 0."); this.spaceLeft = new Fixed(spaceLeft); return this; }
406407408409410411412413
return this; } public Cell<T> spaceBottom (float spaceBottom) { if (spaceBottom < 0) throw new IllegalArgumentException("spaceBottom cannot be < 0."); this.spaceBottom = new Fixed(spaceBottom); return this; }
412413414415416417418419
return this; } public Cell<T> spaceRight (float spaceRight) { if (spaceRight < 0) throw new IllegalArgumentException("spaceRight cannot be < 0."); this.spaceRight = new Fixed(spaceRight); return this; }
464465466467468469470471472473474
return this; } /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */ public Cell<T> pad (float pad) { Value value = new Fixed(pad); padTop = value; padLeft = value; padBottom = value; padRight = value; return this;
473474475476477478479480481482483
padRight = value; return this; } public Cell<T> pad (float top, float left, float bottom, float right) { padTop = new Fixed(top); padLeft = new Fixed(left); padBottom = new Fixed(bottom); padRight = new Fixed(right); return this; }
481482483484485486487488
padRight = new Fixed(right); return this; } public Cell<T> padTop (float padTop) { this.padTop = new Fixed(padTop); return this; }
486487488489490491492493
this.padTop = new Fixed(padTop); return this; } public Cell<T> padLeft (float padLeft) { this.padLeft = new Fixed(padLeft); return this; }
491492493494495496497498
this.padLeft = new Fixed(padLeft); return this; } public Cell<T> padBottom (float padBottom) { this.padBottom = new Fixed(padBottom); return this; }
496497498499500501502503
this.padBottom = new Fixed(padBottom); return this; } public Cell<T> padRight (float padRight) { this.padRight = new Fixed(padRight); return this; }