Package esmska.gui
Class Actions
- java.lang.Object
-
- esmska.gui.Actions
-
public class Actions extends java.lang.ObjectClass containing common actions used in GUIs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActions.SuggestGatewayActionSelect suggested gateway in the combobox
-
Constructor Summary
Constructors Constructor Description Actions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.ActiongetAboutAction()Show about framestatic javax.swing.ActiongetBrowseAction(java.lang.String url)Browse specific URL with a web browserstatic javax.swing.ActiongetConfigAction()Show config framestatic javax.swing.ActiongetExportAction()Export contacts for other programsstatic javax.swing.ActiongetHistoryAction()Show the history framestatic javax.swing.ActiongetImportAction()Import contacts from other programs/formatsstatic javax.swing.ActiongetLogAction()Show the log framestatic javax.swing.ActiongetQueuePauseAction(boolean showName)Pause/unpause the sms queuestatic javax.swing.ActiongetQuitAction()Quit the programstatic javax.swing.ActiongetSuggestGatewayAction(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.
-
-
-
Method Detail
-
getAboutAction
public static javax.swing.Action getAboutAction()
Show about frame
-
getConfigAction
public static javax.swing.Action getConfigAction()
Show config frame
-
getQuitAction
public static javax.swing.Action getQuitAction()
Quit the program
-
getHistoryAction
public static javax.swing.Action getHistoryAction()
Show the history frame
-
getImportAction
public static javax.swing.Action getImportAction()
Import contacts from other programs/formats
-
getExportAction
public static javax.swing.Action getExportAction()
Export contacts for other programs
-
getLogAction
public static javax.swing.Action getLogAction()
Show the log frame
-
getQueuePauseAction
public static javax.swing.Action getQueuePauseAction(boolean showName)
Pause/unpause the sms queue- Parameters:
showName- show name of the action (in button text etc)
-
getSuggestGatewayAction
public 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.- Parameters:
gatewayComboBox- Gateway combobox which to adjust to suggested gatewaynumberComponent- Text component containing phone number- Returns:
- action to automatically select best suitable gateway in this list according to number filled in specified text component
-
getBrowseAction
public static javax.swing.Action getBrowseAction(java.lang.String url)
Browse specific URL with a web browser
-
-