|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Terminal
An interface that provides information about the user's terminal. Implementors typically provide additional information using methods not in this interface.
Nested Class Summary | |
---|---|
static interface |
Terminal.ErrorEvent
An error event implementation for Terminal. |
static interface |
Terminal.ErrorListener
Interface for listening to Terminal errors. |
Method Summary | |
---|---|
String |
getDefaultTheme()
Gets the name of the default theme for this terminal. |
int |
getScreenHeight()
Gets the height of the terminal screen in pixels. |
int |
getScreenWidth()
Gets the width of the terminal screen in pixels. |
Method Detail |
---|
String getDefaultTheme()
int getScreenWidth()
Note that the screen width is typically not available in the
Application.init()
method as this is called before the
browser has a chance to report the screen size to the server.
int getScreenHeight()
Note that the screen height is typically not available in the
Application.init()
method as this is called before the
browser has a chance to report the screen size to the server.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |