message

package module
v0.0.0-...-6e8b2b8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MessageType_Success     MessageType = "success"
	MessageType_Error                   = "error"
	MessageType_None                    = "none"
	MessageType_Information             = "information"
	MessageType_Warning                 = "warning"
)
View Source
const (
	Class_MessageProcessor = "goui.ui.core.message.MessageProcessor"
)

Variables

View Source
var (
	Event_MessageChange = EventSettingFactor(base.EventDef{Name: "MessageChange"})
)

Functions

This section is empty.

Types

type EventSettingFactor

type EventSettingFactor base.EventDef

func (EventSettingFactor) AsSet

type Message

type Message struct {
	Id          string
	Message     string
	Description string
	Type        MessageType
}

func (Message) UnWrap

func (m Message) UnWrap() interface{}

type MessageProcessor

type MessageProcessor interface {
	base.EventProvider
	AttachMessageChange(data com.EventData, fn com.EventHandler)
	FireMessageChange(param com.EventParam)
	DetachMessageChange(fn com.EventHandler)
	HasMessageChange() bool
}

type MessageType

type MessageType string

Jump to

Keyboard shortcuts

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