public static enum ScreenCaptureFilter.CaptureMode extends java.lang.Enum<ScreenCaptureFilter.CaptureMode>
Enum Constant and Description |
---|
Desktop |
Rectangle |
Window |
WindowRectangle |
Modifier and Type | Method and Description |
---|---|
static ScreenCaptureFilter.CaptureMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScreenCaptureFilter.CaptureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScreenCaptureFilter.CaptureMode Desktop
public static final ScreenCaptureFilter.CaptureMode Rectangle
public static final ScreenCaptureFilter.CaptureMode Window
public static final ScreenCaptureFilter.CaptureMode WindowRectangle
public static ScreenCaptureFilter.CaptureMode[] values()
for (ScreenCaptureFilter.CaptureMode c : ScreenCaptureFilter.CaptureMode.values()) System.out.println(c);
public static ScreenCaptureFilter.CaptureMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null