Documentation ¶
Index ¶
- type DataListView
- func (asUI *DataListView) CloseDetailView(g *gocui.Gui, v *gocui.View) error
- func (asUI *DataListView) GetAppMdMgr() *app.AppMetadataManager
- func (asUI *DataListView) GetCurrentEventData() *eventdata.EventData
- func (asUI *DataListView) GetDetailView() DataListViewInterface
- 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) SetDetailView(detailView DataListViewInterface)
- func (asUI *DataListView) SetTitle(title string)
- func (asUI *DataListView) UpdateDisplay(g *gocui.Gui) error
- type DataListViewInterface
- type GetListData
- type IColumnOwner
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, columnOwner IColumnOwner, columnDefinitions []*uiCommon.ListColumn, defaultSortColumns []*uiCommon.SortColumn) *DataListView
func (*DataListView) CloseDetailView ¶ added in v0.8.0
func (*DataListView) GetAppMdMgr ¶
func (asUI *DataListView) GetAppMdMgr() *app.AppMetadataManager
func (*DataListView) GetCurrentEventData ¶
func (asUI *DataListView) GetCurrentEventData() *eventdata.EventData
func (*DataListView) GetDetailView ¶
func (asUI *DataListView) GetDetailView() DataListViewInterface
func (*DataListView) GetDisplayedEventData ¶
func (asUI *DataListView) GetDisplayedEventData() *eventdata.EventData
func (*DataListView) GetDisplayedListData ¶
func (asUI *DataListView) GetDisplayedListData() []uiCommon.IData
func (*DataListView) GetEventProcessor ¶
func (asUI *DataListView) GetEventProcessor() *eventdata.EventProcessor
func (*DataListView) GetListWidget ¶
func (asUI *DataListView) GetListWidget() *uiCommon.ListWidget
func (*DataListView) GetMargins ¶
func (asUI *DataListView) GetMargins() (int, int)
func (*DataListView) GetMasterUI ¶
func (asUI *DataListView) GetMasterUI() masterUIInterface.MasterUIInterface
func (*DataListView) GetParentView ¶
func (asUI *DataListView) GetParentView() DataListViewInterface
func (*DataListView) GetTopMargin ¶
func (asUI *DataListView) GetTopMargin() int
func (*DataListView) GetTopOffset ¶
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) SetDetailView ¶
func (asUI *DataListView) SetDetailView(detailView DataListViewInterface)
func (*DataListView) SetTitle ¶
func (asUI *DataListView) SetTitle(title string)
func (*DataListView) UpdateDisplay ¶
func (asUI *DataListView) UpdateDisplay(g *gocui.Gui) error
type DataListViewInterface ¶
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 GetCurrentEventData() *eventdata.EventData GetDisplayedEventData() *eventdata.EventData RefreshDisplay(g *gocui.Gui) error UpdateDisplay(g *gocui.Gui) error GetTopOffset() int GetDisplayedListData() []uiCommon.IData }
type GetListData ¶
type IColumnOwner ¶
type IColumnOwner interface{}
Click to show internal directories.
Click to hide internal directories.