RVS_MediaServer_SettingsViewController
class RVS_MediaServer_SettingsViewController : RVS_MediaServer_BaseViewController, NSTextViewDelegate, NSWindowDelegate
This manages the preferences/settings view window.
-
The label for the Stream Name Text Field
Declaration
Swift
@IBOutlet weak var stream_name_label: NSTextField!
-
The Stream Name Text Field
Declaration
Swift
@IBOutlet weak var stream_name_text_field: NSTextField!
-
The label for the Input URI Text Field
Declaration
Swift
@IBOutlet weak var input_uri_label: NSTextField!
-
The Input URI Text Field
Declaration
Swift
@IBOutlet weak var input_uri_text_field: NSTextField!
-
The label for the Output TCP Port Text Field
Declaration
Swift
@IBOutlet weak var output_tcp_port_label: NSTextField!
-
The Output TCP Port Text Field
Declaration
Swift
@IBOutlet weak var output_tcp_port_text_field: NSTextField!
-
The Login ID Label
Declaration
Swift
@IBOutlet var login_label: NSTextField!
-
The Login ID Text Field
Declaration
Swift
@IBOutlet weak var login_text_field: NSTextField!
-
The Password Label
Declaration
Swift
@IBOutlet var password_label: NSTextField!
-
The Password Text Field
Declaration
Swift
@IBOutlet weak var password_text_field: NSTextField!
-
The Temp HTML Directory Label
Declaration
Swift
@IBOutlet var temp_directory_name_label: NSTextField!
-
The Temp HTML Directory Text Field
Declaration
Swift
@IBOutlet weak var temp_directory_name_text_field: NSTextField!
-
The Mode Selector Segmented Switch
Declaration
Swift
@IBOutlet weak var modeSwitchSegmentedControl: NSSegmentedControl!
-
These are the input items
Declaration
Swift
@IBOutlet weak var inputItemsStackView: NSStackView!
-
These are the items about the HTTP server.
Declaration
Swift
@IBOutlet weak var outputItemsStackView: NSStackView!
-
These are the items about the HTTP server.
Declaration
Swift
@IBOutlet weak var useOutputServerCheckbox: NSButton!
-
Called when the mode selector changes.
Declaration
Swift
@IBAction func modeSwitchChanged(_: Any)
-
Called when the use output HTTP server checkbox changes.
Declaration
Swift
@IBAction func outputItemsCheckboxChanged(_ inCheckbox: NSButton! = nil)
Parameters
inCheckbox
The checkbox object. Can be omitted.
-
Set up the various localized items and initial values.
Declaration
Swift
func setUpLocalizations()
-
Set up the various localized items and initial values.
Declaration
Swift
override func viewDidLoad()
-
Called just after the view appears.
We use this to mark the preference for the window being open.
Declaration
Swift
override func viewDidAppear()
-
We set the prefs window tracker to false.
Declaration
Swift
func windowShouldClose(_: NSWindow) -> Bool
Return Value
true (always)