|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.lang.SerializableObject
|
+--com.jdc.app.user.Display
Display contains all available information regarding the user's display, i.e. screen. This display information is typically obtained by executing the JavaScript code in BrowserSensing.js (include script file). This is analogous to the screen object in JavaScript but the term Display is used here because screen is passe.
| Field Summary |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
Display()
Constructs a new Display object. |
|
| Method Summary | |
int |
getColorDepth()
Returns the display color depth. |
int |
getHeight()
Returns the display height. |
int |
getNumberOfColors()
Returns the number of display colors available. |
String |
getResolution()
Returns the display resolution. |
int |
getWidth()
Returns the display width. |
Window |
getWindow()
Returns the display window object. |
void |
setColorDepth(String colorDepth)
Sets the display color depth. |
void |
setHeight(String height)
Sets the display height. |
void |
setNumberOfColors(String numberOfColors)
Sets the number of display colors. |
void |
setWidth(String width)
Sets the display width. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Display()
| Method Detail |
public int getColorDepth()
public int getHeight()
getHeight in interface DisplayDimensionspublic int getNumberOfColors()
public String getResolution()
getResolution in interface DisplayDimensionspublic int getWidth()
getWidth in interface DisplayDimensionspublic Window getWindow()
public void setColorDepth(String colorDepth)
public void setHeight(String height)
public void setNumberOfColors(String numberOfColors)
public void setWidth(String width)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||