Package org.ka2ddo.yaac.gui.io
Class ProtocolSelectionControls
java.lang.Object
org.ka2ddo.yaac.gui.io.ProtocolSelectionControls
- All Implemented Interfaces:
ItemListener
,EventListener
This class implements the code needed to create with port configuration widgets to select
AX.25 protocols should be permitted on a port.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionstatic JPanel
createWidgets
(ResourceBundle msgBundle, PortConfig.Cfg cfg) Create a generic set of controls for enabling or disabling the protocols to be supported over the asscoiated AX.25 port interface.void
DO NOT CALL.
-
Method Details
-
createWidgets
Create a generic set of controls for enabling or disabling the protocols to be supported over the asscoiated AX.25 port interface.- Parameters:
msgBundle
- ResourceBundle for obtaining localized label translationscfg
- PortConfig.Cfg object to store protocol selection bits- Returns:
- JPanel loaded with controls
-
itemStateChanged
DO NOT CALL. Handle state changes of an associated JCheckBox for the protocol selection controls.- Specified by:
itemStateChanged
in interfaceItemListener
- Parameters:
e
- ItemEvent identifying the checkbox
-