Documentation ¶
Index ¶
- type DataListView
- func (asUI *DataListView) GetAppMdMgr() *app.AppMetadataManager
- func (asUI *DataListView) GetCurrentEventData() *eventdata.EventData
- func (asUI *DataListView) GetDetailView() DataListViewInterface
- func (asUI *DataListView) GetDisplayPaused() bool
- func (asUI *DataListView) GetDisplayedEventData() *eventdata.EventData
- func (asUI *DataListView) GetDisplayedListData() []uiCommon.IData
- func (asUI *DataListView) GetEventProcessor() *eventdata.EventProcessor
- func (asUI *DataListView) GetListWidget() *uiCommon.ListWidget
- func (asUI *DataListView) GetMargins() (int, int)
- func (asUI *DataListView) GetMasterUI() masterUIInterface.MasterUIInterface
- func (asUI *DataListView) GetParentView() DataListViewInterface
- func (asUI *DataListView) GetTopMargin() int
- func (asUI *DataListView) GetTopOffset() int
- func (asUI *DataListView) Layout(g *gocui.Gui) error
- func (asUI *DataListView) Name() string
- func (asUI *DataListView) PreRowDisplay(data uiCommon.IData, isSelected bool) string
- func (asUI *DataListView) RefreshDisplay(g *gocui.Gui) error
- func (asUI *DataListView) SetAlertSize(alertSize int)
- func (asUI *DataListView) SetDetailView(detailView DataListViewInterface)
- func (asUI *DataListView) SetDisplayPaused(paused bool)
- func (asUI *DataListView) SetTitle(title string)
- func (asUI *DataListView) UpdateDisplay(g *gocui.Gui) error
- type DataListViewInterface
- type GetListData
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) 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 ¶
Click to show internal directories.
Click to hide internal directories.