diff options
author | Kenneth Russel <[email protected]> | 2005-05-27 21:26:03 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-05-27 21:26:03 +0000 |
commit | a3944ffd82fe2d12643cbf59d326ae1ccf535a5b (patch) | |
tree | 17f23e701372f441f848ee06ec4cefc663eac2b9 /src/net/java/games/jogl/GLCapabilitiesChooser.java | |
parent | e74339cd179c38c9cdda05e293f8e6005814c6c5 (diff) |
Javadoc fixes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@287 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/GLCapabilitiesChooser.java')
-rw-r--r-- | src/net/java/games/jogl/GLCapabilitiesChooser.java | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/net/java/games/jogl/GLCapabilitiesChooser.java b/src/net/java/games/jogl/GLCapabilitiesChooser.java index 78486f1e9..951dd52a1 100644 --- a/src/net/java/games/jogl/GLCapabilitiesChooser.java +++ b/src/net/java/games/jogl/GLCapabilitiesChooser.java @@ -20,7 +20,7 @@ * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - * MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR + * MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR * ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR @@ -40,7 +40,10 @@ package net.java.games.jogl; /** Provides a mechanism by which applications can customize the - window type selection for a given {@link GLCapabilities}. */ + 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. */ public interface GLCapabilitiesChooser { /** Chooses the index (0..available.length - 1) of the {@link @@ -50,7 +53,14 @@ public interface GLCapabilitiesChooser { ignore these. The <em>windowSystemRecommendedChoice</em> parameter may be provided to the chooser by the underlying window system; if this index is valid, it is recommended, but - not necessarily required, that the chooser select that entry. */ + not necessarily required, that the chooser select that entry. + + <P> <em>Note:</em> this method is called automatically by the + {@link GLDrawableFactory} when an instance of this class is + passed in to one of its factory methods. It should generally not + be invoked by users directly, unless it is desired to delegate + the choice to some other GLCapabilitiesChooser object. + */ public int chooseCapabilities(GLCapabilities desired, GLCapabilities[] available, int windowSystemRecommendedChoice); |