X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTWindow.java;h=2fc4aa5d578288da8cf9daf18cecee088eacdccf;hb=34a42e784bf1238c6bb2847c52d7c841fcfdef5f;hp=e15092e5c07c29894be0cfa08e182914765689c4;hpb=aed3368728b9a72b738340b73a6fbc812b5cbf89;p=fanfix.git diff --git a/src/jexer/TWindow.java b/src/jexer/TWindow.java index e15092e..2fc4aa5 100644 --- a/src/jexer/TWindow.java +++ b/src/jexer/TWindow.java @@ -187,6 +187,15 @@ public class TWindow extends TWidget { private int restoreWindowX; private int restoreWindowY; + /** + * Set the maximum width for this window. + * + * @param maximumWindowWidth new maximum width + */ + public final void setMaximumWindowWidth(final int maximumWindowWidth) { + this.maximumWindowWidth = maximumWindowWidth; + } + /** * Public constructor. Window will be located at (0, 0). *