Parcourir la 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 il y a 14 ans
Parent
révision
e1555a63c4
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  1. 11
    0
      src/com/vaadin/terminal/Terminal.java

+ 11
- 0
src/com/vaadin/terminal/Terminal.java Voir le fichier

@@ -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();

Chargement…
Annuler
Enregistrer