public class ActionBeep extends CCFAction
ACT_ALIAS_BUTTON, ACT_ALIAS_DEV, ACT_ALIAS_KEY, ACT_BEEP, ACT_DELAY, ACT_DUMMY, ACT_IRCODE, ACT_JUMP_PANEL, ACT_MARANTZ_JUMP, ACT_TIMER, CustomKeys, JUMP_BACK, JUMP_FORWARD, JUMP_MOUSE_MODE, JUMP_SCROLL_DOWN, JUMP_SCROLL_UP, jumpSpecial, jumpSpecialID, KEY_CHANDOWN, KEY_CHANUP, KEY_LEFT, KEY_MUTE, KEY_RIGHT, KEY_VOLDOWN, KEY_VOLUP, MarantzKeys, ProntoKeys, ProntoProKeys
TEXT_CENTER, TEXT_LEFT, TEXT_RIGHT
Constructor and Description |
---|
ActionBeep(int dur,
int freq,
int cycle) |
Modifier and Type | Method and Description |
---|---|
int |
getDuration() |
static int |
getDuration(int p2)
Get the duration of the Beep.
|
int |
getDutyCycle() |
static int |
getDutyCycle(int p2)
Get the duty cycle of the Beep.
|
int |
getFrequency() |
static int |
getFrequency(int p2)
Get the frequency of the Beep.
|
static void |
main(java.lang.String[] args) |
void |
setBeep(int dur,
int freq,
int cycle)
Set the beep parameters.
|
getActionType, getJumpSpecialIDFromString, getJumpSpecialString, isJump, isSpecialJump, toString
getHeader, getParent, getParentDevice, getParentPanel
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static int getDuration(int p2)
public int getDuration()
public static int getFrequency(int p2)
public int getFrequency()
public static int getDutyCycle(int p2)
public int getDutyCycle()
public void setBeep(int dur, int freq, int cycle)
dur
- duration of the beep in milliseconds
in multiples of 10 up to 2550freq
- frequency of the beep in Hz up to 65535cycle
- duty cycle of the beep (0-100%)