143 * Returns the type of this {@code GraphicsDevice}.
144 * @return the type of this {@code GraphicsDevice}, which can
145 * either be TYPE_RASTER_SCREEN, TYPE_PRINTER or TYPE_IMAGE_BUFFER.
146 * @see #TYPE_RASTER_SCREEN
147 * @see #TYPE_PRINTER
148 * @see #TYPE_IMAGE_BUFFER
149 */
150 public abstract int getType();
151
152 /**
153 * Returns the identification string associated with this
154 * {@code GraphicsDevice}.
155 * <p>
156 * A particular program might use more than one
157 * {@code GraphicsDevice} in a {@code GraphicsEnvironment}.
158 * This method returns a {@code String} identifying a
159 * particular {@code GraphicsDevice} in the local
160 * {@code GraphicsEnvironment}. Although there is
161 * no public method to set this {@code String}, a programmer can
162 * use the {@code String} for debugging purposes. Vendors of
163 * the Java™ Runtime Environment can
164 * format the return value of the {@code String}. To determine
165 * how to interpret the value of the {@code String}, contact the
166 * vendor of your Java Runtime. To find out who the vendor is, from
167 * your program, call the
168 * {@link System#getProperty(String) getProperty} method of the
169 * System class with "java.vendor".
170 * @return a {@code String} that is the identification
171 * of this {@code GraphicsDevice}.
172 */
173 public abstract String getIDstring();
174
175 /**
176 * Returns all of the {@code GraphicsConfiguration}
177 * objects associated with this {@code GraphicsDevice}.
178 * @return an array of {@code GraphicsConfiguration}
179 * objects that are associated with this
180 * {@code GraphicsDevice}.
181 */
182 public abstract GraphicsConfiguration[] getConfigurations();
183
|
143 * Returns the type of this {@code GraphicsDevice}.
144 * @return the type of this {@code GraphicsDevice}, which can
145 * either be TYPE_RASTER_SCREEN, TYPE_PRINTER or TYPE_IMAGE_BUFFER.
146 * @see #TYPE_RASTER_SCREEN
147 * @see #TYPE_PRINTER
148 * @see #TYPE_IMAGE_BUFFER
149 */
150 public abstract int getType();
151
152 /**
153 * Returns the identification string associated with this
154 * {@code GraphicsDevice}.
155 * <p>
156 * A particular program might use more than one
157 * {@code GraphicsDevice} in a {@code GraphicsEnvironment}.
158 * This method returns a {@code String} identifying a
159 * particular {@code GraphicsDevice} in the local
160 * {@code GraphicsEnvironment}. Although there is
161 * no public method to set this {@code String}, a programmer can
162 * use the {@code String} for debugging purposes. Vendors of
163 * the Java Runtime Environment can
164 * format the return value of the {@code String}. To determine
165 * how to interpret the value of the {@code String}, contact the
166 * vendor of your Java Runtime. To find out who the vendor is, from
167 * your program, call the
168 * {@link System#getProperty(String) getProperty} method of the
169 * System class with "java.vendor".
170 * @return a {@code String} that is the identification
171 * of this {@code GraphicsDevice}.
172 */
173 public abstract String getIDstring();
174
175 /**
176 * Returns all of the {@code GraphicsConfiguration}
177 * objects associated with this {@code GraphicsDevice}.
178 * @return an array of {@code GraphicsConfiguration}
179 * objects that are associated with this
180 * {@code GraphicsDevice}.
181 */
182 public abstract GraphicsConfiguration[] getConfigurations();
183
|