masterUIInterface

package
v0.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 81

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MasterUIInterface

type MasterUIInterface interface {
	SetCurrentViewOnTop(*gocui.Gui) error
	GetCurrentView(g *gocui.Gui) *gocui.View
	CloseView(managerUI.Manager) error
	CloseViewByName(viewName string) error
	LayoutManager() managerUI.LayoutManagerInterface
	OpenView(g *gocui.Gui, dataView UpdatableView) error
	IsWarmupComplete() bool
	SetHelpTextTips(g *gocui.Gui, helpTextTips string) error
	AddCommonDataViewKeybindings(g *gocui.Gui, viewName string) error
	GetHeaderSize() int
	GetAlertSize() int
	GetTopMargin() int
	//SetStatsSummarySize(statSummarySize int)
	SetHeaderMinimize(g *gocui.Gui, minimizeHeader bool)
	IsHeaderMinimized() bool
	SetEditColumnMode(g *gocui.Gui, editColumnMode bool)
	IsEditColumnMode() bool
	IsPrivileged() bool
	GetCommonData() *dataCommon.CommonData
	GetDisplayPaused() bool
	SetDisplayPaused(paused bool)
	GetTargetDisplay() string
}

type UpdatableView

type UpdatableView interface {
	Layout(*gocui.Gui) error
	Name() string
	UpdateDisplay(g *gocui.Gui) error
	RefreshDisplay(g *gocui.Gui) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL