Documentation ¶
Overview ¶
Package android is a generated protocol buffer package.
It is generated from these files:
gomatcha.io/matcha/proto/view/android/pagerview.proto gomatcha.io/matcha/proto/view/android/stackview.proto gomatcha.io/matcha/proto/view/android/statusbar.proto
It has these top-level messages:
PagerChildView PagerView PagerEvent StackChildView StackView StackBar StackBarItem StackEvent StatusBar
Index ¶
- type PagerChildView
- type PagerEvent
- type PagerView
- type StackBar
- func (*StackBar) Descriptor() ([]byte, []int)
- func (m *StackBar) GetBackButtonHidden() bool
- func (m *StackBar) GetColor() *matcha.Color
- func (m *StackBar) GetItems() []*StackBarItem
- func (m *StackBar) GetStyledSubtitle() *matcha_text.StyledText
- func (m *StackBar) GetStyledTitle() *matcha_text.StyledText
- func (m *StackBar) GetSubtitle() string
- func (m *StackBar) GetTitle() string
- func (*StackBar) ProtoMessage()
- func (m *StackBar) Reset()
- func (m *StackBar) String() string
- type StackBarItem
- func (*StackBarItem) Descriptor() ([]byte, []int)
- func (m *StackBarItem) GetDisabled() bool
- func (m *StackBarItem) GetIcon() *matcha.ImageOrResource
- func (m *StackBarItem) GetIconTint() *matcha.Color
- func (m *StackBarItem) GetOnPressFunc() string
- func (m *StackBarItem) GetTitle() string
- func (*StackBarItem) ProtoMessage()
- func (m *StackBarItem) Reset()
- func (m *StackBarItem) String() string
- type StackChildView
- type StackEvent
- type StackView
- type StatusBar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PagerChildView ¶
type PagerChildView struct {
Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
}
func (*PagerChildView) Descriptor ¶
func (*PagerChildView) Descriptor() ([]byte, []int)
func (*PagerChildView) GetTitle ¶
func (m *PagerChildView) GetTitle() string
func (*PagerChildView) ProtoMessage ¶
func (*PagerChildView) ProtoMessage()
func (*PagerChildView) Reset ¶
func (m *PagerChildView) Reset()
func (*PagerChildView) String ¶
func (m *PagerChildView) String() string
type PagerEvent ¶
type PagerEvent struct {
SelectedIndex int64 `protobuf:"varint,1,opt,name=selectedIndex" json:"selectedIndex,omitempty"`
}
func (*PagerEvent) Descriptor ¶
func (*PagerEvent) Descriptor() ([]byte, []int)
func (*PagerEvent) GetSelectedIndex ¶
func (m *PagerEvent) GetSelectedIndex() int64
func (*PagerEvent) ProtoMessage ¶
func (*PagerEvent) ProtoMessage()
func (*PagerEvent) Reset ¶
func (m *PagerEvent) Reset()
func (*PagerEvent) String ¶
func (m *PagerEvent) String() string
type PagerView ¶
type PagerView struct { ChildViews []*PagerChildView `protobuf:"bytes,1,rep,name=childViews" json:"childViews,omitempty"` SelectedIndex int64 `protobuf:"varint,2,opt,name=selectedIndex" json:"selectedIndex,omitempty"` }
func (*PagerView) Descriptor ¶
func (*PagerView) GetChildViews ¶
func (m *PagerView) GetChildViews() []*PagerChildView
func (*PagerView) GetSelectedIndex ¶
func (*PagerView) ProtoMessage ¶
func (*PagerView) ProtoMessage()
type StackBar ¶
type StackBar struct { Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` StyledTitle *matcha_text.StyledText `protobuf:"bytes,6,opt,name=styledTitle" json:"styledTitle,omitempty"` Subtitle string `protobuf:"bytes,3,opt,name=subtitle" json:"subtitle,omitempty"` StyledSubtitle *matcha_text.StyledText `protobuf:"bytes,7,opt,name=styledSubtitle" json:"styledSubtitle,omitempty"` Color *matcha.Color `protobuf:"bytes,4,opt,name=color" json:"color,omitempty"` Items []*StackBarItem `protobuf:"bytes,5,rep,name=items" json:"items,omitempty"` BackButtonHidden bool `protobuf:"varint,2,opt,name=backButtonHidden" json:"backButtonHidden,omitempty"` }
func (*StackBar) Descriptor ¶
func (*StackBar) GetBackButtonHidden ¶
func (*StackBar) GetItems ¶
func (m *StackBar) GetItems() []*StackBarItem
func (*StackBar) GetStyledSubtitle ¶
func (m *StackBar) GetStyledSubtitle() *matcha_text.StyledText
func (*StackBar) GetStyledTitle ¶
func (m *StackBar) GetStyledTitle() *matcha_text.StyledText
func (*StackBar) GetSubtitle ¶
func (*StackBar) ProtoMessage ¶
func (*StackBar) ProtoMessage()
type StackBarItem ¶
type StackBarItem struct { Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` Icon *matcha.ImageOrResource `protobuf:"bytes,3,opt,name=icon" json:"icon,omitempty"` IconTint *matcha.Color `protobuf:"bytes,2,opt,name=iconTint" json:"iconTint,omitempty"` Disabled bool `protobuf:"varint,4,opt,name=disabled" json:"disabled,omitempty"` OnPressFunc string `protobuf:"bytes,5,opt,name=onPressFunc" json:"onPressFunc,omitempty"` }
func (*StackBarItem) Descriptor ¶
func (*StackBarItem) Descriptor() ([]byte, []int)
func (*StackBarItem) GetDisabled ¶
func (m *StackBarItem) GetDisabled() bool
func (*StackBarItem) GetIcon ¶
func (m *StackBarItem) GetIcon() *matcha.ImageOrResource
func (*StackBarItem) GetIconTint ¶
func (m *StackBarItem) GetIconTint() *matcha.Color
func (*StackBarItem) GetOnPressFunc ¶
func (m *StackBarItem) GetOnPressFunc() string
func (*StackBarItem) GetTitle ¶
func (m *StackBarItem) GetTitle() string
func (*StackBarItem) ProtoMessage ¶
func (*StackBarItem) ProtoMessage()
func (*StackBarItem) Reset ¶
func (m *StackBarItem) Reset()
func (*StackBarItem) String ¶
func (m *StackBarItem) String() string
type StackChildView ¶
type StackChildView struct {
ScreenId int64 `protobuf:"varint,3,opt,name=screenId" json:"screenId,omitempty"`
}
func (*StackChildView) Descriptor ¶
func (*StackChildView) Descriptor() ([]byte, []int)
func (*StackChildView) GetScreenId ¶
func (m *StackChildView) GetScreenId() int64
func (*StackChildView) ProtoMessage ¶
func (*StackChildView) ProtoMessage()
func (*StackChildView) Reset ¶
func (m *StackChildView) Reset()
func (*StackChildView) String ¶
func (m *StackChildView) String() string
type StackEvent ¶
type StackEvent struct {
Id []int64 `protobuf:"varint,1,rep,packed,name=id" json:"id,omitempty"`
}
func (*StackEvent) Descriptor ¶
func (*StackEvent) Descriptor() ([]byte, []int)
func (*StackEvent) GetId ¶
func (m *StackEvent) GetId() []int64
func (*StackEvent) ProtoMessage ¶
func (*StackEvent) ProtoMessage()
func (*StackEvent) Reset ¶
func (m *StackEvent) Reset()
func (*StackEvent) String ¶
func (m *StackEvent) String() string
type StackView ¶
type StackView struct {
Children []*StackChildView `protobuf:"bytes,1,rep,name=children" json:"children,omitempty"`
}
func (*StackView) Descriptor ¶
func (*StackView) GetChildren ¶
func (m *StackView) GetChildren() []*StackChildView
func (*StackView) ProtoMessage ¶
func (*StackView) ProtoMessage()
type StatusBar ¶
type StatusBar struct { Style bool `protobuf:"varint,1,opt,name=style" json:"style,omitempty"` Color *matcha.Color `protobuf:"bytes,2,opt,name=color" json:"color,omitempty"` }
func (*StatusBar) Descriptor ¶
func (*StatusBar) ProtoMessage ¶
func (*StatusBar) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.