Enum | +--CaptionButtonpublic final class CaptionButton
Defines that constants that you can pass to the Graphics.drawCaptionButton method. These constants determine the button's appearance.
Also see wfc.ui.Graphics
Fields
Name | Description |
---|---|
CLOSE | Draws the close "X" button. |
HELP | Draws the caption help button. |
MAX | |
MAXIMIZE | Draws the caption maximize button. |
MIN | |
MINIMIZE | Draws the caption minimize button. |
RESTORE | Draws the caption restore button. |
Methods
Name | Description |
---|---|
ensureValid(int value) | Throws an exception if the given value is not supported by this class. |
valid(int value) | Retrieves a boolean value that indicates whether the specified value is supported by this class. |
Throws an exception if the given value is not supported by this class.
InvalidEnumArgument thrown if the specified constant is not supported by this class.
Returns true if the value is valid; otherwise, returns false.
Retrieves a boolean value that indicates whether the specified value is supported by this class.