src/main/java/org/vaadin/console/client/ui/TextConsoleConfig.java
changeset 9 dbc3bbf10535
parent 4 27bd1032a5c6
     1.1 --- a/src/main/java/org/vaadin/console/client/ui/TextConsoleConfig.java	Thu May 19 00:52:44 2011 +0400
     1.2 +++ b/src/main/java/org/vaadin/console/client/ui/TextConsoleConfig.java	Fri May 20 17:52:09 2011 +0400
     1.3 @@ -50,6 +50,22 @@
     1.4      public final native boolean isPrintPromptOnInput() /*-{
     1.5                                            return this.PrintPromptOnInput;
     1.6                                            }-*/;
     1.7 +    
     1.8 +    public final native void setSmartScrollToEnd(boolean s) /*-{
     1.9 +                                                this.isSmartScrollToEnd = s;
    1.10 +                                                }-*/;
    1.11 +    
    1.12 +    public final native boolean isSmartScrollToEnd() /*-{
    1.13 +                                          return this.isSmartScrollToEnd;
    1.14 +                                          }-*/;
    1.15 +    
    1.16 +    public final native void setScrolledToEnd(boolean s) /*-{
    1.17 +                                                this.isScrolledToEnd = s;
    1.18 +                                                }-*/;
    1.19 +    
    1.20 +    public final native boolean isScrolledToEnd() /*-{
    1.21 +                                          return this.isScrolledToEnd;
    1.22 +                                          }-*/;
    1.23  
    1.24      public final native void setPs(String ps) /*-{
    1.25                                                this.ps = ps;