/*
	Copyright 2017 Marceau Dewilde <m@ceau.be>

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

		http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
*/
package be.ceau.chart.options.layout;

public class Padding {

	private int left;
	private int right;
	private int top;
	private int bottom;

	public int getLeft() {
		return left;
	}

	public void setLeft(int left) {
		this.left = left;
	}

	public int getRight() {
		return right;
	}

	public void setRight(int right) {
		this.right = right;
	}

	public int getTop() {
		return top;
	}

	public void setTop(int top) {
		this.top = top;
	}

	public int getBottom() {
		return bottom;
	}

	public void setBottom(int bottom) {
		this.bottom = bottom;
	}

}

@@ -763,28 +763,31 @@
 %09%7D%0A%0A%09public 
-void
+Padding
  setLeft(int
@@ -811,24 +811,39 @@
 eft = left;%0A
+%09%09return this;%0A
 %09%7D%0A%0A%09public 
@@ -883,28 +883,31 @@
 %09%7D%0A%0A%09public 
-void
+Padding
  setRight(in
@@ -931,32 +931,47 @@
 .right = right;%0A
+%09%09return this;%0A
 %09%7D%0A%0A%09public int 
@@ -1003,28 +1003,31 @@
 %09%7D%0A%0A%09public 
-void
+Padding
  setTop(int 
@@ -1047,24 +1047,39 @@
 .top = top;%0A
+%09%09return this;%0A
 %09%7D%0A%0A%09public 
@@ -1129,12 +1129,15 @@
 lic 
-void
+Padding
  set
@@ -1177,18 +1177,33 @@
 m = bottom;%0A
+%09%09return this;%0A
 %09%7D%0A%0A%7D%0A

Make Padding setters return the padding object.