本文整理了Java中com.jme3.system.AppSettings.isFullscreen()
方法的一些代码示例,展示了AppSettings.isFullscreen()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AppSettings.isFullscreen()
方法的具体详情如下:
包路径:com.jme3.system.AppSettings
类名称:AppSettings
方法名:isFullscreen
[英]Get the fullscreen state
[中]获取全屏状态
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
antialiasCombo.addKeyListener(aListener);
fullscreenBox = new JCheckBox(resourceBundle.getString("checkbox.fullscreen"));
fullscreenBox.setSelected(source.isFullscreen());
fullscreenBox.addActionListener(new ActionListener() {
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
listener.destroy();
animator.stop();
if (settings.isFullscreen()) {
device.setFullScreenWindow(null);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
listener.destroy();
animator.stop();
if (settings.isFullscreen()) {
canvas.setFullscreen(false);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
canvas.setUndecorated(settings.isFullscreen());
canvas.setFullscreen(settings.isFullscreen());
if (settings.isFullscreen()) {
List<MonitorMode> screenModes = canvas.getMainMonitor().getSupportedModes();
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
if (settings.isFullscreen()) {
frame.setUndecorated(true);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
displayMode = Display.getDesktopDisplayMode();
settings.setResolution(displayMode.getWidth(), displayMode.getHeight());
}else if (settings.isFullscreen()){
displayMode = getFullscreenDisplayMode(settings.getWidth(), settings.getHeight(),
settings.getBitsPerPixel(), settings.getFrequency());
if (settings.isFullscreen()) {
Display.setDisplayModeAndFullscreen(displayMode);
} else {
Display.setFullscreen(settings.isFullscreen());
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
if (settings.isFullscreen()) {
monitor = glfwGetPrimaryMonitor();
if (!settings.isFullscreen()) {
glfwSetWindowPos(window,
(videoMode.width() - settings.getWidth()) / 2,
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
if (settings.isFullscreen()) {
monitor = glfwGetPrimaryMonitor();
if (!settings.isFullscreen()) {
glfwSetWindowPos(window,
(videoMode.width() - settings.getWidth()) / 2,
代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-desktop
antialiasCombo.addKeyListener(aListener);
fullscreenBox = new JCheckBox(resourceBundle.getString("checkbox.fullscreen"));
fullscreenBox.setSelected(source.isFullscreen());
fullscreenBox.addActionListener(new ActionListener() {
代码示例来源:origin: info.projectkyoto/mms-engine
antialiasCombo.addKeyListener(aListener);
fullscreenBox = new JCheckBox("Fullscreen?");
fullscreenBox.setSelected(source.isFullscreen());
fullscreenBox.addActionListener(new ActionListener() {
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
listener.destroy();
animator.stop();
if (settings.isFullscreen()) {
device.setFullScreenWindow(null);
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
listener.destroy();
animator.stop();
if (settings.isFullscreen()) {
canvas.setFullscreen(false);
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
canvas.setUndecorated(settings.isFullscreen());
canvas.setFullscreen(settings.isFullscreen());
if (settings.isFullscreen()) {
List<MonitorMode> screenModes = canvas.getMainMonitor().getSupportedModes();
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
if (settings.isFullscreen()) {
frame.setUndecorated(true);
代码示例来源:origin: tonihele/OpenKeeper
refresh.addItem(mdm.refreshRate.get(0));
if (!settings.isFullscreen()) {
refresh.disable();
fullscreen.setChecked(settings.isFullscreen());
fullscreen.setEnabled(device.isFullScreenSupported());
代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-lwjgl
displayMode = Display.getDesktopDisplayMode();
settings.setResolution(displayMode.getWidth(), displayMode.getHeight());
}else if (settings.isFullscreen()){
displayMode = getFullscreenDisplayMode(settings.getWidth(), settings.getHeight(),
settings.getBitsPerPixel(), settings.getFrequency());
if (settings.isFullscreen()) {
Display.setDisplayModeAndFullscreen(displayMode);
} else {
Display.setFullscreen(settings.isFullscreen());
代码示例来源:origin: org.jmonkeyengine/jme3-lwjgl3
if (settings.isFullscreen()) {
monitor = glfwGetPrimaryMonitor();
if (!settings.isFullscreen()) {
glfwSetWindowPos(window,
(videoMode.width() - settings.getWidth()) / 2,
内容来源于网络,如有侵权,请联系作者删除!