public class DisplayModeCollection extends java.lang.Object implements java.lang.Iterable<DisplayMode>
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<DisplayMode> |
get(SurfaceFormat format)
Retrieves the DisplayMode structure with the specified format.
|
java.util.Iterator<DisplayMode> |
iterator()
Gets an iterator that can iterate through the DisplayModeCollection.
|
public java.lang.Iterable<DisplayMode> get(SurfaceFormat format)
format
- The format of the DisplayMode to retrieve.public java.util.Iterator<DisplayMode> iterator()
iterator
in interface java.lang.Iterable<DisplayMode>