Mercurial > hg > Applications > tvnjviewer
changeset 2:960c7717ad0d
add getUisetting method and change constructor type public
author | YU |
---|---|
date | Sat, 13 Sep 2014 05:36:28 +0900 |
parents | 7bee64adbbfd |
children | 8a800361c465 |
files | src/viewer_swing/java/com/glavsoft/viewer/Viewer.java |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java Sat Sep 13 05:29:33 2014 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java Sat Sep 13 05:36:28 2014 +0900 @@ -89,7 +89,7 @@ uiSettings = new UiSettings(); } - private Viewer(Parser parser) { + public Viewer(Parser parser) { this(); setLoggingLevel(parser.isSet(ParametersHandler.ARG_VERBOSE) ? Level.FINE : parser.isSet(ParametersHandler.ARG_VERBOSE_MORE) ? Level.FINER : @@ -261,4 +261,9 @@ } } + // add + public UiSettings getUiSettings() { + return uiSettings; + } + }