-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from ARGOeu/devel
Release 1.1.0
- Loading branch information
Showing
54 changed files
with
22,208 additions
and
11,019 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
eseal/src/main/java/gr/grnet/eseal/enums/VisibleSignaturePosition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package gr.grnet.eseal.enums; | ||
|
||
public enum VisibleSignaturePosition { | ||
TOP_LEFT(0), | ||
BOTTOM_LEFT(1), | ||
TOP_RIGHT(2), | ||
BOTTOM_RIGHT(3), | ||
INVISIBLE(4); | ||
|
||
private final int id; | ||
|
||
VisibleSignaturePosition(int id) { | ||
this.id = id; | ||
} | ||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
public static VisibleSignaturePosition getPosition(int pos) { | ||
switch (pos) { | ||
case 1: | ||
return BOTTOM_LEFT; | ||
case 2: | ||
return TOP_RIGHT; | ||
case 3: | ||
return BOTTOM_RIGHT; | ||
case 4: | ||
return INVISIBLE; | ||
default: | ||
return TOP_LEFT; | ||
} | ||
} | ||
|
||
public static boolean isLastPossiblePosition(int pos) { | ||
return pos >= 4; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ public enum VisibleSignatureText { | |
CN, | ||
OU, | ||
CN_OU, | ||
STATIC, | ||
TEXT; | ||
} |
Oops, something went wrong.