summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:43 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:43 +0000
commit9b31eaa85353b027a3dd7db254bf19d4f878ae5b (patch)
tree11a384e5860cc789efb5ec11df3761a194bdc016
parent7702660144b198fca7250d6061768f57972f313a (diff)
downloadpdf-over-9b31eaa85353b027a3dd7db254bf19d4f878ae5b.tar.gz
pdf-over-9b31eaa85353b027a3dd7db254bf19d4f878ae5b.tar.bz2
pdf-over-9b31eaa85353b027a3dd7db254bf19d4f878ae5b.zip
Cosmetic changes
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12713 3a0b52a2-8410-0410-bc02-ff6273a87459
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java3
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java4
-rw-r--r--trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java1
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java14
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<String, String> genericProperties = new HashMap<String, String>();
- @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)
*