Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDataProvider ¶
type AccountDataProvider struct {
// contains filtered or unexported fields
}
AccountDataProvider implements ext.TableDataProvider and ext.FromDataProvider for interaction with accounts.
func NewAccountDataProvider ¶
func NewAccountDataProvider(service *service.Service, presenter *presenter.Presenter) *AccountDataProvider
NewAccountDataProvider returns new AccountDataProvider.
func (*AccountDataProvider) GetAll ¶
func (d *AccountDataProvider) GetAll() []map[string]string
GetAll returns slice of maps which represents account struct.
func (*AccountDataProvider) GetDropDownOptions ¶
func (d *AccountDataProvider) GetDropDownOptions(label string) []string
GetDropDownOptions returns dropdown obtions for given label.
type CategoryDataProvider ¶
type CategoryDataProvider struct {
// contains filtered or unexported fields
}
CategoryDataProvider implements ext.TableDataProvider for interaction with categories.
func NewCategoryDataProvider ¶
func NewCategoryDataProvider(service *service.Service, presenter *presenter.Presenter) *CategoryDataProvider
NewCategoryDataProvider returns new CategoryDataProvider.
func (*CategoryDataProvider) GetAll ¶
func (d *CategoryDataProvider) GetAll() []map[string]string
GetAll returns slice of maps which represents category struct.
func (*CategoryDataProvider) GetDropDownOptions ¶
func (d *CategoryDataProvider) GetDropDownOptions(label string) []string
GetDropDownOptions returns dropdown obtions for given label.
type CurrencyDataProvider ¶
type CurrencyDataProvider struct {
// contains filtered or unexported fields
}
CurrencyDataProvider implements ext.TableDataProvider for interaction with currencies.
func NewCurrencyDataProvider ¶
func NewCurrencyDataProvider(service *service.Service, presenter *presenter.Presenter) *CurrencyDataProvider
NewCurrencyDataProvider returns new CurrencyDataProvider.
func (*CurrencyDataProvider) GetAll ¶
func (d *CurrencyDataProvider) GetAll() []map[string]string
GetAll returns slice of maps which represents currency struct.
func (*CurrencyDataProvider) GetDropDownOptions ¶
func (d *CurrencyDataProvider) GetDropDownOptions(label string) []string
GetDropDownOptions returns dropdown obtions for given label.
type View ¶
View is a transactions view.
func (*View) InputHandler ¶
InputHandler returns the handler for this primitive.
func (*View) ModalHasFocus ¶
ModalHasFocus returns true if any of modal is currently on focus.