controlexample

package
v0.15.6 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: EPL-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Hand-written glue for the translated ControlExample (tooling/j2go/manual.txt, README "Round 10 controlexample").

Index

Constants

View Source
const CanvasTabCanvasString string = "Canvas"
View Source
const ControlExampleCiBackground int32 = 3
View Source
const ControlExampleCiClosedFolder int32 = 0
View Source
const ControlExampleCiOpenFolder int32 = 1
View Source
const ControlExampleCiParentBackground int32 = 4
View Source
const ControlExampleCiTarget int32 = 2
View Source
const LinkTabLINK_FOREGROUND_COLOR int32 = 3
View Source
const SashTabSASH_LIMIT int32 = 20
View Source
const SashTabSASH_WIDTH int32 = 3
View Source
const SystemTabNamedColorEnd int32 = 8
View Source
const TabBACKGROUND_COLOR int32 = 1
View Source
const TabDETAIL int32 = 0x0200
View Source
const TabDETAIL_ERASE_ITEM int32 = 1
View Source
const TabDETAIL_IME int32 = 0
View Source
const TabDETAIL_TRAVERSE int32 = 2
View Source
const TabDOIT int32 = 0x0100
View Source
const TabFONT int32 = 2
View Source
const TabFOREGROUND_COLOR int32 = 0
View Source
const TabHEIGHT int32 = 0x4000
View Source
const TabIMAGE_SIZE int32 = 12
View Source
const TabLARGE_SIZE int32 = 100
View Source
const TabRETANGLE_SIZE_HEIGHT int32 = 30
View Source
const TabRETANGLE_SIZE_WIDTH int32 = 140
View Source
const TabSMALL_SIZE int32 = 50
View Source
const TabTEXT int32 = 0x0400
View Source
const TabTOO_SMALL_SIZE int32 = 10
View Source
const TabWIDTH int32 = 0x2000
View Source
const TabX int32 = 0x0800
View Source
const TabY int32 = 0x1000
View Source
const TableTabCELL_BACKGROUND_COLOR int32 = 7
View Source
const TableTabCELL_FONT int32 = 8
View Source
const TableTabCELL_FOREGROUND_COLOR int32 = 6
View Source
const TableTabHEADER_BACKGROUND_COLOR int32 = 10
View Source
const TableTabHEADER_FOREGROUND_COLOR int32 = 9
View Source
const TableTabITEM_BACKGROUND_COLOR int32 = 4
View Source
const TableTabITEM_FONT int32 = 5
View Source
const TableTabITEM_FOREGROUND_COLOR int32 = 3
View Source
const TreeTabCELL_BACKGROUND_COLOR int32 = 7
View Source
const TreeTabCELL_FONT int32 = 8
View Source
const TreeTabCELL_FOREGROUND_COLOR int32 = 6
View Source
const TreeTabHEADER_BACKGROUND_COLOR int32 = 10
View Source
const TreeTabHEADER_FOREGROUND_COLOR int32 = 9
View Source
const TreeTabITEM_BACKGROUND_COLOR int32 = 4
View Source
const TreeTabITEM_FONT int32 = 5
View Source
const TreeTabITEM_FOREGROUND_COLOR int32 = 3

Variables

View Source
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
}()
View Source
var ControlExampleImageLocations []string = []string{"closedFolder.gif", "openFolder.gif", "target.gif", "backgroundImage.png", "parentBackgroundImage.png"}
View Source
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
}()
View Source
var DialogTabFilterExtensions []string = []string{"*.txt", "*.bat", "*.doc;*.rtf", "*"}
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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"}}
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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
}()
View Source
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 ControlExampleGetResourceString

func ControlExampleGetResourceString(key string) string

func ControlExampleGetResourceStringKeyArgs

func ControlExampleGetResourceStringKeyArgs(key string, args []any) string

func ControlExampleMain

func ControlExampleMain(args []string)

func ControlExampleSetShellSize

func ControlExampleSetShellSize(shellLike swt.ShellLike)

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)

func (*CanvasTab) SetCaret

func (this *CanvasTab) SetCaret()

type ComboTab

type ComboTab struct {
	Tab
	// contains filtered or unexported fields
}

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 struct {
	Tab
	// contains filtered or unexported fields
}
func (this *MenuTab) CloseAllShells()
func (this *MenuTab) CreateButtonSelected(event *swt.SelectionEvent)
func (this *MenuTab) CreateMenuItems(menuLike swt.MenuLike, createSubMenu bool, createSubSubMenu bool)
func (this *MenuTab) GetMenuItemText(item string) string

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 (this *RangeTab) GetDefaultMaximum() int32

func (*RangeTab) GetDefaultMinimum

func (this *RangeTab) GetDefaultMinimum() int32

func (*RangeTab) GetDefaultSelection

func (this *RangeTab) GetDefaultSelection() int32

func (*RangeTab) SetWidgetMaximum

func (this *RangeTab) SetWidgetMaximum()

func (*RangeTab) SetWidgetMinimum

func (this *RangeTab) SetWidgetMinimum()

func (*RangeTab) SetWidgetSelection

func (this *RangeTab) SetWidgetSelection()

type SashTab

type SashTab struct {
	Tab
	// contains filtered or unexported fields
}

func (*SashTab) Layout

func (this *SashTab) Layout()

func (*SashTab) Resized

func (this *SashTab) Resized()

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 (this *ScaleTab) GetDefaultIncrement() int32

func (*ScaleTab) GetDefaultPageIncrement

func (this *ScaleTab) GetDefaultPageIncrement() int32

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 (this *SliderTab) GetDefaultIncrement() int32

func (*SliderTab) GetDefaultPageIncrement

