Documentation ¶
Overview ¶
Package generator contains helper objects to describe controls to the code generator so that they can generate customizable data connectors that associate controls with data in the database.
These generators are called by the code generator. You do not normally use the objects here.
Index ¶
- type Checkbox
- func (d Checkbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Checkbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Checkbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Checkbox) SupportsColumn(ref interface{}) bool
- type CheckboxList
- func (d CheckboxList) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d CheckboxList) GenerateProvider(ref interface{}, desc *generator.ControlDescription) string
- func (d CheckboxList) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) string
- func (d CheckboxList) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) string
- func (d CheckboxList) NewFunc() string
- func (d CheckboxList) SupportsColumn(ref interface{}) bool
- type DateTextbox
- func (d DateTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d DateTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d DateTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d DateTextbox) SupportsColumn(ref interface{}) bool
- type DateTimeSpan
- func (d DateTimeSpan) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d DateTimeSpan) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d DateTimeSpan) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d DateTimeSpan) NewFunc() string
- func (d DateTimeSpan) SupportsColumn(ref interface{}) bool
- type EmailTextbox
- func (d EmailTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d EmailTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d EmailTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d EmailTextbox) SupportsColumn(ref interface{}) bool
- type FloatTextbox
- func (d FloatTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d FloatTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d FloatTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d FloatTextbox) SupportsColumn(ref interface{}) bool
- type IntegerTextbox
- func (d IntegerTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d IntegerTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d IntegerTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d IntegerTextbox) SupportsColumn(ref interface{}) bool
- type Panel
- func (d Panel) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Panel) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Panel) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Panel) Imports() []string
- func (d Panel) SupportsColumn(ref interface{}) bool
- type PhoneTextbox
- func (d PhoneTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d PhoneTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d PhoneTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d PhoneTextbox) SupportsColumn(ref interface{}) bool
- type SelectList
- func (d SelectList) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d SelectList) GenerateProvider(ref interface{}, desc *generator.ControlDescription) string
- func (d SelectList) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) string
- func (d SelectList) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) string
- func (d SelectList) Imports() []string
- func (d SelectList) SupportsColumn(ref interface{}) bool
- type Span
- func (d Span) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Span) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Span) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Span) Imports() []string
- func (d Span) SupportsColumn(ref interface{}) bool
- type Textbox
- func (d Textbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Textbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Textbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
- func (d Textbox) SupportsColumn(ref interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkbox ¶
type Checkbox struct { }
Checkbox describes the Checkbox to the connector dialog and code generator
func (Checkbox) GenerateCreator ¶ added in v0.2.0
func (d Checkbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (Checkbox) GenerateRefresh ¶ added in v0.2.0
func (d Checkbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (Checkbox) GenerateUpdate ¶ added in v0.2.0
func (d Checkbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (Checkbox) SupportsColumn ¶
type CheckboxList ¶ added in v0.7.0
type CheckboxList struct { }
CheckboxList describes the CheckboxList to the connector dialog and code generator
func (CheckboxList) GenerateCreator ¶ added in v0.7.0
func (d CheckboxList) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (CheckboxList) GenerateProvider ¶ added in v0.7.0
func (d CheckboxList) GenerateProvider(ref interface{}, desc *generator.ControlDescription) string
func (CheckboxList) GenerateRefresh ¶ added in v0.7.0
func (d CheckboxList) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) string
func (CheckboxList) GenerateUpdate ¶ added in v0.7.0
func (d CheckboxList) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) string
func (CheckboxList) NewFunc ¶ added in v0.7.0
func (d CheckboxList) NewFunc() string
func (CheckboxList) SupportsColumn ¶ added in v0.7.0
func (d CheckboxList) SupportsColumn(ref interface{}) bool
type DateTextbox ¶ added in v0.7.1
type DateTextbox struct { }
DateTextbox describes the DateTextbox to the connector dialog and code generator
func (DateTextbox) GenerateCreator ¶ added in v0.7.1
func (d DateTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (DateTextbox) GenerateRefresh ¶ added in v0.7.1
func (d DateTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (DateTextbox) GenerateUpdate ¶ added in v0.7.1
func (d DateTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (DateTextbox) SupportsColumn ¶ added in v0.7.1
func (d DateTextbox) SupportsColumn(ref interface{}) bool
type DateTimeSpan ¶
type DateTimeSpan struct { }
DateTimeSpan describes the DateTimeSpan to the connector dialog and code generator
func (DateTimeSpan) GenerateCreator ¶ added in v0.2.0
func (d DateTimeSpan) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (DateTimeSpan) GenerateRefresh ¶ added in v0.2.0
func (d DateTimeSpan) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (DateTimeSpan) GenerateUpdate ¶ added in v0.2.0
func (d DateTimeSpan) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (DateTimeSpan) NewFunc ¶
func (d DateTimeSpan) NewFunc() string
func (DateTimeSpan) SupportsColumn ¶
func (d DateTimeSpan) SupportsColumn(ref interface{}) bool
type EmailTextbox ¶ added in v0.7.1
type EmailTextbox struct { }
EmailTextbox describes the EmailTextbox to the connector dialog and code generator
func (EmailTextbox) GenerateCreator ¶ added in v0.7.1
func (d EmailTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (EmailTextbox) GenerateRefresh ¶ added in v0.7.1
func (d EmailTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (EmailTextbox) GenerateUpdate ¶ added in v0.7.1
func (d EmailTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (EmailTextbox) SupportsColumn ¶ added in v0.7.1
func (d EmailTextbox) SupportsColumn(ref interface{}) bool
type FloatTextbox ¶
type FloatTextbox struct { }
FloatTextbox describes the FloatTextbox to the connector dialog and code generator
func (FloatTextbox) GenerateCreator ¶ added in v0.2.0
func (d FloatTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (FloatTextbox) GenerateRefresh ¶ added in v0.2.0
func (d FloatTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (FloatTextbox) GenerateUpdate ¶ added in v0.2.0
func (d FloatTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (FloatTextbox) SupportsColumn ¶
func (d FloatTextbox) SupportsColumn(ref interface{}) bool
type IntegerTextbox ¶
type IntegerTextbox struct { }
IntegerTextbox describes the IntegerTextbox to the connector dialog and code generator
func (IntegerTextbox) GenerateCreator ¶ added in v0.2.0
func (d IntegerTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (IntegerTextbox) GenerateRefresh ¶ added in v0.2.0
func (d IntegerTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (IntegerTextbox) GenerateUpdate ¶ added in v0.2.0
func (d IntegerTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (IntegerTextbox) SupportsColumn ¶
func (d IntegerTextbox) SupportsColumn(ref interface{}) bool
type Panel ¶ added in v0.12.0
type Panel struct { }
Panel describes the Panel to the connector dialog and code generator
func (Panel) GenerateCreator ¶ added in v0.12.0
func (d Panel) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (Panel) GenerateRefresh ¶ added in v0.12.0
func (d Panel) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (Panel) GenerateUpdate ¶ added in v0.12.0
func (d Panel) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (Panel) SupportsColumn ¶ added in v0.12.0
type PhoneTextbox ¶ added in v0.7.1
type PhoneTextbox struct { }
PhoneTextbox describes the PhoneTextbox to the connector dialog and code generator
func (PhoneTextbox) GenerateCreator ¶ added in v0.7.1
func (d PhoneTextbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (PhoneTextbox) GenerateRefresh ¶ added in v0.7.1
func (d PhoneTextbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (PhoneTextbox) GenerateUpdate ¶ added in v0.7.1
func (d PhoneTextbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (PhoneTextbox) SupportsColumn ¶ added in v0.7.1
func (d PhoneTextbox) SupportsColumn(ref interface{}) bool
type SelectList ¶
type SelectList struct { }
SelectList describes the SelectList to the connector dialog and code generator
func (SelectList) GenerateCreator ¶ added in v0.2.0
func (d SelectList) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (SelectList) GenerateProvider ¶ added in v0.2.0
func (d SelectList) GenerateProvider(ref interface{}, desc *generator.ControlDescription) string
func (SelectList) GenerateRefresh ¶ added in v0.2.0
func (d SelectList) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) string
func (SelectList) GenerateUpdate ¶ added in v0.2.0
func (d SelectList) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) string
func (SelectList) Imports ¶
func (d SelectList) Imports() []string
func (SelectList) SupportsColumn ¶
func (d SelectList) SupportsColumn(ref interface{}) bool
type Span ¶
type Span struct { }
Span describes the Span to the connector dialog and code generator
func (Span) GenerateCreator ¶ added in v0.2.0
func (d Span) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (Span) GenerateRefresh ¶ added in v0.2.0
func (d Span) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (Span) GenerateUpdate ¶ added in v0.2.0
func (d Span) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)
func (Span) SupportsColumn ¶
type Textbox ¶
type Textbox struct { }
Textbox describes the textbox to the connector dialog and code generator
func (Textbox) GenerateCreator ¶ added in v0.2.0
func (d Textbox) GenerateCreator(ref interface{}, desc *generator.ControlDescription) (s string)
func (Textbox) GenerateRefresh ¶ added in v0.2.0
func (d Textbox) GenerateRefresh(ref interface{}, desc *generator.ControlDescription) (s string)
func (Textbox) GenerateUpdate ¶ added in v0.2.0
func (d Textbox) GenerateUpdate(ref interface{}, desc *generator.ControlDescription) (s string)