430431432433434435436437438439440
return this; } /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */ public Container<T> pad (float pad) { Value value = new Fixed(pad); padTop = value; padLeft = value; padBottom = value; padRight = value; return this;
439440441442443444445446447448449
padRight = value; return this; } public Container<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; }
447448449450451452453454
padRight = new Fixed(right); return this; } public Container<T> padTop (float padTop) { this.padTop = new Fixed(padTop); return this; }
452453454455456457458459
this.padTop = new Fixed(padTop); return this; } public Container<T> padLeft (float padLeft) { this.padLeft = new Fixed(padLeft); return this; }
457458459460461462463464
this.padLeft = new Fixed(padLeft); return this; } public Container<T> padBottom (float padBottom) { this.padBottom = new Fixed(padBottom); return this; }
462463464465466467468469
this.padBottom = new Fixed(padBottom); return this; } public Container<T> padRight (float padRight) { this.padRight = new Fixed(padRight); return this; }
480481482483484485486487
return this; } /** Sets the padTop, padLeft, padBottom, and padRight around the table to the specified value. */ public Table pad (float pad) { pad(new Fixed(pad)); return this; }
485486487488489490491492493494495496
pad(new Fixed(pad)); return this; } public Table 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); sizeInvalid = true; return this; }
495496497498499500501502503
return this; } /** Padding at the top edge of the table. */ public Table padTop (float padTop) { this.padTop = new Fixed(padTop); sizeInvalid = true; return this; }
502503504505506507508509510
return this; } /** Padding at the left edge of the table. */ public Table padLeft (float padLeft) { this.padLeft = new Fixed(padLeft); sizeInvalid = true; return this; }