Class SysmonView
java.lang.Object
com.guinetik.hexafun.examples.sysmon.SysmonView
Responsive view components for the System Monitor TUI.
All views use state.width() to render at the current terminal width.
Width is recalculated on each refresh.
-
Method Summary
Modifier and TypeMethodDescriptionstatic View<SysmonState>clear()Clear screen and reset cursor.static View<SysmonState>header()Render the header box - responsive to terminal width.static View<SysmonState>menu()Render the format selection menu.static View<SysmonState>metrics()Render the metrics output based on selected format - responsive.static View<SysmonState>prompt()Render input prompt.static View<SysmonState>screen()Compose the full screen view.static View<SysmonState>status()Render status message.
-
Method Details
-
screen
Compose the full screen view. -
clear
Clear screen and reset cursor. -
header
Render the header box - responsive to terminal width. -
metrics
Render the metrics output based on selected format - responsive. -
status
Render status message. -
prompt
Render input prompt.
-