MCPcopy Create free account

hub / github.com/agm1984/mackintosh-windows / functions

Functions49 in github.com/agm1984/mackintosh-windows

↓ 2 callersFunctionregisterValidSW
(swUrl)
src/registerServiceWorker.js:55
↓ 1 callersFunctioncalcAMPM
(h)
src/components/Taskbar/utils.js:27
↓ 1 callersFunctioncalcHours
(h)
src/components/Taskbar/utils.js:6
↓ 1 callersFunctioncalcMinutes
(m)
src/components/Taskbar/utils.js:17
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl)
src/registerServiceWorker.js:84
↓ 1 callersFunctiongetConciseMonth
(m)
src/components/AdamResume/utils.js:5
↓ 1 callersMethodrenderInitialSize
* When a Window is in its initial state, its size is controlled via the dimensions prop * which is determined by the Window's configuration in the
src/components/Window/Window.js:124
↓ 1 callersMethodrenderMaximized
* When a Window is maximized, it should be full viewport width and height, * minus the height of the Taskbar.
src/components/Window/Window.js:60
FunctioncomponentDidMount
* When the Desktop initially renders, the JavaScript bundle may still be downloading, * so the App displays a "Optimizing your experience" modal th
src/components/Desktop.js:90
FunctioncomponentDidMount
* When the Taskbar Component initially loads, the current time is loaded into the * System Tray in the bottom-right corner. `this._isMounted` is tr
src/components/Taskbar/Taskbar.js:37
MethodcomponentDidMount
* When a Window is mounted, an event listener should be added to detect if * the user is attempting to bring the Window back to the foreground.
src/components/Window/Window.js:18
MethodcomponentDidMount
* When the Start Menu is mounted (ie: displayed), an event listener should * be added to detect if the user is attempting to click outside its boun
src/components/Taskbar/StartMenu.js:17
MethodcomponentDidMount
* When the Desktop Icon is mounted (ie: displayed), an event listener should * be added to detect if the user presses outside the Desktop Icon's bo
src/components/DesktopIcon/DesktopIcon.js:18
FunctioncomponentWillMount
* The list of open programs must be specified prior to the Desktop mounting * or sequential Taskbar logic related to program IDs will be affected.
src/components/Desktop.js:79
FunctioncomponentWillMount
* If dimensions are below threshold, Mobile Mode should be toggled which * affects various attributes of the Taskbar.
src/components/Taskbar/Taskbar.js:24
FunctioncomponentWillUnmount
* When the Component unmounts, the Clock should stop updating.
src/components/Taskbar/Taskbar.js:66
MethodcomponentWillUnmount
* For memory management reasons, the event listener is removed when * the Window unmounts.
src/components/Window/Window.js:26
MethodcomponentWillUnmount
* For memory management reasons, the event listener is removed when * the Start Menu unmounts.
src/components/Taskbar/StartMenu.js:25
MethodcomponentWillUnmount
* For memory management reasons, the event listener is removed when * the Desktop Icon unmounts.
src/components/DesktopIcon/DesktopIcon.js:26
Functionconstructor
(props)
src/components/Desktop.js:21
Functionconstructor
(props)
src/components/AdamResume/AdamResume.js:60
Functionconstructor
(props)
src/components/AdamHobbies/AdamHobbies.js:18
Functionconstructor
(props)
src/components/Taskbar/Taskbar.js:9
Functionconstructor
(props)
src/components/AdamProperties/BackendSkills.js:11
Functionconstructor
(props)
src/components/AdamProperties/AdamProperties.js:8
Functionconstructor
(props)
src/components/AdamProperties/FrontendSkills.js:11
Methodconstructor
(props)
src/components/Window/Window.js:9
Methodconstructor
(props)
src/components/Taskbar/StartMenu.js:7
Methodconstructor
(props)
src/components/DesktopIcon/DesktopIcon.js:8
FunctionhandleActivateProgram
* When a program in the Taskbar is pressed, it should be activated and brought to the forefront. * If the program is currently minimized, it should
src/components/Desktop.js:152
FunctionhandleCloseProgram
* When a Close Button is pressed, the program should be closed. * The `taskbarOrder` array must be updated to reflect the new desktop state. * @
src/components/Desktop.js:270
FunctionhandleMaximizeProgram
* When a Maximize Button is pressed, the program should resize to full-screen, unless * it is already maximized. In this case, it should be restore
src/components/Desktop.js:243
FunctionhandleMinimizeProgram
* When a Minimize Button is pressed, the program should minimize to the Taskbar. * @param {string} id ID of the program being minimized
src/components/Desktop.js:207
MethodhandleNextClick
* This function runs every time the user clicks inside or outside the * Start Menu. The menu should be closed if the click is registered outside.
src/components/Taskbar/StartMenu.js:34
MethodhandleNextClick
* If the user clicks a Desktop Icon to select it and then clicks anywhere * outside the icon's hitspace, the icon should be de-selected. * @para
src/components/DesktopIcon/DesktopIcon.js:35
FunctionhandleOpenProgram
* When a program is opened, the currently selected Desktop Icon should be de-selected, * and the program should be opened to the forefront of any o
src/components/Desktop.js:129
FunctionhandleSelectDesktopIcon
* When a Desktop Icon is pressed, it should change to its selected state. * @param {string} id ID of the icon being selected
src/components/Desktop.js:108
FunctionhandleUnselectDesktopIcon
* When a "currently selected" Desktop Icon is pressed, it should * revert back to its unselected state.
src/components/Desktop.js:116
MethodhandleWindowClick
* This function runs every time the user clicks inside or outside the Window. * The Window should be brought to the foreground if the click is regi
src/components/Window/Window.js:38
Functionregister
()
src/registerServiceWorker.js:21
Methodrender
()
src/components/Window/Window.js:179
Methodrender
()
src/components/Taskbar/StartMenu.js:42
Methodrender
()
src/components/DesktopIcon/DesktopIcon.js:46
FunctionrenderDesktopIcons
* This method takes the list of programs and generates a Desktop Icon for each one. * A wrapper div is required to facilitate "tap to open" gesture
src/components/Desktop.js:282
FunctionshouldComponentUpdate
* The Taskbar is at risk for re-rendering every 1000ms due to clock updates. * For this reason, shouldComponentUpdate is used. An additional shallo
src/components/Taskbar/Taskbar.js:50
Functionswitch
(this.state.activeTab)
src/components/AdamProperties/AdamProperties.js:44
FunctiontoggleBonusTooltip
()
src/components/AdamHobbies/AdamHobbies.js:26
FunctiontoggleMenu
* When the Start Button is pressed, the Start Menu will appear and allow * the user to select a program to open from a list of options.
src/components/Taskbar/Taskbar.js:91
Functionunregister
()
src/registerServiceWorker.js:111