public class Actions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Actions.SuggestGatewayAction
Select suggested gateway in the combobox
|
Constructor and Description |
---|
Actions() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Action |
getAboutAction()
Show about frame
|
static javax.swing.Action |
getBrowseAction(java.lang.String url)
Browse specific URL with a web browser
|
static javax.swing.Action |
getConfigAction()
Show config frame
|
static javax.swing.Action |
getExportAction()
Export contacts for other programs
|
static javax.swing.Action |
getHistoryAction()
Show the history frame
|
static javax.swing.Action |
getImportAction()
Import contacts from other programs/formats
|
static javax.swing.Action |
getLogAction()
Show the log frame
|
static javax.swing.Action |
getQueuePauseAction(boolean showName)
Pause/unpause the sms queue
|
static javax.swing.Action |
getQuitAction()
Quit the program
|
static javax.swing.Action |
getSuggestGatewayAction(GatewayComboBox gatewayComboBox,
javax.swing.text.JTextComponent numberComponent)
Get action to automatically select best suitable gateway in this list
according to number filled in specified text component.
|
public static javax.swing.Action getAboutAction()
public static javax.swing.Action getConfigAction()
public static javax.swing.Action getQuitAction()
public static javax.swing.Action getHistoryAction()
public static javax.swing.Action getImportAction()
public static javax.swing.Action getExportAction()
public static javax.swing.Action getLogAction()
public static javax.swing.Action getQueuePauseAction(boolean showName)
showName
- show name of the action (in button text etc)public static javax.swing.Action getSuggestGatewayAction(GatewayComboBox gatewayComboBox, javax.swing.text.JTextComponent numberComponent)
gatewayComboBox
- Gateway combobox which to adjust to suggested gatewaynumberComponent
- Text component containing phone numberpublic static javax.swing.Action getBrowseAction(java.lang.String url)