From 9b31eaa85353b027a3dd7db254bf19d4f878ae5b Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Oct 2012 16:36:43 +0000 Subject: Cosmetic changes git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12713 3a0b52a2-8410-0410-bc02-ff6273a87459 --- .../at/asit/pdfover/gui/composites/SignaturePanel.java | 3 +-- .../at/asit/pdfover/gui/workflow/StateMachineImpl.java | 4 ++-- .../java/at/asit/pdfover/signator/SignatureParameter.java | 1 - .../asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java | 14 +++++++------- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java index e4060af5..f2c2c798 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java @@ -105,8 +105,7 @@ public class SignaturePanel extends JPanel { * Set a new document to be displayed * @param pdf the PDFFile to be displayed */ - public void setDocument(PDFFile pdf) - { + public void setDocument(PDFFile pdf) { this.pdf = pdf; this.sigPagePos = null; showPage(pdf.getNumPages()); diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java index 824611b5..3abecd39 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java @@ -59,7 +59,7 @@ public class StateMachineImpl implements StateMachine, GUIProvider { this.status.setCurrentState(new PrepareConfigurationState(this)); this.pdfSigner = new PDFSignerImpl(); this.configProvider = new ConfigProviderImpl(); - setCmdLineAargs(cmdLineArgs); + setCmdLineArgs(cmdLineArgs); } /** @@ -319,7 +319,7 @@ public class StateMachineImpl implements StateMachine, GUIProvider { * * @param cmdLineArgs */ - private void setCmdLineAargs(String[] cmdLineArgs) { + private void setCmdLineArgs(String[] cmdLineArgs) { this.cmdLineArgs = cmdLineArgs; } diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java index 5f394c1b..cc525058 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java @@ -129,7 +129,6 @@ public abstract class SignatureParameter { */ public abstract Image getPlaceholder(); - /** * Gets the Emblem * @return the Emblem diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java index 519ebd9e..0af728a1 100644 --- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java @@ -57,13 +57,6 @@ public class PdfAsSignatureParameter extends SignatureParameter { private HashMap genericProperties = new HashMap(); - @Override - public SignatureDimension getPlaceholderDimension() { - // return new SignatureDimension(487, 206); - - return new SignatureDimension(262, 88); - } - /** * Gets the PDFAS Positioning * @@ -115,6 +108,13 @@ public class PdfAsSignatureParameter extends SignatureParameter { return this.genericProperties.get(key); } + @Override + public SignatureDimension getPlaceholderDimension() { + // return new SignatureDimension(487, 206); + + return new SignatureDimension(262, 88); + } + /* * (non-Javadoc) * -- cgit v1.2.3