summaryrefslogtreecommitdiff
path: root/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/SignaturePosition.java
diff options
context:
space:
mode:
Diffstat (limited to 'Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/SignaturePosition.java')
-rw-r--r--Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/SignaturePosition.java100
1 files changed, 100 insertions, 0 deletions
diff --git a/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/SignaturePosition.java b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/SignaturePosition.java
new file mode 100644
index 00000000..48b320b3
--- /dev/null
+++ b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/SignaturePosition.java
@@ -0,0 +1,100 @@
+package at.asit.pdfover.pdfsignator;
+
+
+/**
+ * Represents the position of a visible signature block
+ * @author afitzek
+ */
+public class SignaturePosition {
+ /**
+ * The x value of the position
+ */
+ protected int x = 0;
+
+ /**
+ * The y value of the position
+ */
+ protected int y = 0;
+
+ /**
+ * The page value of the position
+ */
+ protected int page = 1;
+
+ /**
+ * Default constructor
+ */
+ public SignaturePosition() {
+ }
+
+ /**
+ * X - Y Constructor Page = 1
+ * @param x The x value of the position
+ * @param y The y value of the position
+ */
+ public SignaturePosition(int x, int y) {
+ this.x = x;
+ this.y = y;
+ }
+
+ /**
+ * Constructor
+ * @param x The x value of the position
+ * @param y The y value of the position
+ * @param page The page value of the position
+ */
+ public SignaturePosition(int x, int y, int page) {
+ this.x = x;
+ this.y = y;
+ this.page = page;
+ }
+
+ /**
+ * Sets X value of position
+ * @param value the new x value
+ */
+ public void SetX(int value) {
+ this.x = value;
+ }
+
+ /**
+ * Gets the X value of the position
+ * @return int the x value of the position
+ */
+ public int GetX() {
+ return this.x;
+ }
+
+ /**
+ * Sets Y value of position
+ * @param value the new y value
+ */
+ public void SetY(int value) {
+ this.y = value;
+ }
+
+ /**
+ * Gets the Y value of the position
+ * @return int the y value of the position
+ */
+ public int GetY() {
+ return this.y;
+ }
+
+ /**
+ * Sets Page value of position
+ * @param value the new page value
+ */
+ public void SetPage(int value) {
+ this.page = value;
+ }
+
+ /**
+ * Gets the Page value of the position
+ * @return int the page value of the position
+ */
+ public int GetPage() {
+ return this.page;
+ }
+
+}