diff options
author | Sven Gothel <[email protected]> | 2012-06-21 20:14:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-06-21 20:14:46 +0200 |
commit | 1c05c85e1ccc480da227cd6aa4718efd386e1e35 (patch) | |
tree | e71f4cf6e02b5970d0625a3fa1cc0a57200a53ba /src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java | |
parent | 533e072a592826df53b90491bcaa606dfddaf646 (diff) |
JOGL CapabilitiesChooser-API and impl.: Cleanup using generics: 'List l' -> 'List<? extends CapabilitiesImmutable> l'
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java b/src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java index 73a77de27..5d575c2ee 100644 --- a/src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java +++ b/src/jogl/classes/javax/media/opengl/GLCapabilitiesChooser.java @@ -40,17 +40,23 @@ package javax.media.opengl; +import java.util.List; + +import javax.media.nativewindow.CapabilitiesImmutable; import javax.media.nativewindow.CapabilitiesChooser; +import javax.media.opengl.GLCapabilitiesImmutable; + /** Provides a mechanism by which applications can customize the window type selection for a given {@link GLCapabilities}. Developers can implement this interface and pass an instance into the appropriate method of {@link GLDrawableFactory}; the chooser will be called during the OpenGL context creation process. Note that this is only a marker interface; its signature is the same as - {@link CapabilitiesChooser}, but the array of {@link Capabilities} - objects passed to {@link #chooseCapabilities chooseCapabilities} - will actually be an array of {@link GLCapabilities}. */ + {@link CapabilitiesChooser} and the {@link List} of + objects extending {@link CapabilitiesImmutable} + passed to {@link #chooseCapabilities chooseCapabilities} + is actually a {@link List} of type {@link GLCapabilitiesImmutable}. */ public interface GLCapabilitiesChooser extends CapabilitiesChooser { } |