Documentation
¶
Overview ¶
Hand-written glue for the translated ControlExample (tooling/j2go/manual.txt, README "Round 10 controlexample").
Index ¶
- Constants
- Variables
- func ControlExampleGetResourceString(key string) string
- func ControlExampleGetResourceStringKeyArgs(key string, args []any) string
- func ControlExampleMain(args []string)
- func ControlExampleSetShellSize(shellLike swt.ShellLike)
- func TableTabFindColumnContainingPoint(itemLike swt.TableItemLike, pointLike swt.PointLike) int32
- type AlignableTab
- type ButtonTab
- type CanvasTab
- type ComboTab
- type ControlExample
- type CoolBarTab
- type CoolBarTab_CoolItemSelectionListener
- type CoolBarTab_DropDownSelectionListener
- type DateTimeTab
- type DialogTab
- type DisposeListenerFunc
- type ExpandBarTab
- type GroupTab
- type LabelTab
- type LinkTab
- type ListTab
- type ListenerFunc
- type MenuTab
- type ModifyListenerFunc
- type PaintListenerFunc
- type ProgressBarTab
- type RangeTab
- func (this *RangeTab) CreateMaximumGroup()
- func (this *RangeTab) CreateMinimumGroup()
- func (this *RangeTab) CreateSelectionGroup()
- func (this *RangeTab) GetDefaultMaximum() int32
- func (this *RangeTab) GetDefaultMinimum() int32
- func (this *RangeTab) GetDefaultSelection() int32
- func (this *RangeTab) SetWidgetMaximum()
- func (this *RangeTab) SetWidgetMinimum()
- func (this *RangeTab) SetWidgetSelection()
- type SashTab
- type ScaleTab
- type ScrollableTab
- type ShellTab
- type SliderTab
- func (this *SliderTab) CreateIncrementGroup()
- func (this *SliderTab) CreatePageIncrementGroup()
- func (this *SliderTab) CreateThumbGroup()
- func (this *SliderTab) GetDefaultIncrement() int32
- func (this *SliderTab) GetDefaultPageIncrement() int32
- func (this *SliderTab) GetDefaultThumb() int32
- func (this *SliderTab) SetWidgetIncrement()
- func (this *SliderTab) SetWidgetPageIncrement()
- func (this *SliderTab) SetWidgetThumb()
- type SpinnerTab
- func (this *SpinnerTab) CreateDigitsGroup()
- func (this *SpinnerTab) CreateIncrementGroup()
- func (this *SpinnerTab) CreatePageIncrementGroup()
- func (this *SpinnerTab) GetDefaultDigits() int32
- func (this *SpinnerTab) GetDefaultIncrement() int32
- func (this *SpinnerTab) GetDefaultPageIncrement() int32
- func (this *SpinnerTab) SetWidgetDigits()
- func (this *SpinnerTab) SetWidgetIncrement()
- func (this *SpinnerTab) SetWidgetPageIncrement()
- type SystemTab
- type Tab
- func (this *Tab) ChangeFontOrColor(index int32)
- func (this *Tab) ColorImage(colorLike swt.ColorLike) *swt.Image
- func (this *Tab) CreateBackgroundModeGroup()
- func (this *Tab) CreateColorAndFontGroup()
- func (this *Tab) CreateControlGroup()
- func (this *Tab) CreateControlWidgets()
- func (this *Tab) CreateDirectionGroup()
- func (this *Tab) CreateEditEventDialog(parentLike swt.ShellLike, x int32, y int32, index int32)
- func (this *Tab) CreateEventConsolePopup()
- func (this *Tab) CreateExampleGroup()
- func (this *Tab) CreateExampleWidgets()
- func (this *Tab) CreateListenerSelectionDialog()
- func (this *Tab) CreateListenersGroup()
- func (this *Tab) CreateOrientationGroup()
- func (this *Tab) CreateOtherGroup()
- func (this *Tab) CreateSetGetDialog(methodNames []string) *swt.Shell
- func (this *Tab) CreateSetGetGroup()
- func (this *Tab) CreateSizeGroup()
- func (this *Tab) CreateStyleGroup()
- func (this *Tab) CreateTabFolderPage(tabFolderLike swt.TabFolderLike) *swt.Composite
- func (this *Tab) DisposeExampleWidgets()
- func (this *Tab) FontImage(fontLike swt.FontLike) *swt.Image
- func (this *Tab) GetCustomEventNames() []string
- func (this *Tab) GetDefaultStyle() int32
- func (this *Tab) GetExampleControls() []*swt.Control
- func (this *Tab) GetExampleWidgetItems() []*swt.Item
- func (this *Tab) GetExampleWidgets() []*swt.Widget
- func (this *Tab) GetMethodNames() []string
- func (this *Tab) GetReturnType(methodRoot string) reflect.Type
- func (this *Tab) GetShortTabText() string
- func (this *Tab) GetTabText() string
- func (this *Tab) GetTransparencyColor(colorLike swt.ColorLike) *swt.Color
- func (this *Tab) GetValue()
- func (this *Tab) HandleTextDirection(widgetLike swt.WidgetLike) bool
- func (this *Tab) HookCustomListener(eventName string)
- func (this *Tab) HookExampleWidgetListeners()
- func (this *Tab) HookListeners(widgetLike swt.WidgetLike)
- func (this *Tab) Impl() TabImpl
- func (this *Tab) Log(event *swt.Event)
- func (this *Tab) LogEventNameEvent(eventName string, eventLike swt.TypedEventLike)
- func (this *Tab) LogString(string_ string)
- func (this *Tab) ParameterForType(typeName string, value string, widgetLike swt.WidgetLike) []any
- func (this *Tab) ParameterInfo(methodRoot string) string
- func (this *Tab) RecreateExampleWidgets()
- func (this *Tab) ResetColorsAndFonts()
- func (this *Tab) ResetLabels()
- func (this *Tab) RtlSupport() bool
- func (this *Tab) SetExampleGroupBackgroundColor()
- func (this *Tab) SetExampleGroupBackgroundImage()
- func (this *Tab) SetExampleGroupBackgroundMode()
- func (this *Tab) SetExampleWidgetBackground()
- func (this *Tab) SetExampleWidgetBackgroundImage()
- func (this *Tab) SetExampleWidgetEnabled()
- func (this *Tab) SetExampleWidgetFont()
- func (this *Tab) SetExampleWidgetForeground()
- func (this *Tab) SetExampleWidgetPopupMenu()
- func (this *Tab) SetExampleWidgetSize()
- func (this *Tab) SetExampleWidgetState()
- func (this *Tab) SetExampleWidgetVisibility()
- func (this *Tab) SetImpl_(impl TabImpl)
- func (this *Tab) SetMethodName(methodRoot string) string
- func (this *Tab) SetValue()
- func (this *Tab) SpecialPopupMenuItems(menuLike swt.MenuLike, eventLike swt.EventLike)
- func (this *Tab) Split(string_ string, ch uint16) []string
- type TabAnon1
- type TabAnon2
- type TabAnon3
- type TabAnon4
- type TabFolderTab
- type TabImpl
- type Tab_EventInfo
- type TableTab
- func (this *TableTab) FindItem(value string, items []*swt.TableItem) *swt.TableItem
- func (this *TableTab) MakeTableContentEditable()
- func (this *TableTab) PackColumns()
- func (this *TableTab) SetCellBackground()
- func (this *TableTab) SetCellFont()
- func (this *TableTab) SetCellForeground()
- func (this *TableTab) SetColumnsMoveable()
- func (this *TableTab) SetColumnsResizable()
- func (this *TableTab) SetHeaderBackground()
- func (this *TableTab) SetHeaderForeground()
- func (this *TableTab) SetItemBackground()
- func (this *TableTab) SetItemFont()
- func (this *TableTab) SetItemForeground()
- func (this *TableTab) SetItemText(itemLike swt.TableItemLike, i int32, node string)
- func (this *TableTab) SetWidgetHeaderVisible()
- func (this *TableTab) SetWidgetLinesVisible()
- func (this *TableTab) SetWidgetSortIndicator()
- type TextTab
- type ToolBarTab
- type ToolBarTab_DropDownSelectionListener
- type ToolTipTab
- type TreeTab
- func (this *TreeTab) FindItem(value string, items []*swt.TreeItem) *swt.TreeItem
- func (this *TreeTab) InitializeSortState(treeLike swt.TreeLike)
- func (this *TreeTab) MakeTreeContentEditable()
- func (this *TreeTab) MakeTreeEditable(treeLike swt.TreeLike)
- func (this *TreeTab) PackColumns(treeLike swt.TreeLike)
- func (this *TreeTab) ResetSortState(treeLike swt.TreeLike)
- func (this *TreeTab) SetCellBackground()
- func (this *TreeTab) SetCellFont()
- func (this *TreeTab) SetCellForeground()
- func (this *TreeTab) SetColumnsMoveable()
- func (this *TreeTab) SetColumnsResizable()
- func (this *TreeTab) SetHeaderBackground()
- func (this *TreeTab) SetHeaderForeground()
- func (this *TreeTab) SetItemBackground()
- func (this *TreeTab) SetItemFont()
- func (this *TreeTab) SetItemForeground()
- func (this *TreeTab) SetItemText(itemLike swt.TreeItemLike, i int32, node string)
- func (this *TreeTab) SetWidgetHeaderVisible()
- func (this *TreeTab) SetWidgetLinesVisible()
- func (this *TreeTab) SetWidgetSortIndicator()
- func (this *TreeTab) TreeDoubleClickListener(treeLike swt.TreeLike, editorLike swt.TreeEditorLike, eventLike swt.EventLike)
Constants ¶
const CanvasTabCanvasString string = "Canvas"
const ControlExampleCiBackground int32 = 3
const ControlExampleCiClosedFolder int32 = 0
const ControlExampleCiOpenFolder int32 = 1
const ControlExampleCiParentBackground int32 = 4
const ControlExampleCiTarget int32 = 2
const LinkTabLINK_FOREGROUND_COLOR int32 = 3
const SashTabSASH_LIMIT int32 = 20
const SashTabSASH_WIDTH int32 = 3
const SystemTabNamedColorEnd int32 = 8
const TabBACKGROUND_COLOR int32 = 1
const TabDETAIL int32 = 0x0200
const TabDETAIL_ERASE_ITEM int32 = 1
const TabDETAIL_IME int32 = 0
const TabDETAIL_TRAVERSE int32 = 2
const TabDOIT int32 = 0x0100
const TabFONT int32 = 2
const TabFOREGROUND_COLOR int32 = 0
const TabHEIGHT int32 = 0x4000
const TabIMAGE_SIZE int32 = 12
const TabLARGE_SIZE int32 = 100
const TabRETANGLE_SIZE_HEIGHT int32 = 30
const TabRETANGLE_SIZE_WIDTH int32 = 140
const TabSMALL_SIZE int32 = 50
const TabTEXT int32 = 0x0400
const TabTOO_SMALL_SIZE int32 = 10
const TabWIDTH int32 = 0x2000
const TabX int32 = 0x0800
const TabY int32 = 0x1000
const TableTabCELL_BACKGROUND_COLOR int32 = 7
const TableTabCELL_FONT int32 = 8
const TableTabCELL_FOREGROUND_COLOR int32 = 6
const TableTabHEADER_BACKGROUND_COLOR int32 = 10
const TableTabHEADER_FOREGROUND_COLOR int32 = 9
const TableTabITEM_BACKGROUND_COLOR int32 = 4
const TableTabITEM_FONT int32 = 5
const TableTabITEM_FOREGROUND_COLOR int32 = 3
const TreeTabCELL_BACKGROUND_COLOR int32 = 7
const TreeTabCELL_FONT int32 = 8
const TreeTabCELL_FOREGROUND_COLOR int32 = 6
const TreeTabHEADER_BACKGROUND_COLOR int32 = 10
const TreeTabHEADER_FOREGROUND_COLOR int32 = 9
const TreeTabITEM_BACKGROUND_COLOR int32 = 4
const TreeTabITEM_FONT int32 = 5
const TreeTabITEM_FOREGROUND_COLOR int32 = 3
Variables ¶
var CanvasTabColors []int32 = []int32{swt.COLOR_RED, swt.COLOR_GREEN, swt.COLOR_BLUE, swt.COLOR_MAGENTA, swt.COLOR_YELLOW, swt.COLOR_CYAN, swt.COLOR_DARK_RED, swt.COLOR_DARK_GREEN, swt.COLOR_DARK_BLUE, swt.COLOR_DARK_MAGENTA, swt.COLOR_DARK_YELLOW, swt.COLOR_DARK_CYAN}
var ComboTabListData []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init ComboTabListData:", e) } }() r = []string{ControlExampleGetResourceString("ListData0_0"), ControlExampleGetResourceString("ListData0_1"), ControlExampleGetResourceString("ListData0_2"), ControlExampleGetResourceString("ListData0_3"), ControlExampleGetResourceString("ListData0_4"), ControlExampleGetResourceString("ListData0_5"), ControlExampleGetResourceString("ListData0_6"), ControlExampleGetResourceString("ListData0_7"), ControlExampleGetResourceString("ListData0_8")} return }()
var ControlExampleImageLocations []string = []string{"closedFolder.gif", "openFolder.gif", "target.gif", "backgroundImage.png", "parentBackgroundImage.png"}
var ControlExampleResourceBundle *jrt.ResourceBundle = func() (r *jrt.ResourceBundle) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init ControlExampleResourceBundle:", e) } }() r = jrt.ResourceBundleGetBundle("examples_control") return }()
var DialogTabFilterExtensions []string = []string{"*.txt", "*.bat", "*.doc;*.rtf", "*"}
var DialogTabFilterNames []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init DialogTabFilterNames:", e) } }() r = []string{ControlExampleGetResourceString("FilterName_0"), ControlExampleGetResourceString("FilterName_1"), ControlExampleGetResourceString("FilterName_2"), ControlExampleGetResourceString("FilterName_3")} return }()
var ListTabListData1 []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init ListTabListData1:", e) } }() r = []string{ControlExampleGetResourceString("ListData1_0"), ControlExampleGetResourceString("ListData1_1"), ControlExampleGetResourceString("ListData1_2"), ControlExampleGetResourceString("ListData1_3"), ControlExampleGetResourceString("ListData1_4"), ControlExampleGetResourceString("ListData1_5"), ControlExampleGetResourceString("ListData1_6"), ControlExampleGetResourceString("ListData1_7"), ControlExampleGetResourceString("ListData1_8")} return }()
var SashTabListData0 []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init SashTabListData0:", e) } }() r = []string{ControlExampleGetResourceString("ListData0_0"), ControlExampleGetResourceString("ListData0_1"), ControlExampleGetResourceString("ListData0_2"), ControlExampleGetResourceString("ListData0_3"), ControlExampleGetResourceString("ListData0_4"), ControlExampleGetResourceString("ListData0_5"), ControlExampleGetResourceString("ListData0_6"), ControlExampleGetResourceString("ListData0_7"), ControlExampleGetResourceString("ListData0_8")} return }()
var SashTabListData1 []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init SashTabListData1:", e) } }() r = []string{ControlExampleGetResourceString("ListData1_0"), ControlExampleGetResourceString("ListData1_1"), ControlExampleGetResourceString("ListData1_2"), ControlExampleGetResourceString("ListData1_3"), ControlExampleGetResourceString("ListData1_4"), ControlExampleGetResourceString("ListData1_5"), ControlExampleGetResourceString("ListData1_6"), ControlExampleGetResourceString("ListData1_7"), ControlExampleGetResourceString("ListData1_8")} return }()
var SystemTabColumnTitles []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init SystemTabColumnTitles:", e) } }() r = []string{ControlExampleGetResourceString("ColorTitle_0"), ControlExampleGetResourceString("ColorTitle_1"), ControlExampleGetResourceString("ColorTitle_2"), ControlExampleGetResourceString("ColorTitle_3"), ControlExampleGetResourceString("ColorTitle_4")} return }()
var SystemTabColumnTitles2 []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init SystemTabColumnTitles2:", e) } }() r = []string{ControlExampleGetResourceString("ColorTitle_0"), ControlExampleGetResourceString("ColorTitle_5")} return }()
var TabDETAIL_CONSTANTS [][]string = [][]string{[]string{"SWT.COMPOSITION_CHANGED", "SWT.COMPOSITION_OFFSET", "SWT.COMPOSITION_SELECTION"}, []string{"SWT.SELECTED", "SWT.FOCUSED", "SWT.BACKGROUND", "SWT.FOREGROUND", "SWT.HOT"}, []string{"SWT.TRAVERSE_NONE", "SWT.TRAVERSE_ESCAPE", "SWT.TRAVERSE_RETURN", "SWT.TRAVERSE_TAB_PREVIOUS", "SWT.TRAVERSE_TAB_NEXT", "SWT.TRAVERSE_ARROW_PREVIOUS", "SWT.TRAVERSE_ARROW_NEXT", "SWT.TRAVERSE_MNEMONIC", "SWT.TRAVERSE_PAGE_PREVIOUS", "SWT.TRAVERSE_PAGE_NEXT"}}
var TabDETAIL_VALUES []any = func() (r []any) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TabDETAIL_VALUES:", e) } }() r = []any{"SWT.COMPOSITION_CHANGED", swt.COMPOSITION_CHANGED, "SWT.COMPOSITION_OFFSET", swt.COMPOSITION_OFFSET, "SWT.COMPOSITION_SELECTION", swt.COMPOSITION_SELECTION, "SWT.SELECTED", swt.SELECTED, "SWT.FOCUSED", swt.FOCUSED, "SWT.BACKGROUND", swt.BACKGROUND, "SWT.FOREGROUND", swt.FOREGROUND, "SWT.HOT", swt.HOT, "SWT.TRAVERSE_NONE", swt.TRAVERSE_NONE, "SWT.TRAVERSE_ESCAPE", swt.TRAVERSE_ESCAPE, "SWT.TRAVERSE_RETURN", swt.TRAVERSE_RETURN, "SWT.TRAVERSE_TAB_PREVIOUS", swt.TRAVERSE_TAB_PREVIOUS, "SWT.TRAVERSE_TAB_NEXT", swt.TRAVERSE_TAB_NEXT, "SWT.TRAVERSE_ARROW_PREVIOUS", swt.TRAVERSE_ARROW_PREVIOUS, "SWT.TRAVERSE_ARROW_NEXT", swt.TRAVERSE_ARROW_NEXT, "SWT.TRAVERSE_MNEMONIC", swt.TRAVERSE_MNEMONIC, "SWT.TRAVERSE_PAGE_PREVIOUS", swt.TRAVERSE_PAGE_PREVIOUS, "SWT.TRAVERSE_PAGE_NEXT", swt.TRAVERSE_PAGE_NEXT} return }()
var TabFolderTabTabItems1 []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TabFolderTabTabItems1:", e) } }() r = []string{ControlExampleGetResourceString("TabItem1_0"), ControlExampleGetResourceString("TabItem1_1"), ControlExampleGetResourceString("TabItem1_2")} return }()
var TabRTL_SUPPORT_ENABLE bool = func() (r bool) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TabRTL_SUPPORT_ENABLE:", e) } }() r = ("win32" == swt.GetPlatform()) || ("gtk" == swt.GetPlatform()) return }()
var TableTabColumnTitles []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TableTabColumnTitles:", e) } }() r = []string{ControlExampleGetResourceString("TableTitle_0"), ControlExampleGetResourceString("TableTitle_1"), ControlExampleGetResourceString("TableTitle_2"), ControlExampleGetResourceString("TableTitle_3")} return }()
var TableTabTableData [][]string = func() (r [][]string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TableTabTableData:", e) } }() r = [][]string{[]string{ControlExampleGetResourceString("TableLine0_0"), ControlExampleGetResourceString("TableLine0_1"), ControlExampleGetResourceString("TableLine0_2"), ControlExampleGetResourceString("TableLine0_3")}, []string{ControlExampleGetResourceString("TableLine1_0"), ControlExampleGetResourceString("TableLine1_1"), ControlExampleGetResourceString("TableLine1_2"), ControlExampleGetResourceString("TableLine1_3")}, []string{ControlExampleGetResourceString("TableLine2_0"), ControlExampleGetResourceString("TableLine2_1"), ControlExampleGetResourceString("TableLine2_2"), ControlExampleGetResourceString("TableLine2_3")}} return }()
var TreeTabColumnTitles []string = func() (r []string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TreeTabColumnTitles:", e) } }() r = []string{ControlExampleGetResourceString("TableTitle_0"), ControlExampleGetResourceString("TableTitle_1"), ControlExampleGetResourceString("TableTitle_2"), ControlExampleGetResourceString("TableTitle_3")} return }()
var TreeTabTableData [][]string = func() (r [][]string) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init TreeTabTableData:", e) } }() r = [][]string{[]string{ControlExampleGetResourceString("TableLine0_0"), ControlExampleGetResourceString("TableLine0_1"), ControlExampleGetResourceString("TableLine0_2"), ControlExampleGetResourceString("TableLine0_3")}, []string{ControlExampleGetResourceString("TableLine1_0"), ControlExampleGetResourceString("TableLine1_1"), ControlExampleGetResourceString("TableLine1_2"), ControlExampleGetResourceString("TableLine1_3")}, []string{ControlExampleGetResourceString("TableLine2_0"), ControlExampleGetResourceString("TableLine2_1"), ControlExampleGetResourceString("TableLine2_2"), ControlExampleGetResourceString("TableLine2_3")}} return }()
Functions ¶
func ControlExampleMain ¶
func ControlExampleMain(args []string)
func TableTabFindColumnContainingPoint ¶
func TableTabFindColumnContainingPoint(itemLike swt.TableItemLike, pointLike swt.PointLike) int32
Types ¶
type AlignableTab ¶
type AlignableTab struct {
Tab
// contains filtered or unexported fields
}
func (*AlignableTab) SetExampleWidgetAlignment ¶
func (this *AlignableTab) SetExampleWidgetAlignment()
type ButtonTab ¶
type ButtonTab struct {
AlignableTab
// contains filtered or unexported fields
}
type CanvasTab ¶
type CanvasTab struct {
Tab
// contains filtered or unexported fields
}
func (*CanvasTab) ResizeScrollBars ¶
func (this *CanvasTab) ResizeScrollBars()
func (*CanvasTab) ScrollHorizontal ¶
func (this *CanvasTab) ScrollHorizontal(scrollBarLike swt.ScrollBarLike)
func (*CanvasTab) ScrollVertical ¶
func (this *CanvasTab) ScrollVertical(scrollBarLike swt.ScrollBarLike)
type ControlExample ¶
type ControlExample struct {
// contains filtered or unexported fields
}
func NewControlExample ¶
func NewControlExample(parentLike swt.CompositeLike) *ControlExample
func (*ControlExample) CreateTabs ¶
func (this *ControlExample) CreateTabs() []*Tab
CreateTabs replaces ControlExample.createTabs(): only the tabs translated so far.
func (*ControlExample) Dispose ¶
func (this *ControlExample) Dispose()
func (*ControlExample) FreeResources ¶
func (this *ControlExample) FreeResources()
func (*ControlExample) InitResources ¶
func (this *ControlExample) InitResources()
func (*ControlExample) SetFocus ¶
func (this *ControlExample) SetFocus()
func (*ControlExample) TabFolder ¶
func (this *ControlExample) TabFolder() *swt.TabFolder
TabFolder exposes the example's tab folder to a driver (cmd/controlexample -snap).
type CoolBarTab ¶
type CoolBarTab struct {
Tab
// contains filtered or unexported fields
}
func (*CoolBarTab) SetWidgetLocked ¶
func (this *CoolBarTab) SetWidgetLocked()
type CoolBarTab_CoolItemSelectionListener ¶
type CoolBarTab_CoolItemSelectionListener struct {
*swt.SelectionAdapter
// contains filtered or unexported fields
}
func (*CoolBarTab_CoolItemSelectionListener) WidgetSelected ¶
func (this *CoolBarTab_CoolItemSelectionListener) WidgetSelected(event *swt.SelectionEvent)
type CoolBarTab_DropDownSelectionListener ¶
type CoolBarTab_DropDownSelectionListener struct {
*swt.SelectionAdapter
// contains filtered or unexported fields
}
func (*CoolBarTab_DropDownSelectionListener) SetMenuVisible ¶
func (this *CoolBarTab_DropDownSelectionListener) SetMenuVisible(visible bool)
func (*CoolBarTab_DropDownSelectionListener) WidgetSelected ¶
func (this *CoolBarTab_DropDownSelectionListener) WidgetSelected(event *swt.SelectionEvent)
type DateTimeTab ¶
type DateTimeTab struct {
Tab
// contains filtered or unexported fields
}
type DialogTab ¶
type DialogTab struct {
Tab
// contains filtered or unexported fields
}
func (*DialogTab) ButtonStyleSelected ¶
func (this *DialogTab) ButtonStyleSelected(event *swt.SelectionEvent)
func (*DialogTab) CreateButtonSelected ¶
func (this *DialogTab) CreateButtonSelected(event *swt.SelectionEvent)
func (*DialogTab) DialogSelected ¶
func (this *DialogTab) DialogSelected(event *swt.SelectionEvent)
type DisposeListenerFunc ¶
type DisposeListenerFunc struct {
// contains filtered or unexported fields
}
j2go: func adapter for DisposeListener.
func (*DisposeListenerFunc) WidgetDisposed ¶
func (f *DisposeListenerFunc) WidgetDisposed(a0 *swt.DisposeEvent)
type ExpandBarTab ¶
type ExpandBarTab struct {
Tab
// contains filtered or unexported fields
}
type GroupTab ¶
type GroupTab struct {
Tab
// contains filtered or unexported fields
}
func (*GroupTab) SetTitleText ¶
func (this *GroupTab) SetTitleText()
type LabelTab ¶
type LabelTab struct {
AlignableTab
// contains filtered or unexported fields
}
type LinkTab ¶
type LinkTab struct {
Tab
// contains filtered or unexported fields
}
func (*LinkTab) SetLinkForeground ¶
func (this *LinkTab) SetLinkForeground()
type ListTab ¶
type ListTab struct {
ScrollableTab
// contains filtered or unexported fields
}
type ListenerFunc ¶
type ListenerFunc struct {
// contains filtered or unexported fields
}
j2go: func adapter for Listener.
func (*ListenerFunc) HandleEvent ¶
func (f *ListenerFunc) HandleEvent(a0 *swt.Event)
type MenuTab ¶
type MenuTab struct {
Tab
// contains filtered or unexported fields
}
func (*MenuTab) CloseAllShells ¶
func (this *MenuTab) CloseAllShells()
func (*MenuTab) CreateButtonSelected ¶
func (this *MenuTab) CreateButtonSelected(event *swt.SelectionEvent)
func (*MenuTab) CreateMenuItems ¶
func (*MenuTab) GetMenuItemText ¶
type ModifyListenerFunc ¶
type ModifyListenerFunc struct {
// contains filtered or unexported fields
}
j2go: func adapter for ModifyListener.
func (*ModifyListenerFunc) ModifyText ¶
func (f *ModifyListenerFunc) ModifyText(a0 *swt.ModifyEvent)
type PaintListenerFunc ¶
type PaintListenerFunc struct {
// contains filtered or unexported fields
}
j2go: func adapter for PaintListener.
func (*PaintListenerFunc) PaintControl ¶
func (f *PaintListenerFunc) PaintControl(a0 *swt.PaintEvent)
type ProgressBarTab ¶
type ProgressBarTab struct {
RangeTab
// contains filtered or unexported fields
}
func (*ProgressBarTab) UpdateSpinner ¶
func (this *ProgressBarTab) UpdateSpinner(spinnerLike swt.SpinnerLike, selection int32)
func (*ProgressBarTab) UpdateSpinners ¶
func (this *ProgressBarTab) UpdateSpinners()
type RangeTab ¶
type RangeTab struct {
Tab
// contains filtered or unexported fields
}
func (*RangeTab) CreateMaximumGroup ¶
func (this *RangeTab) CreateMaximumGroup()
func (*RangeTab) CreateMinimumGroup ¶
func (this *RangeTab) CreateMinimumGroup()
func (*RangeTab) CreateSelectionGroup ¶
func (this *RangeTab) CreateSelectionGroup()
func (*RangeTab) GetDefaultMaximum ¶
func (*RangeTab) GetDefaultMinimum ¶
func (*RangeTab) GetDefaultSelection ¶
func (*RangeTab) SetWidgetMaximum ¶
func (this *RangeTab) SetWidgetMaximum()
func (*RangeTab) SetWidgetMinimum ¶
func (this *RangeTab) SetWidgetMinimum()
func (*RangeTab) SetWidgetSelection ¶
func (this *RangeTab) SetWidgetSelection()
type ScaleTab ¶
type ScaleTab struct {
RangeTab
// contains filtered or unexported fields
}
func (*ScaleTab) CreateIncrementGroup ¶
func (this *ScaleTab) CreateIncrementGroup()
func (*ScaleTab) CreatePageIncrementGroup ¶
func (this *ScaleTab) CreatePageIncrementGroup()
func (*ScaleTab) GetDefaultIncrement ¶
func (*ScaleTab) GetDefaultPageIncrement ¶
func (*ScaleTab) SetWidgetIncrement ¶
func (this *ScaleTab) SetWidgetIncrement()
func (*ScaleTab) SetWidgetPageIncrement ¶
func (this *ScaleTab) SetWidgetPageIncrement()
type ScrollableTab ¶
type ScrollableTab struct {
Tab
// contains filtered or unexported fields
}
type ShellTab ¶
type ShellTab struct {
Tab
// contains filtered or unexported fields
}
func (*ShellTab) CloseAllShells ¶
func (this *ShellTab) CloseAllShells()
func (*ShellTab) CreateButtonSelected ¶
func (this *ShellTab) CreateButtonSelected(event *swt.SelectionEvent)
func (*ShellTab) DecorationButtonSelected ¶
func (this *ShellTab) DecorationButtonSelected(event *swt.SelectionEvent)
type SliderTab ¶
type SliderTab struct {
RangeTab
// contains filtered or unexported fields
}
func (*SliderTab) CreateIncrementGroup ¶
func (this *SliderTab) CreateIncrementGroup()
func (*SliderTab) CreatePageIncrementGroup ¶
func (this *SliderTab) CreatePageIncrementGroup()
func (*SliderTab) CreateThumbGroup ¶
func (this *SliderTab) CreateThumbGroup()
func (*SliderTab) GetDefaultIncrement ¶
func (*SliderTab) GetDefaultPageIncrement ¶
func (*SliderTab) GetDefaultThumb ¶
func (*SliderTab) SetWidgetIncrement ¶
func (this *SliderTab) SetWidgetIncrement()
func (*SliderTab) SetWidgetPageIncrement ¶
func (this *SliderTab) SetWidgetPageIncrement()
func (*SliderTab) SetWidgetThumb ¶
func (this *SliderTab) SetWidgetThumb()
type SpinnerTab ¶
type SpinnerTab struct {
RangeTab
// contains filtered or unexported fields
}
func (*SpinnerTab) CreateDigitsGroup ¶
func (this *SpinnerTab) CreateDigitsGroup()
func (*SpinnerTab) CreateIncrementGroup ¶
func (this *SpinnerTab) CreateIncrementGroup()
func (*SpinnerTab) CreatePageIncrementGroup ¶
func (this *SpinnerTab) CreatePageIncrementGroup()
func (*SpinnerTab) GetDefaultDigits ¶
func (this *SpinnerTab) GetDefaultDigits() int32
func (*SpinnerTab) GetDefaultIncrement ¶
func (this *SpinnerTab) GetDefaultIncrement() int32
func (*SpinnerTab) GetDefaultPageIncrement ¶
func (this *SpinnerTab) GetDefaultPageIncrement() int32
func (*SpinnerTab) SetWidgetDigits ¶
func (this *SpinnerTab) SetWidgetDigits()
func (*SpinnerTab) SetWidgetIncrement ¶
func (this *SpinnerTab) SetWidgetIncrement()
func (*SpinnerTab) SetWidgetPageIncrement ¶
func (this *SpinnerTab) SetWidgetPageIncrement()
type SystemTab ¶
type SystemTab struct {
Tab
// contains filtered or unexported fields
}
func (*SystemTab) AddTableElements ¶
func (this *SystemTab) AddTableElements()
func (*SystemTab) GetHTMLColor ¶
func (*SystemTab) GetRGBAColor ¶
func (*SystemTab) PackColumns ¶
func (this *SystemTab) PackColumns()
type Tab ¶
type Tab struct {
EVENT_INFO []*Tab_EventInfo
// contains filtered or unexported fields
}
func (*Tab) ChangeFontOrColor ¶
func (*Tab) CreateBackgroundModeGroup ¶
func (this *Tab) CreateBackgroundModeGroup()
func (*Tab) CreateColorAndFontGroup ¶
func (this *Tab) CreateColorAndFontGroup()
func (*Tab) CreateControlGroup ¶
func (this *Tab) CreateControlGroup()
func (*Tab) CreateControlWidgets ¶
func (this *Tab) CreateControlWidgets()
func (*Tab) CreateDirectionGroup ¶
func (this *Tab) CreateDirectionGroup()
func (*Tab) CreateEditEventDialog ¶
func (*Tab) CreateEventConsolePopup ¶
func (this *Tab) CreateEventConsolePopup()
func (*Tab) CreateExampleGroup ¶
func (this *Tab) CreateExampleGroup()
func (*Tab) CreateExampleWidgets ¶
func (this *Tab) CreateExampleWidgets()
func (*Tab) CreateListenerSelectionDialog ¶
func (this *Tab) CreateListenerSelectionDialog()
func (*Tab) CreateListenersGroup ¶
func (this *Tab) CreateListenersGroup()
func (*Tab) CreateOrientationGroup ¶
func (this *Tab) CreateOrientationGroup()
func (*Tab) CreateOtherGroup ¶
func (this *Tab) CreateOtherGroup()
func (*Tab) CreateSetGetDialog ¶
func (*Tab) CreateSetGetGroup ¶
func (this *Tab) CreateSetGetGroup()
func (*Tab) CreateSizeGroup ¶
func (this *Tab) CreateSizeGroup()
func (*Tab) CreateStyleGroup ¶
func (this *Tab) CreateStyleGroup()
func (*Tab) CreateTabFolderPage ¶
func (this *Tab) CreateTabFolderPage(tabFolderLike swt.TabFolderLike) *swt.Composite
func (*Tab) DisposeExampleWidgets ¶
func (this *Tab) DisposeExampleWidgets()
func (*Tab) GetCustomEventNames ¶
func (*Tab) GetDefaultStyle ¶
func (*Tab) GetExampleControls ¶
func (*Tab) GetExampleWidgetItems ¶
func (*Tab) GetExampleWidgets ¶
func (*Tab) GetMethodNames ¶
func (*Tab) GetShortTabText ¶
func (*Tab) GetTabText ¶
func (*Tab) GetTransparencyColor ¶
func (*Tab) HandleTextDirection ¶
func (this *Tab) HandleTextDirection(widgetLike swt.WidgetLike) bool
func (*Tab) HookCustomListener ¶
func (*Tab) HookExampleWidgetListeners ¶
func (this *Tab) HookExampleWidgetListeners()
func (*Tab) HookListeners ¶
func (this *Tab) HookListeners(widgetLike swt.WidgetLike)
func (*Tab) LogEventNameEvent ¶
func (this *Tab) LogEventNameEvent(eventName string, eventLike swt.TypedEventLike)
func (*Tab) ParameterForType ¶
func (*Tab) ParameterInfo ¶
func (*Tab) RecreateExampleWidgets ¶
func (this *Tab) RecreateExampleWidgets()
func (*Tab) ResetColorsAndFonts ¶
func (this *Tab) ResetColorsAndFonts()
func (*Tab) ResetLabels ¶
func (this *Tab) ResetLabels()
func (*Tab) RtlSupport ¶
func (*Tab) SetExampleGroupBackgroundColor ¶
func (this *Tab) SetExampleGroupBackgroundColor()
func (*Tab) SetExampleGroupBackgroundImage ¶
func (this *Tab) SetExampleGroupBackgroundImage()
func (*Tab) SetExampleGroupBackgroundMode ¶
func (this *Tab) SetExampleGroupBackgroundMode()
func (*Tab) SetExampleWidgetBackground ¶
func (this *Tab) SetExampleWidgetBackground()
func (*Tab) SetExampleWidgetBackgroundImage ¶
func (this *Tab) SetExampleWidgetBackgroundImage()
func (*Tab) SetExampleWidgetEnabled ¶
func (this *Tab) SetExampleWidgetEnabled()
func (*Tab) SetExampleWidgetFont ¶
func (this *Tab) SetExampleWidgetFont()
func (*Tab) SetExampleWidgetForeground ¶
func (this *Tab) SetExampleWidgetForeground()
func (*Tab) SetExampleWidgetPopupMenu ¶
func (this *Tab) SetExampleWidgetPopupMenu()
func (*Tab) SetExampleWidgetSize ¶
func (this *Tab) SetExampleWidgetSize()
func (*Tab) SetExampleWidgetState ¶
func (this *Tab) SetExampleWidgetState()
func (*Tab) SetExampleWidgetVisibility ¶
func (this *Tab) SetExampleWidgetVisibility()
func (*Tab) SetMethodName ¶
func (*Tab) SpecialPopupMenuItems ¶
type TabAnon1 ¶
type TabAnon1 struct {
*swt.SelectionAdapter
// contains filtered or unexported fields
}
j2go: anonymous SelectionAdapter subclass.
func (*TabAnon1) WidgetDefaultSelected ¶
func (this *TabAnon1) WidgetDefaultSelected(a0 *swt.SelectionEvent)
func (*TabAnon1) WidgetSelected ¶
func (this *TabAnon1) WidgetSelected(a0 *swt.SelectionEvent)
type TabAnon2 ¶
type TabAnon2 struct {
*swt.KeyAdapter
// contains filtered or unexported fields
}
j2go: anonymous KeyAdapter subclass.
func (*TabAnon2) KeyPressed ¶
type TabAnon3 ¶
type TabAnon3 struct {
*swt.TransparencyColorImageGcDrawer
// contains filtered or unexported fields
}
j2go: anonymous TransparencyColorImageGcDrawer subclass.
type TabAnon4 ¶
type TabAnon4 struct {
*swt.TransparencyColorImageGcDrawer
// contains filtered or unexported fields
}
j2go: anonymous TransparencyColorImageGcDrawer subclass.
type TabFolderTab ¶
type TabFolderTab struct {
Tab
// contains filtered or unexported fields
}
type Tab_EventInfo ¶
type Tab_EventInfo struct {
// contains filtered or unexported fields
}
type TableTab ¶
type TableTab struct {
ScrollableTab
// contains filtered or unexported fields
}
func (*TableTab) MakeTableContentEditable ¶
func (this *TableTab) MakeTableContentEditable()
func (*TableTab) PackColumns ¶
func (this *TableTab) PackColumns()
func (*TableTab) SetCellBackground ¶
func (this *TableTab) SetCellBackground()
func (*TableTab) SetCellFont ¶
func (this *TableTab) SetCellFont()
func (*TableTab) SetCellForeground ¶
func (this *TableTab) SetCellForeground()
func (*TableTab) SetColumnsMoveable ¶
func (this *TableTab) SetColumnsMoveable()
func (*TableTab) SetColumnsResizable ¶
func (this *TableTab) SetColumnsResizable()
func (*TableTab) SetHeaderBackground ¶
func (this *TableTab) SetHeaderBackground()
func (*TableTab) SetHeaderForeground ¶
func (this *TableTab) SetHeaderForeground()
func (*TableTab) SetItemBackground ¶
func (this *TableTab) SetItemBackground()
func (*TableTab) SetItemFont ¶
func (this *TableTab) SetItemFont()
func (*TableTab) SetItemForeground ¶
func (this *TableTab) SetItemForeground()
func (*TableTab) SetItemText ¶
func (this *TableTab) SetItemText(itemLike swt.TableItemLike, i int32, node string)
func (*TableTab) SetWidgetHeaderVisible ¶
func (this *TableTab) SetWidgetHeaderVisible()
func (*TableTab) SetWidgetLinesVisible ¶
func (this *TableTab) SetWidgetLinesVisible()
func (*TableTab) SetWidgetSortIndicator ¶
func (this *TableTab) SetWidgetSortIndicator()
type TextTab ¶
type TextTab struct {
ScrollableTab
// contains filtered or unexported fields
}
type ToolBarTab ¶
type ToolBarTab struct {
Tab
// contains filtered or unexported fields
}
type ToolBarTab_DropDownSelectionListener ¶
type ToolBarTab_DropDownSelectionListener struct {
*swt.SelectionAdapter
// contains filtered or unexported fields
}
func (*ToolBarTab_DropDownSelectionListener) WidgetSelected ¶
func (this *ToolBarTab_DropDownSelectionListener) WidgetSelected(event *swt.SelectionEvent)
type ToolTipTab ¶
type ToolTipTab struct {
Tab
// contains filtered or unexported fields
}
func (*ToolTipTab) CreateTrayItem ¶
func (this *ToolTipTab) CreateTrayItem()
func (*ToolTipTab) DisposeTrayItem ¶
func (this *ToolTipTab) DisposeTrayItem()
func (*ToolTipTab) SetExampleWidgetAutoHide ¶
func (this *ToolTipTab) SetExampleWidgetAutoHide()
func (*ToolTipTab) ShowExampleWidgetInTray ¶
func (this *ToolTipTab) ShowExampleWidgetInTray()
type TreeTab ¶
type TreeTab struct {
ScrollableTab
// contains filtered or unexported fields
}
func (*TreeTab) InitializeSortState ¶
func (*TreeTab) MakeTreeContentEditable ¶
func (this *TreeTab) MakeTreeContentEditable()
func (*TreeTab) MakeTreeEditable ¶
func (*TreeTab) PackColumns ¶
func (*TreeTab) ResetSortState ¶
func (*TreeTab) SetCellBackground ¶
func (this *TreeTab) SetCellBackground()
func (*TreeTab) SetCellFont ¶
func (this *TreeTab) SetCellFont()
func (*TreeTab) SetCellForeground ¶
func (this *TreeTab) SetCellForeground()
func (*TreeTab) SetColumnsMoveable ¶
func (this *TreeTab) SetColumnsMoveable()
func (*TreeTab) SetColumnsResizable ¶
func (this *TreeTab) SetColumnsResizable()
func (*TreeTab) SetHeaderBackground ¶
func (this *TreeTab) SetHeaderBackground()
func (*TreeTab) SetHeaderForeground ¶
func (this *TreeTab) SetHeaderForeground()
func (*TreeTab) SetItemBackground ¶
func (this *TreeTab) SetItemBackground()
func (*TreeTab) SetItemFont ¶
func (this *TreeTab) SetItemFont()
func (*TreeTab) SetItemForeground ¶
func (this *TreeTab) SetItemForeground()
func (*TreeTab) SetItemText ¶
func (this *TreeTab) SetItemText(itemLike swt.TreeItemLike, i int32, node string)
func (*TreeTab) SetWidgetHeaderVisible ¶
func (this *TreeTab) SetWidgetHeaderVisible()
func (*TreeTab) SetWidgetLinesVisible ¶
func (this *TreeTab) SetWidgetLinesVisible()
func (*TreeTab) SetWidgetSortIndicator ¶
func (this *TreeTab) SetWidgetSortIndicator()
func (*TreeTab) TreeDoubleClickListener ¶
Source Files
¶
- controlexample_alignabletab.go
- controlexample_buttontab.go
- controlexample_canvastab.go
- controlexample_combotab.go
- controlexample_controlexample.go
- controlexample_coolbartab.go
- controlexample_datetimetab.go
- controlexample_dialogtab.go
- controlexample_expandbartab.go
- controlexample_grouptab.go
- controlexample_labeltab.go
- controlexample_linktab.go
- controlexample_listtab.go
- controlexample_manual.go
- controlexample_menutab.go
- controlexample_progressbartab.go
- controlexample_rangetab.go
- controlexample_sashtab.go
- controlexample_scaletab.go
- controlexample_scrollabletab.go
- controlexample_shelltab.go
- controlexample_slidertab.go
- controlexample_spinnertab.go
- controlexample_systemtab.go
- controlexample_tab.go
- controlexample_tabfoldertab.go
- controlexample_tabletab.go
- controlexample_texttab.go
- controlexample_toolbartab.go
- controlexample_tooltiptab.go
- controlexample_treetab.go