Browse Source

Added a comment about screen size not being available in Application.init()

svn changeset:14432/svn branch:6.4
tags/6.7.0.beta1
Artur Signell 14 years ago
parent
commit
e1555a63c4
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      src/com/vaadin/terminal/Terminal.java

+ 11
- 0
src/com/vaadin/terminal/Terminal.java View File

@@ -28,6 +28,11 @@ public interface Terminal extends Serializable {
/**
* Gets the width of the terminal screen in pixels. This is the width of the
* screen and not the width available for the application.
* <p>
* Note that the screen width is typically not available in the
* {@link com.vaadin.Application#init()} method as this is called before the
* browser has a chance to report the screen size to the server.
* </p>
*
* @return the width of the terminal screen.
*/
@@ -37,6 +42,12 @@ public interface Terminal extends Serializable {
* Gets the height of the terminal screen in pixels. This is the height of
* the screen and not the height available for the application.
*
* <p>
* Note that the screen height is typically not available in the
* {@link com.vaadin.Application#init()} method as this is called before the
* browser has a chance to report the screen size to the server.
* </p>
*
* @return the height of the terminal screen.
*/
public int getScreenHeight();

Loading…
Cancel
Save