dataView

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataListView

type DataListView struct {
	Title                  string
	HelpText               string
	HelpTextTips           string
	InitializeCallback     initializeCallback
	UpdateHeaderCallback   updateHeaderCallback
	PreRowDisplayCallback  preRowDisplayCallback
	RefreshDisplayCallback refreshDisplayCallback
	GetListData            GetListData
	// contains filtered or unexported fields
}

func NewDataListView

func NewDataListView(masterUI masterUIInterface.MasterUIInterface,
	parentView DataListViewInterface,
	name string, topMargin, bottomMargin int,
	eventProcessor *eventdata.EventProcessor,
	columnDefinitions []*uiCommon.ListColumn,
	defaultSortColumns []*uiCommon.SortColumn) *DataListView

func (*DataListView) GetAppMdMgr added in v0.7.3

func (asUI *DataListView) GetAppMdMgr() *app.AppMetadataManager

func (*DataListView) GetCurrentEventData

func (asUI *DataListView) GetCurrentEventData() *eventdata.EventData

func (*DataListView) GetDetailView added in v0.7.3

func (asUI *DataListView) GetDetailView() DataListViewInterface

func (*DataListView) GetDisplayPaused

func (asUI *DataListView) GetDisplayPaused() bool

func (*DataListView) GetDisplayedEventData

func (asUI *DataListView) GetDisplayedEventData() *eventdata.EventData

func (*DataListView) GetDisplayedListData added in v0.7.6

func (asUI *DataListView) GetDisplayedListData() []uiCommon.IData

func (*DataListView) GetEventProcessor

func (asUI *DataListView) GetEventProcessor() *eventdata.EventProcessor

func (*DataListView) GetListWidget added in v0.7.3

func (asUI *DataListView) GetListWidget() *uiCommon.ListWidget

func (*DataListView) GetMargins added in v0.7.3

func (asUI *DataListView) GetMargins() (int, int)

func (*DataListView) GetMasterUI added in v0.7.3

func (asUI *DataListView) GetMasterUI() masterUIInterface.MasterUIInterface

func (*DataListView) GetParentView added in v0.7.3

func (asUI *DataListView) GetParentView() DataListViewInterface

func (*DataListView) GetTopMargin added in v0.7.3

func (asUI *DataListView) GetTopMargin() int

func (*DataListView) GetTopOffset added in v0.7.3

func (asUI *DataListView) GetTopOffset() int

Get the top offset where the data view should open

func (*DataListView) Layout

func (asUI *DataListView) Layout(g *gocui.Gui) error

func (*DataListView) Name

func (asUI *DataListView) Name() string

func (*DataListView) PreRowDisplay

func (asUI *DataListView) PreRowDisplay(data uiCommon.IData, isSelected bool) string

func (*DataListView) RefreshDisplay

func (asUI *DataListView) RefreshDisplay(g *gocui.Gui) error

func (*DataListView) SetAlertSize added in v0.7.3

func (asUI *DataListView) SetAlertSize(alertSize int)

func (*DataListView) SetDetailView added in v0.7.3

func (asUI *DataListView) SetDetailView(detailView DataListViewInterface)

func (*DataListView) SetDisplayPaused

func (asUI *DataListView) SetDisplayPaused(paused bool)

func (*DataListView) SetTitle added in v0.7.2

func (asUI *DataListView) SetTitle(title string)

func (*DataListView) UpdateDisplay

func (asUI *DataListView) UpdateDisplay(g *gocui.Gui) error

type DataListViewInterface added in v0.7.3

type DataListViewInterface interface {
	Name() string
	SetTitle(title string)
	GetMargins() (int, int)
	GetMasterUI() masterUIInterface.MasterUIInterface
	GetParentView() DataListViewInterface
	GetDetailView() DataListViewInterface
	SetDetailView(detailView DataListViewInterface)
	GetListWidget() *uiCommon.ListWidget
	GetEventProcessor() *eventdata.EventProcessor
	Layout(g *gocui.Gui) error
	GetDisplayPaused() bool
	SetDisplayPaused(paused bool)
	GetCurrentEventData() *eventdata.EventData
	GetDisplayedEventData() *eventdata.EventData
	RefreshDisplay(g *gocui.Gui) error
	UpdateDisplay(g *gocui.Gui) error
	GetTopOffset() int
	SetAlertSize(alertSize int)
	GetDisplayedListData() []uiCommon.IData
}

type GetListData

type GetListData func() []uiCommon.IData

Jump to

Keyboard shortcuts

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