generator

package
v0.25.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 5 Imported by: 0

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

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

func (d Checkbox) SupportsColumn(ref interface{}) bool

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) Imports added in v0.12.0

func (d Panel) Imports() []string

func (Panel) SupportsColumn added in v0.12.0

func (d Panel) SupportsColumn(ref interface{}) bool

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) Imports

func (d Span) Imports() []string

func (Span) SupportsColumn

func (d Span) SupportsColumn(ref interface{}) bool

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)

func (Textbox) SupportsColumn

func (d Textbox) SupportsColumn(ref interface{}) bool

Jump to

Keyboard shortcuts

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