com.gargoylesoftware.htmlunit.javascript.host.Window.jsxGet_screen()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 JavaScript  
字(5.1k)|赞(0)|评价(0)|浏览(191)

本文整理了Java中com.gargoylesoftware.htmlunit.javascript.host.Window.jsxGet_screen()方法的一些代码示例,展示了Window.jsxGet_screen()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Window.jsxGet_screen()方法的具体详情如下:
包路径:com.gargoylesoftware.htmlunit.javascript.host.Window
类名称:Window
方法名:jsxGet_screen

Window.jsxGet_screen介绍

[英]Returns the "screen" property.
[中]返回“screen”属性。

代码示例

代码示例来源:origin: org.jvnet.hudson/htmlunit

/**
 * Returns the screen's width. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's width
 */
public int getWidth() {
  return getWindow().jsxGet_screen().jsxGet_width();
}

代码示例来源:origin: net.disy.htmlunit/htmlunit

/**
 * Returns the screen's available width. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's available width
 */
public int getAvailWidth() {
  return getWindow().jsxGet_screen().jsxGet_availWidth();
}

代码示例来源:origin: org.jvnet.hudson/htmlunit

/**
 * Returns the screen's color depth. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's color depth
 */
public int getColorDepth() {
  return getWindow().jsxGet_screen().jsxGet_colorDepth();
}

代码示例来源:origin: org.jenkins-ci/htmlunit

/**
 * Returns the screen's height. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's height
 */
public int getHeight() {
  return getWindow().jsxGet_screen().jsxGet_height();
}

代码示例来源:origin: net.disy.htmlunit/htmlunit

/**
 * Returns the screen's color depth. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's color depth
 */
public int getColorDepth() {
  return getWindow().jsxGet_screen().jsxGet_colorDepth();
}

代码示例来源:origin: org.jvnet.hudson/htmlunit

/**
 * Returns the screen's buffer depth. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's buffer depth
 */
public int getBufferDepth() {
  return getWindow().jsxGet_screen().jsxGet_bufferDepth();
}

代码示例来源:origin: org.jenkins-ci/htmlunit

/**
 * Returns the screen's width. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's width
 */
public int getWidth() {
  return getWindow().jsxGet_screen().jsxGet_width();
}

代码示例来源:origin: net.disy.htmlunit/htmlunit

/**
 * Returns the screen's available height. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's available height
 */
public int getAvailHeight() {
  return getWindow().jsxGet_screen().jsxGet_availHeight();
}

代码示例来源:origin: org.jvnet.hudson/htmlunit

/**
 * Returns the screen's available height. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's available height
 */
public int getAvailHeight() {
  return getWindow().jsxGet_screen().jsxGet_availHeight();
}

代码示例来源:origin: org.jenkins-ci/htmlunit

/**
 * Returns the screen's available height. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's available height
 */
public int getAvailHeight() {
  return getWindow().jsxGet_screen().jsxGet_availHeight();
}

代码示例来源:origin: org.jenkins-ci/htmlunit

/**
 * Returns the screen's available width. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's available width
 */
public int getAvailWidth() {
  return getWindow().jsxGet_screen().jsxGet_availWidth();
}

代码示例来源:origin: org.jenkins-ci/htmlunit

/**
 * Returns the screen's buffer depth. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's buffer depth
 */
public int getBufferDepth() {
  return getWindow().jsxGet_screen().jsxGet_bufferDepth();
}

代码示例来源:origin: net.disy.htmlunit/htmlunit

/**
 * Returns the screen's buffer depth. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's buffer depth
 */
public int getBufferDepth() {
  return getWindow().jsxGet_screen().jsxGet_bufferDepth();
}

代码示例来源:origin: net.disy.htmlunit/htmlunit

/**
 * Returns the screen's width. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's width
 */
public int getWidth() {
  return getWindow().jsxGet_screen().jsxGet_width();
}

代码示例来源:origin: org.jvnet.hudson/htmlunit

/**
 * Returns the screen's available width. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's available width
 */
public int getAvailWidth() {
  return getWindow().jsxGet_screen().jsxGet_availWidth();
}

代码示例来源:origin: org.jvnet.hudson/htmlunit

/**
 * Returns the screen's height. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's height
 */
public int getHeight() {
  return getWindow().jsxGet_screen().jsxGet_height();
}

代码示例来源:origin: org.jenkins-ci/htmlunit

/**
 * Returns the screen's color depth. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's color depth
 */
public int getColorDepth() {
  return getWindow().jsxGet_screen().jsxGet_colorDepth();
}

代码示例来源:origin: net.disy.htmlunit/htmlunit

/**
 * Returns the screen's height. Part of the <tt>#default#clientCaps</tt>
 * default IE behavior implementation.
 * @return the screen's height
 */
public int getHeight() {
  return getWindow().jsxGet_screen().jsxGet_height();
}

相关文章

微信公众号