func (this *SliderTab) GetDefaultPageIncrement() int32

func (*SliderTab) GetDefaultThumb

func (this *SliderTab) GetDefaultThumb() int32

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 (this *SystemTab) GetHTMLColor(id int32) string

func (*SystemTab) GetRGBAColor

func (this *SystemTab) GetRGBAColor(id int32) string

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 (this *Tab) ChangeFontOrColor(index int32)

func (*Tab) ColorImage

func (this *Tab) ColorImage(colorLike swt.ColorLike) *swt.Image

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 (this *Tab) CreateEditEventDialog(parentLike swt.ShellLike, x int32, y int32, index int32)

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 (this *Tab) CreateSetGetDialog(methodNames []string) *swt.Shell

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

func (this *Tab) FontImage(fontLike swt.FontLike) *swt.Image

func (*Tab) GetCustomEventNames

func (this *Tab) GetCustomEventNames() []string

func (*Tab) GetDefaultStyle

func (this *Tab) GetDefaultStyle() int32

func (*Tab) GetExampleControls

func (this *Tab) GetExampleControls() []*swt.Control

func (*Tab) GetExampleWidgetItems

func (this *Tab) GetExampleWidgetItems() []*swt.Item

func (*Tab) GetExampleWidgets

func (this *Tab) GetExampleWidgets() []*swt.Widget

func (*Tab) GetMethodNames

func (this *Tab) GetMethodNames() []string

func (*Tab) GetReturnType

func (this *Tab) GetReturnType(methodRoot string) reflect.Type

func (*Tab) GetShortTabText

func (this *Tab) GetShortTabText() string

func (*Tab) GetTabText

func (this *Tab) GetTabText() string

func (*Tab) GetTransparencyColor

func (this *Tab) GetTransparencyColor(colorLike swt.ColorLike) *swt.Color

func (*Tab) GetValue

func (this *Tab) GetValue()

func (*Tab) HandleTextDirection

func (this *Tab) HandleTextDirection(widgetLike swt.WidgetLike) bool

func (*Tab) HookCustomListener

func (this *Tab) HookCustomListener(eventName string)

func (*Tab) HookExampleWidgetListeners

func (this *Tab) HookExampleWidgetListeners()

func (*Tab) HookListeners

func (this *Tab) HookListeners(widgetLike swt.WidgetLike)

func (*Tab) Impl

func (this *Tab) Impl() TabImpl

func (*Tab) Log

func (this *Tab) Log(event *swt.Event)

func (*Tab) LogEventNameEvent

func (this *Tab) LogEventNameEvent(eventName string, eventLike swt.TypedEventLike)

func (*Tab) LogString

func (this *Tab) LogString(string_ string)

func (*Tab) ParameterForType

func (this *Tab) ParameterForType(typeName string, value string, widgetLike swt.WidgetLike) []any

func (*Tab) ParameterInfo

func (this *Tab) ParameterInfo(methodRoot string) string

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 (this *Tab) RtlSupport() bool

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

func (this *Tab) SetImpl_(impl TabImpl)

func (*Tab) SetMethodName

func (this *Tab) SetMethodName(methodRoot string) string

func (*Tab) SetValue

func (this *Tab) SetValue()

func (*Tab) SpecialPopupMenuItems

func (this *Tab) SpecialPopupMenuItems(menuLike swt.MenuLike, eventLike swt.EventLike)

func (*Tab) Split

func (this *Tab) Split(string_ string, ch uint16) []string

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

func (this *TabAnon2) KeyPressed(a0 *swt.KeyEvent)

type TabAnon3

type TabAnon3 struct {
	*swt.TransparencyColorImageGcDrawer
	// contains filtered or unexported fields
}

j2go: anonymous TransparencyColorImageGcDrawer subclass.

func (*TabAnon3) DrawOn

func (this *TabAnon3) DrawOn(a0 *swt.GC, a1 int32, a2 int32)

type TabAnon4

type TabAnon4 struct {
	*swt.TransparencyColorImageGcDrawer
	// contains filtered or unexported fields
}

j2go: anonymous TransparencyColorImageGcDrawer subclass.

func (*TabAnon4) DrawOn

func (this *TabAnon4) DrawOn(a0 *swt.GC, a1 int32, a2 int32)

type TabFolderTab

type TabFolderTab struct {
	Tab
	// contains filtered or unexported fields
}

func (*TabFolderTab) FindItem

func (this *TabFolderTab) FindItem(value string, items []*swt.TabItem) *swt.TabItem

type TabImpl

type TabImpl interface {
	// contains filtered or unexported methods
}

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

func (this *TableTab) FindItem(value string, items []*swt.TableItem) *swt.TableItem

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

func (this *TreeTab) FindItem(value string, items []*swt.TreeItem) *swt.TreeItem

func (*TreeTab) InitializeSortState

func (this *TreeTab) InitializeSortState(treeLike swt.TreeLike)

func (*TreeTab) MakeTreeContentEditable

func (this *TreeTab) MakeTreeContentEditable()

func (*TreeTab) MakeTreeEditable

func (this *TreeTab) MakeTreeEditable(treeLike swt.TreeLike)

func (*TreeTab) PackColumns

func (this *TreeTab) PackColumns(treeLike swt.TreeLike)

func (*TreeTab) ResetSortState

func (this *TreeTab) ResetSortState(treeLike swt.TreeLike)

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

func (this *TreeTab) TreeDoubleClickListener(treeLike swt.TreeLike, editorLike swt.TreeEditorLike, eventLike swt.EventLike)

Directories

Path Synopsis
Package res embeds the ControlExample resources.
Package res embeds the ControlExample resources.

Jump to

Keyboard shortcuts

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