congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MonitorDevice.queryCurrentMode
Code IndexAdd Tabnine to your IDE (free)

How to use
queryCurrentMode
method
in
com.jogamp.newt.MonitorDevice

Best Java code snippets using com.jogamp.newt.MonitorDevice.queryCurrentMode (Showing top 1 results out of 315)

origin: org.jogamp.jogl/jogl-all-noawt

    monitor.setCurrentMode(newMode);
  final MonitorMode queriedMode = monitor.queryCurrentMode();
  System.err.println("StereoDevice Post-Set Mode: "+queriedMode);
} else {
com.jogamp.newtMonitorDevicequeryCurrentMode

Javadoc

Returns the current MonitorMode resulting from a native query.

The returned MonitorMode is element of the lists #getSupportedModes() and Screen#getMonitorModes().

Popular methods of MonitorDevice

  • getCurrentMode
    Returns the cached current MonitorMode w/o native query. The returned MonitorMode is element of the
  • getSupportedModes
    Returns a list of immutable MonitorModes supported by this monitor. The list is ordered in descendin
  • setCurrentMode
    Set the current com.jogamp.newt.MonitorMode.This method is lifecycle heavy [Window.html#lifecycleHea
  • getId
  • getOriginalMode
    Returns the immutable original com.jogamp.newt.MonitorMode, as used at NEWT initialization. The retu
  • getPixelsPerMM
    Returns the pixels per millimeter value according to the current MonitorMode's SurfaceSize#getResolu
  • getSizeMM
  • getViewport
    Returns the RectangleImmutable portion of the rotated virtual Screen size in pixel units represented
  • getViewportInWindowUnits
    Returns the RectangleImmutable portion of the rotated virtual Screen size in window units represente
  • isModeChangedByUs
    Returns true if the MonitorModehas been changed programmatic via this API only, otherwise false. Not
  • isOriginalMode
  • toString
  • isOriginalMode,
  • toString,
  • unionOfViewports,
  • getScreen,
  • isClone,
  • isPrimary

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • setScale (BigDecimal)
  • putExtra (Intent)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Notification (javax.management)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now