abstractfactory

package
v0.0.0-...-7dcde51 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button interface {
	Press() string
}

type CircularButton

type CircularButton struct{}

func (CircularButton) Press

func (b CircularButton) Press() string

type CircularScrollBar

type CircularScrollBar struct{}

func (CircularScrollBar) Scroll

func (b CircularScrollBar) Scroll() string

type CircularWidgetFactory

type CircularWidgetFactory struct{}

func (CircularWidgetFactory) NewButton

func (f CircularWidgetFactory) NewButton() Button

func (CircularWidgetFactory) NewScrollBar

func (f CircularWidgetFactory) NewScrollBar() ScrollBar

type ScrollBar

type ScrollBar interface {
	Scroll() string
}

type SquareButton

type SquareButton struct{}

func (SquareButton) Press

func (b SquareButton) Press() string

type SquareScrollBar

type SquareScrollBar struct{}

func (SquareScrollBar) Scroll

func (b SquareScrollBar) Scroll() string

type SquareWidgetFactory

type SquareWidgetFactory struct{}

func (SquareWidgetFactory) NewButton

func (f SquareWidgetFactory) NewButton() Button

func (SquareWidgetFactory) NewScrollBar

func (f SquareWidgetFactory) NewScrollBar() ScrollBar

type WidgetFactory

type WidgetFactory interface {
	NewButton() Button
	NewScrollBar() ScrollBar
}

Jump to

Keyboard shortcuts

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