public static class FlashInfo.FlashOptions
extends com.jniwrapper.util.FlagSet
Modifier and Type | Field and Description |
---|---|
static int |
ALL
Flash both the window caption and taskbar button.
|
static int |
CAPTION
Flash the window caption.
|
static int |
STOP
Stop flashing.
|
static int |
TIMER
Flash continuously, until the FLASHW_STOP flag is set.
|
static int |
TIMERNOFG
Flash continuously until the window comes to the foreground.
|
static int |
TRAY
Flash the taskbar button.
|
Constructor and Description |
---|
FlashOptions()
Creates the instance of the
FlashOptions |
FlashOptions(long flags)
Creates the instance of the
FlashOptions with the specified flags |
Modifier and Type | Method and Description |
---|---|
boolean |
isFlashAll()
Returns value of the
ALL flag |
boolean |
isFlashCaption()
Returns value of the
CAPTION flag |
boolean |
isFlashContinuously()
Returns value of the
TIMER flag |
boolean |
isFlashContinuouslyNoForeground()
Returns value of the
TIMERNOFG flag |
boolean |
isFlashTray()
Returns value of the
TRAY flag |
void |
setFlashAll(boolean value)
Sets options to flash both the window caption and taskbar button.
|
void |
setFlashCaption(boolean value)
Sets options to flash the window caption.
|
void |
setFlashContinuously(boolean value)
Sets options to flash the window continuously until the
setStop() flag is set. |
void |
setFlashContinuouslyNoForeground(boolean value)
Sets options to flash the window continuously until the window comes
to the foreground.
|
void |
setFlashTray(boolean value)
Sets options to flash the taskbar button.
|
void |
setStop()
Sets options to stop flashing the window.
|
public static final int STOP
public static final int CAPTION
public static final int TRAY
public static final int ALL
CAPTION
FLASHW_CAPTION and
TRAY
flags.public static final int TIMER
public static final int TIMERNOFG
public FlashOptions()
FlashOptions
public FlashOptions(long flags)
FlashOptions
with the specified flagsflags
- Flagspublic void setStop()
public void setFlashCaption(boolean value)
value
- if true, only the caption flashes; if false,
the caption flashing is off.public boolean isFlashCaption()
CAPTION
flagCAPTION
flagpublic void setFlashTray(boolean value)
value
- if true, the taskbar button flashes in the tray; if false,
the taskbar button flashing is off.public boolean isFlashTray()
TRAY
flagTRAY
flagpublic void setFlashAll(boolean value)
value
- if true, to flash the caption and taskbar button; if
false flashing of the caption and taskbar button is off.public void setFlashContinuously(boolean value)
setStop()
flag is set.value
- if true, to flash the window continuously.public boolean isFlashContinuously()
TIMER
flagTIMER
flagpublic void setFlashContinuouslyNoForeground(boolean value)
value
- if true, to flash the window continuously.