X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTFileOpenBox.java;h=9a0437ccc5618ab01baffd29cc1c24295339a936;hb=329fd62e4acdaa8e9f4cccd518d47c0b07e79f51;hp=96085b8cb336c124a641d14602dd7d434668431b;hpb=4b257bd88a40bb1b7ad6b14c3ecaf6a3d5d10a9b;p=fanfix.git diff --git a/src/jexer/TFileOpenBox.java b/src/jexer/TFileOpenBox.java index 96085b8..9a0437c 100644 --- a/src/jexer/TFileOpenBox.java +++ b/src/jexer/TFileOpenBox.java @@ -59,7 +59,14 @@ public final class TFileOpenBox extends TWindow { * TFileOpenBox can be called for either Open or Save actions. */ public enum Type { + /** + * Button will be labeled "Open". + */ OPEN, + + /** + * Button will be labeled "Save". + */ SAVE } @@ -107,6 +114,7 @@ public final class TFileOpenBox extends TWindow { * directory, then * * @param newFilename the filename to check and return + * @throws IOException of a java.io operation throws */ private void checkFilename(final String newFilename) throws IOException { File newFile = new File(newFilename); @@ -133,6 +141,7 @@ public final class TFileOpenBox extends TWindow { * @param application the TApplication that manages this window * @param path path of selected file * @param type one of the Type constants + * @throws IOException of a java.io operation throws */ public TFileOpenBox(final TApplication application, final String path, final Type type) throws IOException {