- Capabilities - Class in javax.media.nativewindow
-
Specifies a set of capabilities that a window's rendering context
must support, such as color depth per channel.
- Capabilities() - Constructor for class javax.media.nativewindow.Capabilities
-
Creates a Capabilities object.
- CapabilitiesChooser - Interface in javax.media.nativewindow
-
Provides a mechanism by which applications can customize the
window type selection for a given
Capabilities
.
- CapabilitiesImmutable - Interface in javax.media.nativewindow
-
Specifies an immutable set of capabilities that a window's rendering context
must support, such as color depth per channel.
- chooseCapabilities(CapabilitiesImmutable, List<? extends CapabilitiesImmutable>, int) - Method in interface javax.media.nativewindow.CapabilitiesChooser
-
Chooses the index (0..available.length - 1) of the
Capabilities
most closely matching the desired one from the
list of all supported.
- chooseCapabilities(CapabilitiesImmutable, List<? extends CapabilitiesImmutable>, int) - Method in class javax.media.nativewindow.DefaultCapabilitiesChooser
-
- chooseGraphicsConfiguration(CapabilitiesImmutable, CapabilitiesImmutable, CapabilitiesChooser, AbstractGraphicsScreen, int) - Method in class javax.media.nativewindow.GraphicsConfigurationFactory
-
Selects a graphics configuration on the specified graphics
device compatible with the supplied
Capabilities
.
- clearHandleOwner() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
- clearHandleOwner() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- clearUpstreamOptionBits(int) - Method in interface javax.media.nativewindow.ProxySurface
-
Clear the given bit-mask from this instance upstream-option-bits using bit-and w/ ~v
- clone() - Method in interface javax.media.nativewindow.AbstractGraphicsConfiguration
-
- clone() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
- clone() - Method in interface javax.media.nativewindow.AbstractGraphicsScreen
-
- clone() - Method in class javax.media.nativewindow.Capabilities
-
- clone() - Method in class javax.media.nativewindow.DefaultGraphicsConfiguration
-
- clone() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- clone() - Method in class javax.media.nativewindow.DefaultGraphicsScreen
-
- clone() - Method in class javax.media.nativewindow.util.Dimension
-
- clone() - Method in class javax.media.nativewindow.util.Point
-
- cloneMutable() - Method in class javax.media.nativewindow.Capabilities
-
- cloneMutable() - Method in class javax.media.nativewindow.util.Dimension
-
- cloneMutable() - Method in class javax.media.nativewindow.util.Insets
-
- cloneMutable() - Method in class javax.media.nativewindow.util.Point
-
- cloneMutable() - Method in class javax.media.nativewindow.util.Rectangle
-
- close() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
Optionally closing the device if handle is not null
.
- close() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- compare(VisualIDHolder, VisualIDHolder) - Method in class javax.media.nativewindow.VisualIDHolder.VIDComparator
-
- compareTo(CapabilitiesImmutable) - Method in class javax.media.nativewindow.Capabilities
-
Comparing RGBA values only
- compareTo(DimensionImmutable) - Method in class javax.media.nativewindow.util.Dimension
-
- compareTo(DimensionImmutable) - Method in interface javax.media.nativewindow.util.DimensionImmutable
-
Compares square of size.
- compareTo(PointImmutable) - Method in class javax.media.nativewindow.util.Point
-
- compareTo(PointImmutable) - Method in interface javax.media.nativewindow.util.PointImmutable
-
Compares the square of the position.
- compareTo(RectangleImmutable) - Method in class javax.media.nativewindow.util.Rectangle
-
- compareTo(RectangleImmutable) - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
Compares square of size 1st, if equal the square of position.
- compareTo(SurfaceSize) - Method in class javax.media.nativewindow.util.SurfaceSize
-
Compares
resolution
1st, if equal the bitsPerPixel.
- componentCount - Variable in enum javax.media.nativewindow.util.PixelFormat
-
Number of components per pixel, e.g.
- containsUpstreamOptionBits(int) - Method in interface javax.media.nativewindow.ProxySurface
-
Returns true
if the give bit-mask v
is set in this instance upstream-option-bits, otherwise false
.
- convert32(PixelRectangle, PixelFormat, int, boolean, boolean) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
public static int convertToInt32(PixelFormat dest_fmt, PixelFormat src_fmt, final int src_pixel) {
final byte r, g, b, a;
switch(src_fmt) {
case LUMINANCE:
r = (byte) ( src_pixel ); // R
g = r; // G
b = r; // B
a = (byte) 0xff; // A
break;
case RGB888:
r = (byte) ( src_pixel ); // R
g = (byte) ( src_pixel >>> 8 ); // G
b = (byte) ( src_pixel >>> 16 ); // B
a = (byte) 0xff; // A
break;
case BGR888:
b = (byte) ( src_pixel ); // B
g = (byte) ( src_pixel >>> 8 ); // G
r = (byte) ( src_pixel >>> 16 ); // R
a = (byte) 0xff; // A
break;
case RGBA8888:
r = (byte) ( src_pixel ); // R
g = (byte) ( src_pixel >>> 8 ); // G
b = (byte) ( src_pixel >>> 16 ); // B
a = (byte) ( src_pixel >>> 24 ); // A
break;
case ABGR8888:
a = (byte) ( src_pixel ); // A
b = (byte) ( src_pixel >>> 8 ); // B
g = (byte) ( src_pixel >>> 16 ); // G
r = (byte) ( src_pixel >>> 24 ); // R
break;
case ARGB8888:
a = (byte) ( src_pixel ); // A
r = (byte) ( src_pixel >>> 8 ); // R
g = (byte) ( src_pixel >>> 16 ); // G
b = (byte) ( src_pixel >>> 24 ); // B
break;
case BGRA8888:
b = (byte) ( src_pixel ); // B
g = (byte) ( src_pixel >>> 8 ); // G
r = (byte) ( src_pixel >>> 16 ); // R
a = (byte) ( src_pixel >>> 24 ); // A
break;
default:
throw new InternalError("Unhandled format "+src_fmt);
}
return convertToInt32(dest_fmt, r, g, b, a);
}
- convert32(PixelFormatUtil.PixelSink32, PixelRectangle) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
- convert32(PixelFormatUtil.PixelSink32, ByteBuffer, PixelFormat, boolean, int, int, int) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
- convertToInt32(PixelFormat, byte, byte, byte, byte) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
- convertToInt32(PixelFormat, PixelFormat, ByteBuffer, int) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
- copyFrom(CapabilitiesImmutable) - Method in class javax.media.nativewindow.Capabilities
-
Copies all
Capabilities
values
from
source
into this instance.
- coverage(RectangleImmutable) - Method in class javax.media.nativewindow.util.Rectangle
-
- coverage(RectangleImmutable) - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
Returns the coverage of given rectangle w/ this this one, i.e.
- create(ProxySurface) - Method in interface javax.media.nativewindow.UpstreamSurfaceHook
-
- createDefault(String) - Static method in class javax.media.nativewindow.DefaultGraphicsScreen
-
- createDevice(String, boolean) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- createNotify() - Method in interface javax.media.nativewindow.ProxySurface
-
- createScreen(AbstractGraphicsDevice, int) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- createWrappedWindow(AbstractGraphicsScreen, long, long, UpstreamSurfaceHookMutableSizePos) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getAlphaBits() - Method in class javax.media.nativewindow.Capabilities
-
- getAlphaBits() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns the number of bits for the color buffer's alpha
component.
- getAttachedSurfaceLayer() - Method in interface javax.media.nativewindow.OffscreenLayerSurface
-
Returns the attached surface layer or null if none is attached.
- getAWTToolkitLock() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getBitsPerPixel() - Method in class javax.media.nativewindow.util.SurfaceSize
-
- getBlueBits() - Method in class javax.media.nativewindow.Capabilities
-
- getBlueBits() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns the number of bits for the color buffer's blue
component.
- getBottomHeight() - Method in class javax.media.nativewindow.util.Insets
-
- getBottomHeight() - Method in interface javax.media.nativewindow.util.InsetsImmutable
-
- getChosenCapabilities() - Method in interface javax.media.nativewindow.AbstractGraphicsConfiguration
-
Return the capabilities reflecting this graphics configuration,
which may differ from the capabilities used to choose this configuration.
- getChosenCapabilities() - Method in class javax.media.nativewindow.DefaultGraphicsConfiguration
-
- getConnection() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
Returns the semantic GraphicsDevice connection.
On platforms supporting remote devices, eg via tcp/ip network,
the implementation shall return a unique name for each remote address.
On X11 for example, the connection string should be as the following example.
:0.0
for a local connection
remote.host.net:0.0
for a remote connection
To support multiple local device, see
AbstractGraphicsDevice.getUnitID()
.
- getConnection() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- getDefaultCloseOperation() - Method in interface javax.media.nativewindow.WindowClosingProtocol
-
- getDefaultFactory() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Gets the default NativeWindowFactory.
- getDefaultToolkitLock() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Provides the system default
ToolkitLock
for the default system windowing type.
- getDefaultToolkitLock(String) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getDefaultToolkitLock(String, long) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Provides the default
ToolkitLock
for
type
and
deviceHandle
.
- getDevice() - Method in interface javax.media.nativewindow.AbstractGraphicsScreen
-
Return the device this graphics configuration is valid for
- getDevice() - Method in class javax.media.nativewindow.DefaultGraphicsScreen
-
- getDisplayHandle() - Method in interface javax.media.nativewindow.NativeSurface
-
Convenience: Get display handle from
AbstractGraphicsConfiguration .
- getFactory(AbstractGraphicsDevice, CapabilitiesImmutable) - Static method in class javax.media.nativewindow.GraphicsConfigurationFactory
-
Returns the graphics configuration factory for use with the
given device and capability.
- getFactory(Class<?>, Class<?>) - Static method in class javax.media.nativewindow.GraphicsConfigurationFactory
-
Returns the graphics configuration factory for use with the
given device and capability class.
- getFactory(Class<?>) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Returns the appropriate NativeWindowFactory to handle window
objects of the given type.
- getGraphicsConfiguration() - Method in interface javax.media.nativewindow.NativeSurface
-
Returns the graphics configuration corresponding to this window.
- getGreenBits() - Method in class javax.media.nativewindow.Capabilities
-
- getGreenBits() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns the number of bits for the color buffer's green
component.
- getHandle() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
Returns the native handle of the underlying native device,
if such thing exist.
- getHandle() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- getHeight() - Method in interface javax.media.nativewindow.NativeSurface
-
Returns the height of the client area excluding insets (window decorations).
- getHeight(ProxySurface) - Method in interface javax.media.nativewindow.UpstreamSurfaceHook
-
Returns the height of the upstream surface, used if ProxySurface#UPSTREAM_PROVIDES_SIZE
is set.
- getHeight() - Method in class javax.media.nativewindow.util.Dimension
-
- getHeight() - Method in interface javax.media.nativewindow.util.DimensionImmutable
-
- getHeight() - Method in class javax.media.nativewindow.util.Rectangle
-
- getHeight() - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
- getIndex() - Method in interface javax.media.nativewindow.AbstractGraphicsScreen
-
Returns the screen index this graphics screen is valid for
- getIndex() - Method in class javax.media.nativewindow.DefaultGraphicsScreen
-
- getInsets() - Method in interface javax.media.nativewindow.NativeWindow
-
Returns the insets defined as the width and height of the window decoration
on the left, right, top and bottom.
Insets are zero if the window is undecorated, including child windows.
- getLeftWidth() - Method in class javax.media.nativewindow.util.Insets
-
- getLeftWidth() - Method in interface javax.media.nativewindow.util.InsetsImmutable
-
- getLocationOnScreen(Point) - Method in interface javax.media.nativewindow.NativeWindow
-
Returns the current position of the top-left corner
of the client area in screen coordinates.
- getLocationOnScreen(NativeWindow) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getLock() - Method in interface javax.media.nativewindow.OffscreenLayerSurface
-
Returns the recursive lock object of this surface, which synchronizes multithreaded access.
- getNativeGraphicsConfiguration() - Method in interface javax.media.nativewindow.AbstractGraphicsConfiguration
-
In case the implementation utilizes a delegation pattern to wrap abstract toolkits,
this method shall return the native
AbstractGraphicsConfiguration
,
otherwise this instance.
- getNativeGraphicsConfiguration() - Method in class javax.media.nativewindow.DefaultGraphicsConfiguration
-
- getNativeWindow(Object, AbstractGraphicsConfiguration) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getNativeWindowType(boolean) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getNullToolkitLock() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getOffscreenLayerSurface(NativeSurface, boolean) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- getParent() - Method in interface javax.media.nativewindow.NativeWindow
-
- getPixelformat() - Method in interface javax.media.nativewindow.util.PixelFormatUtil.PixelSink
-
Return the sink's destination pixelformat.
- getPixelformat() - Method in class javax.media.nativewindow.util.PixelRectangle.GenericPixelRect
-
- getPixelformat() - Method in interface javax.media.nativewindow.util.PixelRectangle
-
- getPixels() - Method in class javax.media.nativewindow.util.PixelRectangle.GenericPixelRect
-
- getPixels() - Method in interface javax.media.nativewindow.util.PixelRectangle
-
Returns the pixels.
- getRedBits() - Method in class javax.media.nativewindow.Capabilities
-
- getRedBits() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns the number of bits for the color buffer's red
component.
- getRequestedCapabilities() - Method in interface javax.media.nativewindow.AbstractGraphicsConfiguration
-
Return the capabilities used to choose this graphics configuration.
- getRequestedCapabilities() - Method in class javax.media.nativewindow.DefaultGraphicsConfiguration
-
- getResolution() - Method in class javax.media.nativewindow.util.SurfaceSize
-
- getReversed(PixelFormat) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
Returns the
PixelFormat
with reversed components of
fmt
.
- getRightWidth() - Method in class javax.media.nativewindow.util.Insets
-
- getRightWidth() - Method in interface javax.media.nativewindow.util.InsetsImmutable
-
- getScreen() - Method in interface javax.media.nativewindow.AbstractGraphicsConfiguration
-
Return the screen this graphics configuration is valid for
- getScreen() - Method in class javax.media.nativewindow.DefaultGraphicsConfiguration
-
- getScreenIndex() - Method in interface javax.media.nativewindow.NativeSurface
-
Convenience: Get display handle from
AbstractGraphicsConfiguration .
- getShallUseOffscreenLayer() - Method in interface javax.media.nativewindow.OffscreenLayerOption
-
- getSize() - Method in class javax.media.nativewindow.util.PixelRectangle.GenericPixelRect
-
- getSize() - Method in interface javax.media.nativewindow.util.PixelRectangle
-
Returns the size, i.e.
- getStride() - Method in interface javax.media.nativewindow.util.PixelFormatUtil.PixelSink
-
Returns stride in byte-size, i.e.
- getStride() - Method in class javax.media.nativewindow.util.PixelRectangle.GenericPixelRect
-
- getStride() - Method in interface javax.media.nativewindow.util.PixelRectangle
-
Returns stride in byte-size, i.e.
- getSurfaceHandle() - Method in interface javax.media.nativewindow.NativeSurface
-
Returns the handle to the surface for this NativeSurface.
- getSurfaceLockOwner() - Method in interface javax.media.nativewindow.NativeSurface
-
Return the locking owner's Thread, or null if not locked.
- getToolkitLock() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- getTopHeight() - Method in class javax.media.nativewindow.util.Insets
-
- getTopHeight() - Method in interface javax.media.nativewindow.util.InsetsImmutable
-
- getTotalHeight() - Method in class javax.media.nativewindow.util.Insets
-
- getTotalHeight() - Method in interface javax.media.nativewindow.util.InsetsImmutable
-
- getTotalWidth() - Method in class javax.media.nativewindow.util.Insets
-
- getTotalWidth() - Method in interface javax.media.nativewindow.util.InsetsImmutable
-
- getTransparentAlphaValue() - Method in class javax.media.nativewindow.Capabilities
-
- getTransparentAlphaValue() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Gets the transparent alpha value for the frame buffer configuration.
- getTransparentBlueValue() - Method in class javax.media.nativewindow.Capabilities
-
- getTransparentBlueValue() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Gets the transparent blue value for the frame buffer configuration.
- getTransparentGreenValue() - Method in class javax.media.nativewindow.Capabilities
-
- getTransparentGreenValue() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Gets the transparent green value for the frame buffer configuration.
- getTransparentRedValue() - Method in class javax.media.nativewindow.Capabilities
-
- getTransparentRedValue() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Gets the transparent red value for the frame buffer configuration.
- getType() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
Returns the type of the underlying subsystem, ie
NativeWindowFactory.TYPE_KD, NativeWindowFactory.TYPE_X11, ..
- getType() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- getUniqueID() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
- getUniqueID() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- getUnitID() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
- getUnitID() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- getUpstreamOptionBits(StringBuilder) - Method in interface javax.media.nativewindow.ProxySurface
-
- getUpstreamOptionBits() - Method in interface javax.media.nativewindow.ProxySurface
-
- getUpstreamSurface() - Method in interface javax.media.nativewindow.ProxySurface
-
- getUpstreamSurfaceHook() - Method in interface javax.media.nativewindow.ProxySurface
-
- getValue32(PixelFormat, ByteBuffer, int) - Static method in class javax.media.nativewindow.util.PixelFormatUtil
-
- getVisualID(VisualIDHolder.VIDType) - Method in class javax.media.nativewindow.Capabilities
-
- getVisualID(VisualIDHolder.VIDType) - Method in class javax.media.nativewindow.DefaultGraphicsConfiguration
-
- getVisualID(VisualIDHolder.VIDType) - Method in interface javax.media.nativewindow.VisualIDHolder
-
- getWidth() - Method in interface javax.media.nativewindow.NativeSurface
-
Returns the width of the client area excluding insets (window decorations).
- getWidth(ProxySurface) - Method in interface javax.media.nativewindow.UpstreamSurfaceHook
-
Returns the width of the upstream surface, used if ProxySurface#UPSTREAM_PROVIDES_SIZE
is set.
- getWidth() - Method in class javax.media.nativewindow.util.Dimension
-
- getWidth() - Method in interface javax.media.nativewindow.util.DimensionImmutable
-
- getWidth() - Method in class javax.media.nativewindow.util.Rectangle
-
- getWidth() - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
- getWindowHandle() - Method in interface javax.media.nativewindow.NativeWindow
-
Returns the window handle for this NativeWindow.
- getX() - Method in interface javax.media.nativewindow.NativeWindow
-
- getX() - Method in class javax.media.nativewindow.util.Point
-
- getX() - Method in interface javax.media.nativewindow.util.PointImmutable
-
- getX() - Method in class javax.media.nativewindow.util.Rectangle
-
- getX() - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
- getY() - Method in interface javax.media.nativewindow.NativeWindow
-
- getY() - Method in class javax.media.nativewindow.util.Point
-
- getY() - Method in interface javax.media.nativewindow.util.PointImmutable
-
- getY() - Method in class javax.media.nativewindow.util.Rectangle
-
- getY() - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
- getZero() - Static method in class javax.media.nativewindow.util.Insets
-
- GraphicsConfigurationFactory - Class in javax.media.nativewindow
-
Provides the mechanism by which the graphics configuration for a
window can be chosen before the window is created.
- id - Variable in enum javax.media.nativewindow.VisualIDHolder.VIDType
-
- initSingleton() - Static method in class javax.media.nativewindow.GraphicsConfigurationFactory
-
- initSingleton() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Static one time initialization of this factory.
This initialization method must be called once by the program or utilizing modules!
- Insets - Class in javax.media.nativewindow.util
-
- Insets() - Constructor for class javax.media.nativewindow.util.Insets
-
- Insets(int, int, int, int) - Constructor for class javax.media.nativewindow.util.Insets
-
- InsetsImmutable - Interface in javax.media.nativewindow.util
-
Immutable Rectangle interface
- intersection(RectangleImmutable) - Method in class javax.media.nativewindow.util.Rectangle
-
- intersection(int, int, int, int) - Method in class javax.media.nativewindow.util.Rectangle
-
- intersection(RectangleImmutable) - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
Returns the intersection of this rectangleand the given rectangle.
- intersection(int, int, int, int) - Method in interface javax.media.nativewindow.util.RectangleImmutable
-
Returns the intersection of this rectangleand the given coordinates.
- isAWTAvailable() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- isBackgroundOpaque() - Method in class javax.media.nativewindow.Capabilities
-
- isBackgroundOpaque() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns whether an opaque or translucent surface is requested, supported or chosen.
- isBitmap() - Method in class javax.media.nativewindow.Capabilities
-
- isBitmap() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns whether bitmap offscreen mode is requested, available or chosen.
- isGLOriented() - Method in interface javax.media.nativewindow.util.PixelFormatUtil.PixelSink
-
Returns true
if the sink's memory is laid out in
OpenGL's coordinate system, origin at bottom left.
- isGLOriented() - Method in class javax.media.nativewindow.util.PixelRectangle.GenericPixelRect
-
- isGLOriented() - Method in interface javax.media.nativewindow.util.PixelRectangle
-
Returns true
if the memory is laid out in
OpenGL's coordinate system, origin at bottom left.
- isHandleOwner() - Method in interface javax.media.nativewindow.AbstractGraphicsDevice
-
- isHandleOwner() - Method in class javax.media.nativewindow.DefaultGraphicsDevice
-
- isInitialized() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
- isJVMShuttingDown() - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Returns true if the JVM is shutting down, otherwise false.
- isNativeVisualIDValidForProcessing(int) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Returns true if the given visualID is valid for further processing, i.e.
- isOffscreenLayerSurfaceEnabled() - Method in interface javax.media.nativewindow.OffscreenLayerOption
-
Returns true if this instance uses an offscreen layer, otherwise false.
- isOnscreen() - Method in class javax.media.nativewindow.Capabilities
-
- isOnscreen() - Method in interface javax.media.nativewindow.CapabilitiesImmutable
-
Returns whether an on- or offscreen surface is requested, available or chosen.
- isSurfaceLayerAttached() - Method in interface javax.media.nativewindow.OffscreenLayerSurface
-
Returns true if a surface layer is attached, otherwise false.
- isSurfaceLockedByOtherThread() - Method in interface javax.media.nativewindow.NativeSurface
-
Query if surface is locked by another thread, i.e.
- scale(int) - Method in class javax.media.nativewindow.util.Dimension
-
- scale(int, int) - Method in class javax.media.nativewindow.util.Point
-
- set(int, int) - Method in class javax.media.nativewindow.util.Dimension
-
- set(int, int, int, int) - Method in class javax.media.nativewindow.util.Insets
-
- set(int, int) - Method in class javax.media.nativewindow.util.Point
-
- set(int, int, int, int) - Method in class javax.media.nativewindow.util.Rectangle
-
- setAlphaBits(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the number of bits requested for the color buffer's alpha
component.
- setBackgroundOpaque(boolean) - Method in class javax.media.nativewindow.Capabilities
-
Sets whether the surface shall be opaque or translucent.
- setBitmap(boolean) - Method in class javax.media.nativewindow.Capabilities
-
Requesting offscreen bitmap mode.
- setBlueBits(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the number of bits requested for the color buffer's blue
component.
- setBottomHeight(int) - Method in class javax.media.nativewindow.util.Insets
-
- setChosenCapabilities(CapabilitiesImmutable) - Method in interface javax.media.nativewindow.OffscreenLayerSurface
-
Sets the capabilities of this instance, allowing upstream API's to refine it, i.e.
- setCursor(PixelRectangle, PointImmutable) - Method in interface javax.media.nativewindow.OffscreenLayerSurface
-
Optional method setting cursor in the corresponding on-screen surface/window, if exists.
- setDefaultCloseOperation(WindowClosingProtocol.WindowClosingMode) - Method in interface javax.media.nativewindow.WindowClosingProtocol
-
- setDefaultFactory(NativeWindowFactory) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Sets the default NativeWindowFactory.
- setGraphicsConfiguration(AbstractGraphicsConfiguration) - Method in interface javax.media.nativewindow.ProxySurface
-
Allow redefining the AbstractGraphicsConfiguration
- setGreenBits(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the number of bits requested for the color buffer's green
component.
- setHeight(int) - Method in class javax.media.nativewindow.util.Dimension
-
- setHeight(int) - Method in class javax.media.nativewindow.util.Rectangle
-
- setLeftWidth(int) - Method in class javax.media.nativewindow.util.Insets
-
- setOnscreen(boolean) - Method in class javax.media.nativewindow.Capabilities
-
Sets whether the surface shall be on- or offscreen.
- setRedBits(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the number of bits requested for the color buffer's red
component.
- setRightWidth(int) - Method in class javax.media.nativewindow.util.Insets
-
- setShallUseOffscreenLayer(boolean) - Method in interface javax.media.nativewindow.OffscreenLayerOption
-
Request an offscreen layer, if supported.
- setSize(int, int) - Method in interface javax.media.nativewindow.UpstreamSurfaceHook.MutableSize
-
- setSurfaceHandle(long) - Method in interface javax.media.nativewindow.MutableSurface
-
Sets the surface handle which is created outside of this implementation.
- setTopHeight(int) - Method in class javax.media.nativewindow.util.Insets
-
- setTransparentAlphaValue(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the transparent alpha value for the frame buffer configuration,
ranging from 0 to the maximum frame buffer value for alpha.
- setTransparentBlueValue(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the transparent blue value for the frame buffer configuration,
ranging from 0 to the maximum frame buffer value for blue.
- setTransparentGreenValue(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the transparent green value for the frame buffer configuration,
ranging from 0 to the maximum frame buffer value for green.
- setTransparentRedValue(int) - Method in class javax.media.nativewindow.Capabilities
-
Sets the transparent red value for the frame buffer configuration,
ranging from 0 to the maximum frame buffer value for red.
- setUpstreamSurfaceHook(UpstreamSurfaceHook) - Method in interface javax.media.nativewindow.ProxySurface
-
- setWidth(int) - Method in class javax.media.nativewindow.util.Dimension
-
- setWidth(int) - Method in class javax.media.nativewindow.util.Rectangle
-
- setX(int) - Method in class javax.media.nativewindow.util.Point
-
- setX(int) - Method in class javax.media.nativewindow.util.Rectangle
-
- setY(int) - Method in class javax.media.nativewindow.util.Point
-
- setY(int) - Method in class javax.media.nativewindow.util.Rectangle
-
- shutdown() - Static method in class javax.media.nativewindow.GraphicsConfigurationFactory
-
- shutdown(boolean) - Static method in class javax.media.nativewindow.NativeWindowFactory
-
Cleanup resources at JVM shutdown
- store(int, int, int) - Method in interface javax.media.nativewindow.util.PixelFormatUtil.PixelSink32
-
Will be invoked over all rows top-to down
and all columns left-to-right.
- SurfaceSize - Class in javax.media.nativewindow.util
-
Immutable SurfaceSize Class, consisting of it's read only components:
DimensionImmutable
size in pixels
bits per pixel
- SurfaceSize(DimensionImmutable, int) - Constructor for class javax.media.nativewindow.util.SurfaceSize
-
- surfaceSwap() - Method in interface javax.media.nativewindow.NativeSurface
-
Provide a mechanism to utilize custom (pre-) swap surface
code.
- surfaceUpdated(Object, NativeSurface, long) - Method in interface javax.media.nativewindow.SurfaceUpdatedListener
-
Notification of a surface update event, eg.
- SurfaceUpdatedListener - Interface in javax.media.nativewindow
-
Clients may add their SurfaceUpdateListener implementation to a
NativeSurface
allowing to get notified after the surface has been updated, eg.
- swapDeviceHandleAndOwnership(DefaultGraphicsDevice, DefaultGraphicsDevice) - Static method in class javax.media.nativewindow.DefaultGraphicsDevice
-