Documentation
¶
Overview ¶
Package jface holds the JFace layout and widget factories (GridLayoutFactory, GridDataFactory, ButtonFactory, TextFactory and the like) and the column layout data, translated to Go with the Java names on top of package swt. It is for porting JFace code; new programs use package gowt. See https://github.com/haiodo/gowt/blob/main/docs/jface.md.
Index ¶
- Constants
- Variables
- func DialogConvertHeightInCharsToPixels(fm *swt.FontMetrics, chars int32) int32
- func DialogConvertHorizontalDLUsToPixels(fm *swt.FontMetrics, dlus int32) int32
- func DialogConvertVerticalDLUsToPixels(fm *swt.FontMetrics, dlus int32) int32
- func DialogConvertWidthInCharsToPixels(fm *swt.FontMetrics, chars int32) int32
- func FillLayoutFactoryCopyLayout(lLike swt.FillLayoutLike) *swt.FillLayout
- func GeometryAdd(rect1Like swt.RectangleLike, rect2Like swt.RectangleLike) *swt.Rectangle
- func GeometryAddPoint1Point2(point1Like swt.PointLike, point2Like swt.PointLike) *swt.Point
- func GeometryCenterPoint(rectLike swt.RectangleLike) *swt.Point
- func GeometryCopy(toCopyLike swt.PointLike) *swt.Point
- func GeometryCopyToCopy(toCopyLike swt.RectangleLike) *swt.Rectangle
- func GeometryCreateDiffRectangle(left int32, right int32, top int32, bottom int32) *swt.Rectangle
- func GeometryCreateRectangle(positionLike swt.PointLike, sizeLike swt.PointLike) *swt.Rectangle
- func GeometryDistanceSquared(p1Like swt.PointLike, p2Like swt.PointLike) int32
- func GeometryDivide(toDivideLike swt.PointLike, scalar int32) *swt.Point
- func GeometryDotProduct(p1Like swt.PointLike, p2Like swt.PointLike) int32
- func GeometryExpand(rectLike swt.RectangleLike, differenceRectLike swt.RectangleLike)
- func GeometryExpandRectLeftRightTopBottom(rectLike swt.RectangleLike, left int32, right int32, top int32, bottom int32)
- func GeometryFlipXY(toFlipLike swt.PointLike)
- func GeometryFlipXYToFlip(toFlipLike swt.RectangleLike)
- func GeometryGetClosestSide(boundaryLike swt.RectangleLike, toTestLike swt.PointLike) int32
- func GeometryGetCoordinate(toMeasureLike swt.PointLike, width bool) int32
- func GeometryGetCoordinateToMeasureWidth(toMeasureLike swt.RectangleLike, width bool) int32
- func GeometryGetDimension(toMeasureLike swt.RectangleLike, width bool) int32
- func GeometryGetDirectionVector(distance int32, direction int32) *swt.Point
- func GeometryGetDistanceFrom(boundaryLike swt.RectangleLike, toTestLike swt.PointLike) int32
- func GeometryGetDistanceFromEdge(rectangleLike swt.RectangleLike, testPointLike swt.PointLike, ...) int32
- func GeometryGetExtrudedEdge(toExtrudeLike swt.RectangleLike, size int32, orientation int32) *swt.Rectangle
- func GeometryGetLocation(toQueryLike swt.RectangleLike) *swt.Point
- func GeometryGetOppositeSide(swtDirectionConstant int32) int32
- func GeometryGetRelativePosition(boundaryLike swt.RectangleLike, toTestLike swt.PointLike) int32
- func GeometryGetSize(rectangleLike swt.RectangleLike) *swt.Point
- func GeometryGetSwtHorizontalOrVerticalConstant(horizontal bool) int32
- func GeometryIsHorizontal(swtSideConstant int32) bool
- func GeometryMagnitude(pLike swt.PointLike) float64
- func GeometryMagnitudeSquared(pLike swt.PointLike) int32
- func GeometryMax(p1Like swt.PointLike, p2Like swt.PointLike) *swt.Point
- func GeometryMin(p1Like swt.PointLike, p2Like swt.PointLike) *swt.Point
- func GeometryMoveInside(innerLike swt.RectangleLike, outerLike swt.RectangleLike)
- func GeometryMoveRectangle(rectLike swt.RectangleLike, deltaLike swt.PointLike)
- func GeometryNormalize(rectLike swt.RectangleLike)
- func GeometrySet(resultLike swt.PointLike, toCopyLike swt.PointLike)
- func GeometrySetCoordinate(toSetLike swt.RectangleLike, width bool, newCoordinate int32)
- func GeometrySetCoordinateToSetWidthNewCoordinate(toSetLike swt.PointLike, width bool, newCoordinate int32)
- func GeometrySetDimension(toSetLike swt.RectangleLike, width bool, newCoordinate int32)
- func GeometrySetLocation(rectangleLike swt.RectangleLike, newLocationLike swt.PointLike)
- func GeometrySetResultToCopy(resultLike swt.RectangleLike, toCopyLike swt.RectangleLike)
- func GeometrySetSize(rectangleLike swt.RectangleLike, newSizeLike swt.PointLike)
- func GeometrySubtract(rect1Like swt.RectangleLike, rect2Like swt.RectangleLike) *swt.Rectangle
- func GeometrySubtractPoint1Point2(point1Like swt.PointLike, point2Like swt.PointLike) *swt.Point
- func GeometryToControl(coordinateSystemLike swt.ControlLike, toConvertLike swt.RectangleLike) *swt.Rectangle
- func GeometryToDisplay(coordinateSystemLike swt.ControlLike, toConvertLike swt.RectangleLike) *swt.Rectangle
- func GridDataFactoryCopyData(dataLike swt.GridDataLike) *swt.GridData
- func GridDataFactoryGenerate(theControlLike swt.ControlLike, hSpan int32, vSpan int32)
- func GridDataFactoryGenerateTheControlSpan(theControlLike swt.ControlLike, spanLike swt.PointLike)
- func GridLayoutFactoryCopyLayout(lLike swt.GridLayoutLike) *swt.GridLayout
- func JFaceResourcesGetDialogFont() *swt.Font
- func LayoutConstantsGetIndent() int32
- func LayoutConstantsGetMargins() *swt.Point
- func LayoutConstantsGetMinButtonSize() *swt.Point
- func LayoutConstantsGetSpacing() *swt.Point
- func LayoutConstantsInitializeConstants()
- func LayoutGeneratorApplyLayoutDataTo(controlLike swt.ControlLike)
- func LayoutGeneratorGenerateLayout(toGenerateLike swt.CompositeLike)
- func LayoutGeneratorHasMethod(controlLike swt.ControlLike, name string, parameterTypes []reflect.Type) bool
- func LayoutGeneratorHasStyle(cLike swt.ControlLike, style int32) bool
- func RowDataFactoryCopyData(dataLike swt.RowDataLike) *swt.RowData
- func RowLayoutFactoryCopyLayout(layoutLike swt.RowLayoutLike) *swt.RowLayout
- func UtilAssertInstance(object any, c reflect.Type)
- func UtilAssertInstanceObjectCAllowNull(object any, c reflect.Type, allowNull bool)
- func UtilCompare(left bool, right bool) int32
- func UtilCompareOverload1(left int32, right int32) int32
- func UtilCompareOverload2(left any, right any) int32
- func UtilCompareOverload3(left []any, right []any) int32
- func UtilCompareOverload4(left *jrt.List, right *jrt.List) int32
- func UtilEndsWith(left []any, right []any, equals bool) bool
- func UtilEquals(left any, right any) bool
- func UtilEqualsLeftArrayRightArray(leftArray []any, rightArray []any) bool
- func UtilGetClosestMonitor(toSearchLike swt.DisplayLike, toFindLike swt.PointLike) *swt.Monitor
- func UtilGetWS() string
- func UtilHashCode(i int32) int32
- func UtilHashCodeObject(object any) int32
- func UtilHashCodeObjects(objects []any) int32
- func UtilIsCarbon() bool
- func UtilIsCocoa() bool
- func UtilIsGtk() bool
- func UtilIsLinux() bool
- func UtilIsMac() bool
- func UtilIsMotif() bool
- func UtilIsPhoton() bool
- func UtilIsValid(widgetLike swt.WidgetLike) bool
- func UtilIsWin32() bool
- func UtilIsWindows() bool
- func UtilIsWpf() bool
- func UtilReplaceAll(src string, find string, replacement string) string
- func UtilStartsWith(left []any, right []any, equals bool) bool
- func UtilToString(array []any) string
- func UtilTranslateString(resourceBundle *jrt.ResourceBundle, key string, defaultString string) string
- type AbstractColumnLayout
- func (this *AbstractColumnLayout) AsAbstractColumnLayout() *AbstractColumnLayout
- func (this *AbstractColumnLayout) ComputeSize_(composite *swt.Composite, wHint int32, hHint int32, flushCache bool) *swt.Point
- func (this *AbstractColumnLayout) ComputeTableTreeSize(scrollableLike swt.ScrollableLike, wHint int32, hHint int32) *swt.Point
- func (this *AbstractColumnLayout) ComputeTrim(scrollableLike swt.ScrollableLike, currentWidth int32) int32
- func (this *AbstractColumnLayout) GetColumnCount(tableTreeLike swt.ScrollableLike) int32
- func (this *AbstractColumnLayout) GetColumnTrim() int32
- func (this *AbstractColumnLayout) GetControl(compositeLike swt.CompositeLike) *swt.Scrollable
- func (this *AbstractColumnLayout) GetLayoutData(tableTreeLike swt.ScrollableLike, columnIndex int32) *ColumnLayoutData
- func (this *AbstractColumnLayout) Impl() AbstractColumnLayoutImpl
- func (this *AbstractColumnLayout) LayoutFn(compositeLike swt.CompositeLike, flushCache bool)
- func (this *AbstractColumnLayout) LayoutFn_(composite *swt.Composite, flushCache bool)
- func (this *AbstractColumnLayout) LayoutTableTree(scrollableLike swt.ScrollableLike, width int32, areaLike swt.RectangleLike, ...)
- func (this *AbstractColumnLayout) SetColumnData(columnLike swt.WidgetLike, dataLike ColumnLayoutDataLike)
- func (this *AbstractColumnLayout) SetColumnWidths(tableTreeLike swt.ScrollableLike, widths []int32)
- func (this *AbstractColumnLayout) SetImpl_(impl AbstractColumnLayoutImpl)
- func (this *AbstractColumnLayout) UpdateColumnData(columnLike swt.WidgetLike)
- type AbstractColumnLayoutImpl
- type AbstractColumnLayoutLike
- type AbstractCompositeFactory
- type AbstractCompositeFactoryLike
- type AbstractControlFactory
- func (this *AbstractControlFactory) AsAbstractControlFactory() *AbstractControlFactory
- func (this *AbstractControlFactory) Background(colorLike swt.ColorLike) *AbstractControlFactory
- func (this *AbstractControlFactory) Enabled(enabled bool) *AbstractControlFactory
- func (this *AbstractControlFactory) Font(fontLike swt.FontLike) *AbstractControlFactory
- func (this *AbstractControlFactory) Foreground(colorLike swt.ColorLike) *AbstractControlFactory
- func (this *AbstractControlFactory) LayoutData(layoutData any) *AbstractControlFactory
- func (this *AbstractControlFactory) Orientation(orientation int32) *AbstractControlFactory
- func (this *AbstractControlFactory) SupplyLayoutData(layoutDataSupplier func() any) *AbstractControlFactory
- func (this *AbstractControlFactory) Tooltip(tooltipText string) *AbstractControlFactory
- type AbstractControlFactoryLike
- type AbstractItemFactory
- type AbstractItemFactoryLike
- type AbstractWidgetFactory
- func (this *AbstractWidgetFactory) AddProperty(property Property)
- func (this *AbstractWidgetFactory) ApplyProperties(widgetLike swt.WidgetLike)
- func (this *AbstractWidgetFactory) AsAbstractWidgetFactory() *AbstractWidgetFactory
- func (this *AbstractWidgetFactory) Cast(factoryLike AbstractWidgetFactoryLike) *AbstractWidgetFactory
- func (this *AbstractWidgetFactory) Create(parentLike swt.WidgetLike) *swt.Widget
- func (this *AbstractWidgetFactory) Data(data any) *AbstractWidgetFactory
- func (this *AbstractWidgetFactory) DataKeyValue(key string, value any) *AbstractWidgetFactory
- func (this *AbstractWidgetFactory) Impl() AbstractWidgetFactoryImpl
- func (this *AbstractWidgetFactory) SetImpl_(impl AbstractWidgetFactoryImpl)
- type AbstractWidgetFactoryImpl
- type AbstractWidgetFactoryLike
- type ButtonFactory
- func (this *ButtonFactory) AsButtonFactory() *ButtonFactory
- func (this *ButtonFactory) Background(a0Like swt.ColorLike) *ButtonFactory
- func (this *ButtonFactory) Create(a0Like swt.CompositeLike) *swt.Button
- func (this *ButtonFactory) Data(a0 any) *ButtonFactory
- func (this *ButtonFactory) DataKeyValue(a0 string, a1 any) *ButtonFactory
- func (this *ButtonFactory) Enabled(a0 bool) *ButtonFactory
- func (this *ButtonFactory) Font(a0Like swt.FontLike) *ButtonFactory
- func (this *ButtonFactory) Foreground(a0Like swt.ColorLike) *ButtonFactory
- func (this *ButtonFactory) Image(imageLike swt.ImageLike) *ButtonFactory
- func (this *ButtonFactory) LayoutData(a0 any) *ButtonFactory
- func (this *ButtonFactory) OnSelect(consumer func(*swt.SelectionEvent)) *ButtonFactory
- func (this *ButtonFactory) Orientation(a0 int32) *ButtonFactory
- func (this *ButtonFactory) SupplyLayoutData(a0 func() any) *ButtonFactory
- func (this *ButtonFactory) Text(text string) *ButtonFactory
- func (this *ButtonFactory) Tooltip(a0 string) *ButtonFactory
- type ButtonFactoryLike
- type ColumnLayoutData
- type ColumnLayoutDataImpl
- type ColumnLayoutDataLike
- type ColumnPixelData
- type ColumnPixelDataLike
- type ColumnWeightData
- func NewColumnWeightData(weight int32) *ColumnWeightData
- func NewColumnWeightDataWeightMinimumWidth(weight int32, minimumWidth int32) *ColumnWeightData
- func NewColumnWeightDataWeightMinimumWidthResizable(weight int32, minimumWidth int32, resizable bool) *ColumnWeightData
- func NewColumnWeightDataWeightResizable(weight int32, resizable bool) *ColumnWeightData
- type ColumnWeightDataLike
- type CompositeFactory
- func (this *CompositeFactory) AsCompositeFactory() *CompositeFactory
- func (this *CompositeFactory) Background(a0Like swt.ColorLike) *CompositeFactory
- func (this *CompositeFactory) Create(a0Like swt.CompositeLike) *swt.Composite
- func (this *CompositeFactory) Data(a0 any) *CompositeFactory
- func (this *CompositeFactory) DataKeyValue(a0 string, a1 any) *CompositeFactory
- func (this *CompositeFactory) Enabled(a0 bool) *CompositeFactory
- func (this *CompositeFactory) Font(a0Like swt.FontLike) *CompositeFactory
- func (this *CompositeFactory) Foreground(a0Like swt.ColorLike) *CompositeFactory
- func (this *CompositeFactory) Layout(a0Like swt.LayoutLike) *CompositeFactory
- func (this *CompositeFactory) LayoutData(a0 any) *CompositeFactory
- func (this *CompositeFactory) Orientation(a0 int32) *CompositeFactory
- func (this *CompositeFactory) SupplyLayout(layoutSupplier func() *swt.Layout) *CompositeFactory
- func (this *CompositeFactory) SupplyLayoutData(a0 func() any) *CompositeFactory
- func (this *CompositeFactory) Tooltip(a0 string) *CompositeFactory
- type CompositeFactoryLike
- type DateTimeFactory
- func (this *DateTimeFactory) AsDateTimeFactory() *DateTimeFactory
- func (this *DateTimeFactory) Background(a0Like swt.ColorLike) *DateTimeFactory
- func (this *DateTimeFactory) Create(a0Like swt.CompositeLike) *swt.DateTime
- func (this *DateTimeFactory) Data(a0 any) *DateTimeFactory
- func (this *DateTimeFactory) DataKeyValue(a0 string, a1 any) *DateTimeFactory
- func (this *DateTimeFactory) Enabled(a0 bool) *DateTimeFactory
- func (this *DateTimeFactory) Font(a0Like swt.FontLike) *DateTimeFactory
- func (this *DateTimeFactory) Foreground(a0Like swt.ColorLike) *DateTimeFactory
- func (this *DateTimeFactory) LayoutData(a0 any) *DateTimeFactory
- func (this *DateTimeFactory) OnDefaultSelect(consumer func(*swt.SelectionEvent)) *DateTimeFactory
- func (this *DateTimeFactory) OnSelect(consumer func(*swt.SelectionEvent)) *DateTimeFactory
- func (this *DateTimeFactory) Orientation(a0 int32) *DateTimeFactory
- func (this *DateTimeFactory) SupplyLayoutData(a0 func() any) *DateTimeFactory
- func (this *DateTimeFactory) Tooltip(a0 string) *DateTimeFactory
- type DateTimeFactoryLike
- type Dialog
- type FillLayoutFactory
- func (this *FillLayoutFactory) ApplyTo(cLike swt.CompositeLike)
- func (this *FillLayoutFactory) AsFillLayoutFactory() *FillLayoutFactory
- func (this *FillLayoutFactory) Copy() *FillLayoutFactory
- func (this *FillLayoutFactory) Create() *swt.FillLayout
- func (this *FillLayoutFactory) ExtendedMargins(width int32, height int32) *FillLayoutFactory
- func (this *FillLayoutFactory) Margins(marginsLike swt.PointLike) *FillLayoutFactory
- func (this *FillLayoutFactory) MarginsWidthHeight(width int32, height int32) *FillLayoutFactory
- func (this *FillLayoutFactory) String() string
- type FillLayoutFactoryLike
- type Geometry
- type GeometryLike
- type GridDataFactory
- func GridDataFactoryCreate(style int32) *GridDataFactory
- func GridDataFactoryCreateFrom(dataLike swt.GridDataLike) *GridDataFactory
- func GridDataFactoryDefaultsFor(theControlLike swt.ControlLike) *GridDataFactory
- func GridDataFactoryFillDefaults() *GridDataFactory
- func GridDataFactorySwtDefaults() *GridDataFactory
- func LayoutGeneratorDefaultsFor(controlLike swt.ControlLike) *GridDataFactory
- func (this *GridDataFactory) Align(hAlign int32, vAlign int32) *GridDataFactory
- func (this *GridDataFactory) ApplyTo(controlLike swt.ControlLike)
- func (this *GridDataFactory) AsGridDataFactory() *GridDataFactory
- func (this *GridDataFactory) Copy() *GridDataFactory
- func (this *GridDataFactory) Create() *swt.GridData
- func (this *GridDataFactory) Exclude(shouldExclude bool) *GridDataFactory
- func (this *GridDataFactory) GetAlignmentString(alignment int32) string
- func (this *GridDataFactory) GetHintString(widthHint int32) string
- func (this *GridDataFactory) Grab(horizontal bool, vertical bool) *GridDataFactory
- func (this *GridDataFactory) Hint(xHint int32, yHint int32) *GridDataFactory
- func (this *GridDataFactory) HintHint(hintLike swt.PointLike) *GridDataFactory
- func (this *GridDataFactory) Indent(hIndent int32, vIndent int32) *GridDataFactory
- func (this *GridDataFactory) IndentIndent(indentLike swt.PointLike) *GridDataFactory
- func (this *GridDataFactory) MinSize(minX int32, minY int32) *GridDataFactory
- func (this *GridDataFactory) MinSizeMin(minLike swt.PointLike) *GridDataFactory
- func (this *GridDataFactory) Span(hSpan int32, vSpan int32) *GridDataFactory
- func (this *GridDataFactory) SpanSpan(spanLike swt.PointLike) *GridDataFactory
- func (this *GridDataFactory) String() string
- type GridDataFactoryLike
- type GridLayoutFactory
- func (this *GridLayoutFactory) ApplyTo(cLike swt.CompositeLike)
- func (this *GridLayoutFactory) AsGridLayoutFactory() *GridLayoutFactory
- func (this *GridLayoutFactory) Copy() *GridLayoutFactory
- func (this *GridLayoutFactory) Create() *swt.GridLayout
- func (this *GridLayoutFactory) EqualWidth(equal bool) *GridLayoutFactory
- func (this *GridLayoutFactory) ExtendedMargins(left int32, right int32, top int32, bottom int32) *GridLayoutFactory
- func (this *GridLayoutFactory) ExtendedMarginsDifferenceRect(differenceRectLike swt.RectangleLike) *GridLayoutFactory
- func (this *GridLayoutFactory) GenerateLayout(cLike swt.CompositeLike)
- func (this *GridLayoutFactory) Margins(marginsLike swt.PointLike) *GridLayoutFactory
- func (this *GridLayoutFactory) MarginsWidthHeight(width int32, height int32) *GridLayoutFactory
- func (this *GridLayoutFactory) NumColumns(numColumns int32) *GridLayoutFactory
- func (this *GridLayoutFactory) Spacing(hSpacing int32, vSpacing int32) *GridLayoutFactory
- func (this *GridLayoutFactory) SpacingSpacing(spacingLike swt.PointLike) *GridLayoutFactory
- func (this *GridLayoutFactory) String() string
- type GridLayoutFactoryLike
- type GroupFactory
- func (this *GroupFactory) AsGroupFactory() *GroupFactory
- func (this *GroupFactory) Background(a0Like swt.ColorLike) *GroupFactory
- func (this *GroupFactory) Create(a0Like swt.CompositeLike) *swt.Group
- func (this *GroupFactory) Data(a0 any) *GroupFactory
- func (this *GroupFactory) DataKeyValue(a0 string, a1 any) *GroupFactory
- func (this *GroupFactory) Enabled(a0 bool) *GroupFactory
- func (this *GroupFactory) Font(a0Like swt.FontLike) *GroupFactory
- func (this *GroupFactory) Foreground(a0Like swt.ColorLike) *GroupFactory
- func (this *GroupFactory) Layout(a0Like swt.LayoutLike) *GroupFactory
- func (this *GroupFactory) LayoutData(a0 any) *GroupFactory
- func (this *GroupFactory) Orientation(a0 int32) *GroupFactory
- func (this *GroupFactory) SupplyLayoutData(a0 func() any) *GroupFactory
- func (this *GroupFactory) Text(text string) *GroupFactory
- func (this *GroupFactory) Tooltip(a0 string) *GroupFactory
- type GroupFactoryLike
- type IDialogConstants
- type JFaceResources
- type LabelFactory
- func (this *LabelFactory) Align(alignment int32) *LabelFactory
- func (this *LabelFactory) AsLabelFactory() *LabelFactory
- func (this *LabelFactory) Background(a0Like swt.ColorLike) *LabelFactory
- func (this *LabelFactory) Create(a0Like swt.CompositeLike) *swt.Label
- func (this *LabelFactory) Data(a0 any) *LabelFactory
- func (this *LabelFactory) DataKeyValue(a0 string, a1 any) *LabelFactory
- func (this *LabelFactory) Enabled(a0 bool) *LabelFactory
- func (this *LabelFactory) Font(a0Like swt.FontLike) *LabelFactory
- func (this *LabelFactory) Foreground(a0Like swt.ColorLike) *LabelFactory
- func (this *LabelFactory) Image(imageLike swt.ImageLike) *LabelFactory
- func (this *LabelFactory) LayoutData(a0 any) *LabelFactory
- func (this *LabelFactory) Orientation(a0 int32) *LabelFactory
- func (this *LabelFactory) SupplyLayoutData(a0 func() any) *LabelFactory
- func (this *LabelFactory) Text(text string) *LabelFactory
- func (this *LabelFactory) Tooltip(a0 string) *LabelFactory
- type LabelFactoryLike
- type LayoutConstants
- type LayoutConstantsLike
- type LayoutGenerator
- type LayoutGeneratorLike
- type LinkFactory
- func (this *LinkFactory) AsLinkFactory() *LinkFactory
- func (this *LinkFactory) Background(a0Like swt.ColorLike) *LinkFactory
- func (this *LinkFactory) Create(a0Like swt.CompositeLike) *swt.Link
- func (this *LinkFactory) Data(a0 any) *LinkFactory
- func (this *LinkFactory) DataKeyValue(a0 string, a1 any) *LinkFactory
- func (this *LinkFactory) Enabled(a0 bool) *LinkFactory
- func (this *LinkFactory) Font(a0Like swt.FontLike) *LinkFactory
- func (this *LinkFactory) Foreground(a0Like swt.ColorLike) *LinkFactory
- func (this *LinkFactory) LayoutData(a0 any) *LinkFactory
- func (this *LinkFactory) OnSelect(consumer func(*swt.SelectionEvent)) *LinkFactory
- func (this *LinkFactory) Orientation(a0 int32) *LinkFactory
- func (this *LinkFactory) SupplyLayoutData(a0 func() any) *LinkFactory
- func (this *LinkFactory) Text(text string) *LinkFactory
- func (this *LinkFactory) Tooltip(a0 string) *LinkFactory
- type LinkFactoryLike
- type ListenerFunc
- type PixelConverter
- func (this *PixelConverter) AsPixelConverter() *PixelConverter
- func (this *PixelConverter) ConvertHeightInCharsToPixels(chars int32) int32
- func (this *PixelConverter) ConvertHorizontalDLUsToPixels(dlus int32) int32
- func (this *PixelConverter) ConvertVerticalDLUsToPixels(dlus int32) int32
- func (this *PixelConverter) ConvertWidthInCharsToPixels(chars int32) int32
- type PixelConverterLike
- type Property
- type PropertyFunc
- type RowDataFactory
- func (this *RowDataFactory) ApplyTo(controlLike swt.ControlLike)
- func (this *RowDataFactory) AsRowDataFactory() *RowDataFactory
- func (this *RowDataFactory) Copy() *RowDataFactory
- func (this *RowDataFactory) Create() *swt.RowData
- func (this *RowDataFactory) Exclude(shouldExclude bool) *RowDataFactory
- func (this *RowDataFactory) Hint(xHint int32, yHint int32) *RowDataFactory
- func (this *RowDataFactory) HintHint(hintLike swt.PointLike) *RowDataFactory
- type RowDataFactoryLike
- type RowLayoutFactory
- func (this *RowLayoutFactory) ApplyTo(cLike swt.CompositeLike)
- func (this *RowLayoutFactory) AsRowLayoutFactory() *RowLayoutFactory
- func (this *RowLayoutFactory) Center(center bool) *RowLayoutFactory
- func (this *RowLayoutFactory) Copy() *RowLayoutFactory
- func (this *RowLayoutFactory) Create() *swt.RowLayout
- func (this *RowLayoutFactory) ExtendedMargins(left int32, right int32, top int32, bottom int32) *RowLayoutFactory
- func (this *RowLayoutFactory) Fill(fill bool) *RowLayoutFactory
- func (this *RowLayoutFactory) Justify(justify bool) *RowLayoutFactory
- func (this *RowLayoutFactory) Margins(marginsLike swt.PointLike) *RowLayoutFactory
- func (this *RowLayoutFactory) MarginsWidthHeight(width int32, height int32) *RowLayoutFactory
- func (this *RowLayoutFactory) Pack(pack bool) *RowLayoutFactory
- func (this *RowLayoutFactory) Spacing(spacing int32) *RowLayoutFactory
- func (this *RowLayoutFactory) Type(type_ int32) *RowLayoutFactory
- func (this *RowLayoutFactory) Wrap(wrap bool) *RowLayoutFactory
- type RowLayoutFactoryLike
- type SashFactory
- func (this *SashFactory) AsSashFactory() *SashFactory
- func (this *SashFactory) Background(a0Like swt.ColorLike) *SashFactory
- func (this *SashFactory) Create(a0Like swt.CompositeLike) *swt.Sash
- func (this *SashFactory) Data(a0 any) *SashFactory
- func (this *SashFactory) DataKeyValue(a0 string, a1 any) *SashFactory
- func (this *SashFactory) Enabled(a0 bool) *SashFactory
- func (this *SashFactory) Font(a0Like swt.FontLike) *SashFactory
- func (this *SashFactory) Foreground(a0Like swt.ColorLike) *SashFactory
- func (this *SashFactory) LayoutData(a0 any) *SashFactory
- func (this *SashFactory) OnSelect(consumer func(*swt.SelectionEvent)) *SashFactory
- func (this *SashFactory) Orientation(a0 int32) *SashFactory
- func (this *SashFactory) SupplyLayoutData(a0 func() any) *SashFactory
- func (this *SashFactory) Tooltip(a0 string) *SashFactory
- type SashFactoryLike
- type SashFormFactory
- func (this *SashFormFactory) AsSashFormFactory() *SashFormFactory
- func (this *SashFormFactory) Background(a0Like swt.ColorLike) *SashFormFactory
- func (this *SashFormFactory) Create(a0Like swt.CompositeLike) *swt.SashForm
- func (this *SashFormFactory) Data(a0 any) *SashFormFactory
- func (this *SashFormFactory) DataKeyValue(a0 string, a1 any) *SashFormFactory
- func (this *SashFormFactory) Enabled(a0 bool) *SashFormFactory
- func (this *SashFormFactory) Font(a0Like swt.FontLike) *SashFormFactory
- func (this *SashFormFactory) Foreground(a0Like swt.ColorLike) *SashFormFactory
- func (this *SashFormFactory) LayoutData(a0 any) *SashFormFactory
- func (this *SashFormFactory) Orientation(a0 int32) *SashFormFactory
- func (this *SashFormFactory) SashWidth(width int32) *SashFormFactory
- func (this *SashFormFactory) SupplyLayoutData(a0 func() any) *SashFormFactory
- func (this *SashFormFactory) Tooltip(a0 string) *SashFormFactory
- type SashFormFactoryLike
- type ShellFactory
- func (this *ShellFactory) AsShellFactory() *ShellFactory
- func (this *ShellFactory) Background(a0Like swt.ColorLike) *ShellFactory
- func (this *ShellFactory) Create(a0Like swt.CompositeLike) *swt.Shell
- func (this *ShellFactory) CreateDisplay(displayLike swt.DisplayLike) *swt.Shell
- func (this *ShellFactory) Data(a0 any) *ShellFactory
- func (this *ShellFactory) DataKeyValue(a0 string, a1 any) *ShellFactory
- func (this *ShellFactory) Enabled(a0 bool) *ShellFactory
- func (this *ShellFactory) Font(a0Like swt.FontLike) *ShellFactory
- func (this *ShellFactory) Foreground(a0Like swt.ColorLike) *ShellFactory
- func (this *ShellFactory) FullScreen(fullScreen bool) *ShellFactory
- func (this *ShellFactory) Layout(a0Like swt.LayoutLike) *ShellFactory
- func (this *ShellFactory) LayoutData(a0 any) *ShellFactory
- func (this *ShellFactory) Maximized(maximized bool) *ShellFactory
- func (this *ShellFactory) MenuBar(menuFunction func(*swt.Decorations) *swt.Menu) *ShellFactory
- func (this *ShellFactory) Minimized(minimized bool) *ShellFactory
- func (this *ShellFactory) OnActivate(consumer func(*swt.ShellEvent)) *ShellFactory
- func (this *ShellFactory) OnClose(consumer func(*swt.ShellEvent)) *ShellFactory
- func (this *ShellFactory) OnDeactivate(consumer func(*swt.ShellEvent)) *ShellFactory
- func (this *ShellFactory) OnDeiconify(consumer func(*swt.ShellEvent)) *ShellFactory
- func (this *ShellFactory) OnIconify(consumer func(*swt.ShellEvent)) *ShellFactory
- func (this *ShellFactory) Orientation(a0 int32) *ShellFactory
- func (this *ShellFactory) SupplyLayoutData(a0 func() any) *ShellFactory
- func (this *ShellFactory) Text(text string) *ShellFactory
- func (this *ShellFactory) Tooltip(a0 string) *ShellFactory
- type ShellFactoryLike
- type SpinnerFactory
- func (this *SpinnerFactory) AsSpinnerFactory() *SpinnerFactory
- func (this *SpinnerFactory) Background(a0Like swt.ColorLike) *SpinnerFactory
- func (this *SpinnerFactory) Bounds(minimum int32, maximum int32) *SpinnerFactory
- func (this *SpinnerFactory) Create(a0Like swt.CompositeLike) *swt.Spinner
- func (this *SpinnerFactory) Data(a0 any) *SpinnerFactory
- func (this *SpinnerFactory) DataKeyValue(a0 string, a1 any) *SpinnerFactory
- func (this *SpinnerFactory) Enabled(a0 bool) *SpinnerFactory
- func (this *SpinnerFactory) Font(a0Like swt.FontLike) *SpinnerFactory
- func (this *SpinnerFactory) Foreground(a0Like swt.ColorLike) *SpinnerFactory
- func (this *SpinnerFactory) Increment(increment int32, pageIncrement int32) *SpinnerFactory
- func (this *SpinnerFactory) LayoutData(a0 any) *SpinnerFactory
- func (this *SpinnerFactory) LimitTo(limit int32) *SpinnerFactory
- func (this *SpinnerFactory) OnModify(listener swt.ModifyListener) *SpinnerFactory
- func (this *SpinnerFactory) OnSelect(consumer func(*swt.SelectionEvent)) *SpinnerFactory
- func (this *SpinnerFactory) Orientation(a0 int32) *SpinnerFactory
- func (this *SpinnerFactory) SupplyLayoutData(a0 func() any) *SpinnerFactory
- func (this *SpinnerFactory) Tooltip(a0 string) *SpinnerFactory
- type SpinnerFactoryLike
- type TableColumnFactory
- func (this *TableColumnFactory) Align(alignment int32) *TableColumnFactory
- func (this *TableColumnFactory) AsTableColumnFactory() *TableColumnFactory
- func (this *TableColumnFactory) Create(a0Like swt.TableLike) *swt.TableColumn
- func (this *TableColumnFactory) Data(a0 any) *TableColumnFactory
- func (this *TableColumnFactory) DataKeyValue(a0 string, a1 any) *TableColumnFactory
- func (this *TableColumnFactory) Image(a0Like swt.ImageLike) *TableColumnFactory
- func (this *TableColumnFactory) Moveable(moveable bool) *TableColumnFactory
- func (this *TableColumnFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TableColumnFactory
- func (this *TableColumnFactory) Resizable(resizable bool) *TableColumnFactory
- func (this *TableColumnFactory) Text(a0 string) *TableColumnFactory
- func (this *TableColumnFactory) Tooltip(tooltip string) *TableColumnFactory
- func (this *TableColumnFactory) Width(width int32) *TableColumnFactory
- type TableColumnFactoryLike
- type TableColumnLayout
- type TableColumnLayoutLike
- type TableFactory
- func (this *TableFactory) AsTableFactory() *TableFactory
- func (this *TableFactory) Background(a0Like swt.ColorLike) *TableFactory
- func (this *TableFactory) Create(a0Like swt.CompositeLike) *swt.Table
- func (this *TableFactory) Data(a0 any) *TableFactory
- func (this *TableFactory) DataKeyValue(a0 string, a1 any) *TableFactory
- func (this *TableFactory) Enabled(a0 bool) *TableFactory
- func (this *TableFactory) Font(a0Like swt.FontLike) *TableFactory
- func (this *TableFactory) Foreground(a0Like swt.ColorLike) *TableFactory
- func (this *TableFactory) HeaderVisible(visible bool) *TableFactory
- func (this *TableFactory) ItemCount(count int32) *TableFactory
- func (this *TableFactory) LayoutData(a0 any) *TableFactory
- func (this *TableFactory) LinesVisible(visible bool) *TableFactory
- func (this *TableFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TableFactory
- func (this *TableFactory) Orientation(a0 int32) *TableFactory
- func (this *TableFactory) SupplyLayoutData(a0 func() any) *TableFactory
- func (this *TableFactory) Tooltip(a0 string) *TableFactory
- type TableFactoryLike
- type TextFactory
- func (this *TextFactory) AsTextFactory() *TextFactory
- func (this *TextFactory) Background(a0Like swt.ColorLike) *TextFactory
- func (this *TextFactory) Create(a0Like swt.CompositeLike) *swt.Text
- func (this *TextFactory) Data(a0 any) *TextFactory
- func (this *TextFactory) DataKeyValue(a0 string, a1 any) *TextFactory
- func (this *TextFactory) Enabled(a0 bool) *TextFactory
- func (this *TextFactory) Font(a0Like swt.FontLike) *TextFactory
- func (this *TextFactory) Foreground(a0Like swt.ColorLike) *TextFactory
- func (this *TextFactory) LayoutData(a0 any) *TextFactory
- func (this *TextFactory) LimitTo(limit int32) *TextFactory
- func (this *TextFactory) Message(message string) *TextFactory
- func (this *TextFactory) OnModify(listener swt.ModifyListener) *TextFactory
- func (this *TextFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TextFactory
- func (this *TextFactory) OnVerify(listener swt.VerifyListener) *TextFactory
- func (this *TextFactory) Orientation(a0 int32) *TextFactory
- func (this *TextFactory) SupplyLayoutData(a0 func() any) *TextFactory
- func (this *TextFactory) Text(text string) *TextFactory
- func (this *TextFactory) Tooltip(a0 string) *TextFactory
- type TextFactoryLike
- type TreeColumnFactory
- func (this *TreeColumnFactory) Align(alignment int32) *TreeColumnFactory
- func (this *TreeColumnFactory) AsTreeColumnFactory() *TreeColumnFactory
- func (this *TreeColumnFactory) Create(a0Like swt.TreeLike) *swt.TreeColumn
- func (this *TreeColumnFactory) Data(a0 any) *TreeColumnFactory
- func (this *TreeColumnFactory) DataKeyValue(a0 string, a1 any) *TreeColumnFactory
- func (this *TreeColumnFactory) Image(a0Like swt.ImageLike) *TreeColumnFactory
- func (this *TreeColumnFactory) Moveable(moveable bool) *TreeColumnFactory
- func (this *TreeColumnFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TreeColumnFactory
- func (this *TreeColumnFactory) Resizable(resizable bool) *TreeColumnFactory
- func (this *TreeColumnFactory) Text(a0 string) *TreeColumnFactory
- func (this *TreeColumnFactory) Tooltip(tooltip string) *TreeColumnFactory
- func (this *TreeColumnFactory) Width(width int32) *TreeColumnFactory
- type TreeColumnFactoryLike
- type TreeColumnLayout
- type TreeColumnLayoutLike
- type TreeColumnLayout_TreeLayoutListener
- func (this *TreeColumnLayout_TreeLayoutListener) AsTreeColumnLayout_TreeLayoutListener() *TreeColumnLayout_TreeLayoutListener
- func (this *TreeColumnLayout_TreeLayoutListener) TreeCollapsed(e *swt.TreeEvent)
- func (this *TreeColumnLayout_TreeLayoutListener) TreeExpanded(e *swt.TreeEvent)
- func (this *TreeColumnLayout_TreeLayoutListener) Update(treeLike swt.TreeLike)
- type TreeColumnLayout_TreeLayoutListenerLike
- type TreeFactory
- func (this *TreeFactory) AsTreeFactory() *TreeFactory
- func (this *TreeFactory) Background(a0Like swt.ColorLike) *TreeFactory
- func (this *TreeFactory) Create(a0Like swt.CompositeLike) *swt.Tree
- func (this *TreeFactory) Data(a0 any) *TreeFactory
- func (this *TreeFactory) DataKeyValue(a0 string, a1 any) *TreeFactory
- func (this *TreeFactory) Enabled(a0 bool) *TreeFactory
- func (this *TreeFactory) Font(a0Like swt.FontLike) *TreeFactory
- func (this *TreeFactory) Foreground(a0Like swt.ColorLike) *TreeFactory
- func (this *TreeFactory) HeaderVisible(visible bool) *TreeFactory
- func (this *TreeFactory) ItemCount(count int32) *TreeFactory
- func (this *TreeFactory) LayoutData(a0 any) *TreeFactory
- func (this *TreeFactory) LinesVisible(visible bool) *TreeFactory
- func (this *TreeFactory) OnCollapse(consumer func(*swt.TreeEvent)) *TreeFactory
- func (this *TreeFactory) OnExpand(consumer func(*swt.TreeEvent)) *TreeFactory
- func (this *TreeFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TreeFactory
- func (this *TreeFactory) Orientation(a0 int32) *TreeFactory
- func (this *TreeFactory) SupplyLayoutData(a0 func() any) *TreeFactory
- func (this *TreeFactory) Tooltip(a0 string) *TreeFactory
- type TreeFactoryLike
- type Util
- type UtilLike
- type WidgetFactory
- type WidgetFactoryLike
- type WidgetSupplier
- type WidgetSupplierFunc
Constants ¶
const AbstractColumnLayoutLAYOUT_DATA string = "org.eclipse.jface.LAYOUT_DATA"
const ColumnWeightDataMINIMUM_WIDTH int32 = 20
const IDialogConstantsABORT_ID int32 = 7
const IDialogConstantsBACK_ID int32 = 14
const IDialogConstantsBUTTON_BAR_HEIGHT int32 = 25
const IDialogConstantsBUTTON_HEIGHT int32 = 14
const IDialogConstantsBUTTON_MARGIN int32 = 4
const IDialogConstantsBUTTON_WIDTH int32 = 61
const IDialogConstantsCANCEL_ID int32 = 1
const IDialogConstantsCLIENT_ID int32 = 1024
const IDialogConstantsCLOSE_ID int32 = 12
const IDialogConstantsDESELECT_ALL_ID int32 = 19
const IDialogConstantsDETAILS_ID int32 = 13
const IDialogConstantsENTRY_FIELD_WIDTH int32 = 200
const IDialogConstantsFINISH_ID int32 = 16
const IDialogConstantsHELP_ID int32 = 17
const IDialogConstantsHORIZONTAL_MARGIN int32 = 7
const IDialogConstantsHORIZONTAL_SPACING int32 = 4
const IDialogConstantsIGNORE_ID int32 = 9
const IDialogConstantsINDENT int32 = 21
const IDialogConstantsINTERNAL_ID int32 = 256
const IDialogConstantsLEFT_MARGIN int32 = 20
const IDialogConstantsMINIMUM_MESSAGE_AREA_WIDTH int32 = 300
const IDialogConstantsNEXT_ID int32 = 15
const IDialogConstantsNO_ID int32 = 3
const IDialogConstantsNO_TO_ALL_ID int32 = 21
const IDialogConstantsOK_ID int32 = 0
const IDialogConstantsOPEN_ID int32 = 11
const IDialogConstantsPROCEED_ID int32 = 10
const IDialogConstantsRETRY_ID int32 = 8
const IDialogConstantsSELECT_ALL_ID int32 = 18
const IDialogConstantsSELECT_TYPES_ID int32 = 20
const IDialogConstantsSKIP_ID int32 = 5
const IDialogConstantsSMALL_INDENT int32 = 7
const IDialogConstantsSTOP_ID int32 = 6
const IDialogConstantsVERTICAL_MARGIN int32 = 7
const IDialogConstantsVERTICAL_SPACING int32 = 4
const IDialogConstantsYES_ID int32 = 2
const IDialogConstantsYES_TO_ALL_ID int32 = 4
const LayoutGeneratorWrapSize int32 = 350
const UtilWS_CARBON string = "carbon"
const UtilWS_COCOA string = "cocoa"
const UtilWS_GTK string = "gtk"
const UtilWS_MOTIF string = "motif"
const UtilWS_PHOTON string = "photon"
const UtilWS_UNKNOWN string = "unknown"
const UtilWS_WIN32 string = "win32"
const UtilWS_WPF string = "wpf"
const UtilZERO_LENGTH_STRING string = ""
Variables ¶
var AbstractColumnLayoutCOLUMN_TRIM int32 = 0
var AbstractColumnLayoutIS_GTK bool = func() (r bool) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init AbstractColumnLayoutIS_GTK:", e) } }() r = UtilIsGtk() return }()
var LayoutConstantsDialogMargins *swt.Point = nil
var LayoutConstantsDialogSpacing *swt.Point = nil
var LayoutConstantsMinButtonSize *swt.Point = nil
var LayoutGeneratorDefaultSize *swt.Point = swt.NewPoint(150, 150)
Functions ¶
func DialogConvertHeightInCharsToPixels ¶
func DialogConvertHeightInCharsToPixels(fm *swt.FontMetrics, chars int32) int32
func DialogConvertHorizontalDLUsToPixels ¶
func DialogConvertHorizontalDLUsToPixels(fm *swt.FontMetrics, dlus int32) int32
func DialogConvertVerticalDLUsToPixels ¶
func DialogConvertVerticalDLUsToPixels(fm *swt.FontMetrics, dlus int32) int32
func DialogConvertWidthInCharsToPixels ¶
func DialogConvertWidthInCharsToPixels(fm *swt.FontMetrics, chars int32) int32
func FillLayoutFactoryCopyLayout ¶
func FillLayoutFactoryCopyLayout(lLike swt.FillLayoutLike) *swt.FillLayout
func GeometryAdd ¶
func GeometryAdd(rect1Like swt.RectangleLike, rect2Like swt.RectangleLike) *swt.Rectangle
func GeometryAddPoint1Point2 ¶
func GeometryCenterPoint ¶
func GeometryCenterPoint(rectLike swt.RectangleLike) *swt.Point
func GeometryCopyToCopy ¶
func GeometryCopyToCopy(toCopyLike swt.RectangleLike) *swt.Rectangle
func GeometryCreateRectangle ¶
func GeometryDistanceSquared ¶
func GeometryExpand ¶
func GeometryExpand(rectLike swt.RectangleLike, differenceRectLike swt.RectangleLike)
func GeometryFlipXY ¶
func GeometryFlipXYToFlip ¶
func GeometryFlipXYToFlip(toFlipLike swt.RectangleLike)
func GeometryGetClosestSide ¶
func GeometryGetClosestSide(boundaryLike swt.RectangleLike, toTestLike swt.PointLike) int32
func GeometryGetCoordinate ¶
func GeometryGetCoordinateToMeasureWidth ¶
func GeometryGetCoordinateToMeasureWidth(toMeasureLike swt.RectangleLike, width bool) int32
func GeometryGetDimension ¶
func GeometryGetDimension(toMeasureLike swt.RectangleLike, width bool) int32
func GeometryGetDistanceFrom ¶
func GeometryGetDistanceFrom(boundaryLike swt.RectangleLike, toTestLike swt.PointLike) int32
func GeometryGetExtrudedEdge ¶
func GeometryGetLocation ¶
func GeometryGetLocation(toQueryLike swt.RectangleLike) *swt.Point
func GeometryGetOppositeSide ¶
func GeometryGetRelativePosition ¶
func GeometryGetRelativePosition(boundaryLike swt.RectangleLike, toTestLike swt.PointLike) int32
func GeometryGetSize ¶
func GeometryGetSize(rectangleLike swt.RectangleLike) *swt.Point
func GeometryIsHorizontal ¶
func GeometryMagnitude ¶
func GeometryMoveInside ¶
func GeometryMoveInside(innerLike swt.RectangleLike, outerLike swt.RectangleLike)
func GeometryMoveRectangle ¶
func GeometryMoveRectangle(rectLike swt.RectangleLike, deltaLike swt.PointLike)
func GeometryNormalize ¶
func GeometryNormalize(rectLike swt.RectangleLike)
func GeometrySetCoordinate ¶
func GeometrySetCoordinate(toSetLike swt.RectangleLike, width bool, newCoordinate int32)
func GeometrySetDimension ¶
func GeometrySetDimension(toSetLike swt.RectangleLike, width bool, newCoordinate int32)
func GeometrySetLocation ¶
func GeometrySetLocation(rectangleLike swt.RectangleLike, newLocationLike swt.PointLike)
func GeometrySetResultToCopy ¶
func GeometrySetResultToCopy(resultLike swt.RectangleLike, toCopyLike swt.RectangleLike)
func GeometrySetSize ¶
func GeometrySetSize(rectangleLike swt.RectangleLike, newSizeLike swt.PointLike)
func GeometrySubtract ¶
func GeometrySubtract(rect1Like swt.RectangleLike, rect2Like swt.RectangleLike) *swt.Rectangle
func GeometryToControl ¶
func GeometryToControl(coordinateSystemLike swt.ControlLike, toConvertLike swt.RectangleLike) *swt.Rectangle
func GeometryToDisplay ¶
func GeometryToDisplay(coordinateSystemLike swt.ControlLike, toConvertLike swt.RectangleLike) *swt.Rectangle
func GridDataFactoryCopyData ¶
func GridDataFactoryCopyData(dataLike swt.GridDataLike) *swt.GridData
func GridDataFactoryGenerate ¶
func GridDataFactoryGenerate(theControlLike swt.ControlLike, hSpan int32, vSpan int32)
func GridDataFactoryGenerateTheControlSpan ¶
func GridDataFactoryGenerateTheControlSpan(theControlLike swt.ControlLike, spanLike swt.PointLike)
func GridLayoutFactoryCopyLayout ¶
func GridLayoutFactoryCopyLayout(lLike swt.GridLayoutLike) *swt.GridLayout
func JFaceResourcesGetDialogFont ¶
JFace's dialog font is a registry entry that defaults to the system font.
func LayoutConstantsGetIndent ¶
func LayoutConstantsGetIndent() int32
func LayoutConstantsInitializeConstants ¶
func LayoutConstantsInitializeConstants()
func LayoutGeneratorApplyLayoutDataTo ¶
func LayoutGeneratorApplyLayoutDataTo(controlLike swt.ControlLike)
func LayoutGeneratorGenerateLayout ¶
func LayoutGeneratorGenerateLayout(toGenerateLike swt.CompositeLike)
func LayoutGeneratorHasStyle ¶
func LayoutGeneratorHasStyle(cLike swt.ControlLike, style int32) bool
func RowDataFactoryCopyData ¶
func RowDataFactoryCopyData(dataLike swt.RowDataLike) *swt.RowData
func RowLayoutFactoryCopyLayout ¶
func RowLayoutFactoryCopyLayout(layoutLike swt.RowLayoutLike) *swt.RowLayout
func UtilAssertInstance ¶
func UtilCompare ¶
func UtilCompareOverload1 ¶
func UtilCompareOverload2 ¶
func UtilCompareOverload3 ¶
func UtilEquals ¶
func UtilGetClosestMonitor ¶
func UtilHashCode ¶
func UtilHashCodeObject ¶
func UtilHashCodeObjects ¶
func UtilIsCarbon ¶
func UtilIsCarbon() bool
func UtilIsCocoa ¶
func UtilIsCocoa() bool
func UtilIsLinux ¶
func UtilIsLinux() bool
func UtilIsMotif ¶
func UtilIsMotif() bool
func UtilIsPhoton ¶
func UtilIsPhoton() bool
func UtilIsValid ¶
func UtilIsValid(widgetLike swt.WidgetLike) bool
func UtilIsWin32 ¶
func UtilIsWin32() bool
func UtilIsWindows ¶
func UtilIsWindows() bool
func UtilToString ¶
func UtilTranslateString ¶
func UtilTranslateString(resourceBundle *jrt.ResourceBundle, key string, defaultString string) string
Types ¶
type AbstractColumnLayout ¶
func NewAbstractColumnLayout ¶
func NewAbstractColumnLayout() *AbstractColumnLayout
func NewAbstractColumnLayoutAdjustForScrollBar ¶
func NewAbstractColumnLayoutAdjustForScrollBar(adjustForScrollBar bool) *AbstractColumnLayout
func (*AbstractColumnLayout) AsAbstractColumnLayout ¶
func (this *AbstractColumnLayout) AsAbstractColumnLayout() *AbstractColumnLayout
func (*AbstractColumnLayout) ComputeSize_ ¶
func (*AbstractColumnLayout) ComputeTableTreeSize ¶
func (this *AbstractColumnLayout) ComputeTableTreeSize(scrollableLike swt.ScrollableLike, wHint int32, hHint int32) *swt.Point
func (*AbstractColumnLayout) ComputeTrim ¶
func (this *AbstractColumnLayout) ComputeTrim(scrollableLike swt.ScrollableLike, currentWidth int32) int32
func (*AbstractColumnLayout) GetColumnCount ¶
func (this *AbstractColumnLayout) GetColumnCount(tableTreeLike swt.ScrollableLike) int32
func (*AbstractColumnLayout) GetColumnTrim ¶
func (this *AbstractColumnLayout) GetColumnTrim() int32
func (*AbstractColumnLayout) GetControl ¶
func (this *AbstractColumnLayout) GetControl(compositeLike swt.CompositeLike) *swt.Scrollable
func (*AbstractColumnLayout) GetLayoutData ¶
func (this *AbstractColumnLayout) GetLayoutData(tableTreeLike swt.ScrollableLike, columnIndex int32) *ColumnLayoutData
func (*AbstractColumnLayout) Impl ¶
func (this *AbstractColumnLayout) Impl() AbstractColumnLayoutImpl
func (*AbstractColumnLayout) LayoutFn ¶
func (this *AbstractColumnLayout) LayoutFn(compositeLike swt.CompositeLike, flushCache bool)
func (*AbstractColumnLayout) LayoutFn_ ¶
func (this *AbstractColumnLayout) LayoutFn_(composite *swt.Composite, flushCache bool)
func (*AbstractColumnLayout) LayoutTableTree ¶
func (this *AbstractColumnLayout) LayoutTableTree(scrollableLike swt.ScrollableLike, width int32, areaLike swt.RectangleLike, increase bool)
func (*AbstractColumnLayout) SetColumnData ¶
func (this *AbstractColumnLayout) SetColumnData(columnLike swt.WidgetLike, dataLike ColumnLayoutDataLike)
func (*AbstractColumnLayout) SetColumnWidths ¶
func (this *AbstractColumnLayout) SetColumnWidths(tableTreeLike swt.ScrollableLike, widths []int32)
func (*AbstractColumnLayout) SetImpl_ ¶
func (this *AbstractColumnLayout) SetImpl_(impl AbstractColumnLayoutImpl)
func (*AbstractColumnLayout) UpdateColumnData ¶
func (this *AbstractColumnLayout) UpdateColumnData(columnLike swt.WidgetLike)
type AbstractColumnLayoutImpl ¶
type AbstractColumnLayoutImpl interface {
// contains filtered or unexported methods
}
type AbstractColumnLayoutLike ¶
type AbstractColumnLayoutLike interface {
AsAbstractColumnLayout() *AbstractColumnLayout
}
type AbstractCompositeFactory ¶
type AbstractCompositeFactory struct {
AbstractControlFactory
}
func (*AbstractCompositeFactory) AsAbstractCompositeFactory ¶
func (this *AbstractCompositeFactory) AsAbstractCompositeFactory() *AbstractCompositeFactory
func (*AbstractCompositeFactory) Layout ¶
func (this *AbstractCompositeFactory) Layout(layoutLike swt.LayoutLike) *AbstractCompositeFactory
type AbstractCompositeFactoryLike ¶
type AbstractCompositeFactoryLike interface {
AsAbstractCompositeFactory() *AbstractCompositeFactory
}
type AbstractControlFactory ¶
type AbstractControlFactory struct {
AbstractWidgetFactory
}
func (*AbstractControlFactory) AsAbstractControlFactory ¶
func (this *AbstractControlFactory) AsAbstractControlFactory() *AbstractControlFactory
func (*AbstractControlFactory) Background ¶
func (this *AbstractControlFactory) Background(colorLike swt.ColorLike) *AbstractControlFactory
func (*AbstractControlFactory) Enabled ¶
func (this *AbstractControlFactory) Enabled(enabled bool) *AbstractControlFactory
func (*AbstractControlFactory) Font ¶
func (this *AbstractControlFactory) Font(fontLike swt.FontLike) *AbstractControlFactory
func (*AbstractControlFactory) Foreground ¶
func (this *AbstractControlFactory) Foreground(colorLike swt.ColorLike) *AbstractControlFactory
func (*AbstractControlFactory) LayoutData ¶
func (this *AbstractControlFactory) LayoutData(layoutData any) *AbstractControlFactory
func (*AbstractControlFactory) Orientation ¶
func (this *AbstractControlFactory) Orientation(orientation int32) *AbstractControlFactory
func (*AbstractControlFactory) SupplyLayoutData ¶
func (this *AbstractControlFactory) SupplyLayoutData(layoutDataSupplier func() any) *AbstractControlFactory
func (*AbstractControlFactory) Tooltip ¶
func (this *AbstractControlFactory) Tooltip(tooltipText string) *AbstractControlFactory
type AbstractControlFactoryLike ¶
type AbstractControlFactoryLike interface {
AsAbstractControlFactory() *AbstractControlFactory
}
type AbstractItemFactory ¶
type AbstractItemFactory struct {
AbstractWidgetFactory
}
func (*AbstractItemFactory) AsAbstractItemFactory ¶
func (this *AbstractItemFactory) AsAbstractItemFactory() *AbstractItemFactory
func (*AbstractItemFactory) Image ¶
func (this *AbstractItemFactory) Image(imageLike swt.ImageLike) *AbstractItemFactory
func (*AbstractItemFactory) Text ¶
func (this *AbstractItemFactory) Text(text string) *AbstractItemFactory
type AbstractItemFactoryLike ¶
type AbstractItemFactoryLike interface {
AsAbstractItemFactory() *AbstractItemFactory
}
type AbstractWidgetFactory ¶
type AbstractWidgetFactory struct {
// contains filtered or unexported fields
}
func (*AbstractWidgetFactory) AddProperty ¶
func (this *AbstractWidgetFactory) AddProperty(property Property)
func (*AbstractWidgetFactory) ApplyProperties ¶
func (this *AbstractWidgetFactory) ApplyProperties(widgetLike swt.WidgetLike)
func (*AbstractWidgetFactory) AsAbstractWidgetFactory ¶
func (this *AbstractWidgetFactory) AsAbstractWidgetFactory() *AbstractWidgetFactory
func (*AbstractWidgetFactory) Cast ¶
func (this *AbstractWidgetFactory) Cast(factoryLike AbstractWidgetFactoryLike) *AbstractWidgetFactory
func (*AbstractWidgetFactory) Create ¶
func (this *AbstractWidgetFactory) Create(parentLike swt.WidgetLike) *swt.Widget
func (*AbstractWidgetFactory) Data ¶
func (this *AbstractWidgetFactory) Data(data any) *AbstractWidgetFactory
func (*AbstractWidgetFactory) DataKeyValue ¶
func (this *AbstractWidgetFactory) DataKeyValue(key string, value any) *AbstractWidgetFactory
func (*AbstractWidgetFactory) Impl ¶
func (this *AbstractWidgetFactory) Impl() AbstractWidgetFactoryImpl
func (*AbstractWidgetFactory) SetImpl_ ¶
func (this *AbstractWidgetFactory) SetImpl_(impl AbstractWidgetFactoryImpl)
type AbstractWidgetFactoryImpl ¶
type AbstractWidgetFactoryImpl interface {
}
type AbstractWidgetFactoryLike ¶
type AbstractWidgetFactoryLike interface {
AsAbstractWidgetFactory() *AbstractWidgetFactory
}
type ButtonFactory ¶
type ButtonFactory struct {
AbstractControlFactory
}
func ButtonFactoryNewButton ¶
func ButtonFactoryNewButton(style int32) *ButtonFactory
func WidgetFactoryButton ¶
func WidgetFactoryButton(style int32) *ButtonFactory
func (*ButtonFactory) AsButtonFactory ¶
func (this *ButtonFactory) AsButtonFactory() *ButtonFactory
func (*ButtonFactory) Background ¶
func (this *ButtonFactory) Background(a0Like swt.ColorLike) *ButtonFactory
func (*ButtonFactory) Create ¶
func (this *ButtonFactory) Create(a0Like swt.CompositeLike) *swt.Button
func (*ButtonFactory) Data ¶
func (this *ButtonFactory) Data(a0 any) *ButtonFactory
func (*ButtonFactory) DataKeyValue ¶
func (this *ButtonFactory) DataKeyValue(a0 string, a1 any) *ButtonFactory
func (*ButtonFactory) Enabled ¶
func (this *ButtonFactory) Enabled(a0 bool) *ButtonFactory
func (*ButtonFactory) Font ¶
func (this *ButtonFactory) Font(a0Like swt.FontLike) *ButtonFactory
func (*ButtonFactory) Foreground ¶
func (this *ButtonFactory) Foreground(a0Like swt.ColorLike) *ButtonFactory
func (*ButtonFactory) Image ¶
func (this *ButtonFactory) Image(imageLike swt.ImageLike) *ButtonFactory
func (*ButtonFactory) LayoutData ¶
func (this *ButtonFactory) LayoutData(a0 any) *ButtonFactory
func (*ButtonFactory) OnSelect ¶
func (this *ButtonFactory) OnSelect(consumer func(*swt.SelectionEvent)) *ButtonFactory
func (*ButtonFactory) Orientation ¶
func (this *ButtonFactory) Orientation(a0 int32) *ButtonFactory
func (*ButtonFactory) SupplyLayoutData ¶
func (this *ButtonFactory) SupplyLayoutData(a0 func() any) *ButtonFactory
func (*ButtonFactory) Text ¶
func (this *ButtonFactory) Text(text string) *ButtonFactory
func (*ButtonFactory) Tooltip ¶
func (this *ButtonFactory) Tooltip(a0 string) *ButtonFactory
type ButtonFactoryLike ¶
type ButtonFactoryLike interface {
AsButtonFactory() *ButtonFactory
}
type ColumnLayoutData ¶
type ColumnLayoutData struct {
Resizable bool
// contains filtered or unexported fields
}
func (*ColumnLayoutData) AsColumnLayoutData ¶
func (this *ColumnLayoutData) AsColumnLayoutData() *ColumnLayoutData
func (*ColumnLayoutData) Impl ¶
func (this *ColumnLayoutData) Impl() ColumnLayoutDataImpl
func (*ColumnLayoutData) SetImpl_ ¶
func (this *ColumnLayoutData) SetImpl_(impl ColumnLayoutDataImpl)
type ColumnLayoutDataImpl ¶
type ColumnLayoutDataImpl interface {
}
type ColumnLayoutDataLike ¶
type ColumnLayoutDataLike interface {
AsColumnLayoutData() *ColumnLayoutData
}
type ColumnPixelData ¶
type ColumnPixelData struct {
ColumnLayoutData
Width int32
AddTrim bool
}
func NewColumnPixelData ¶
func NewColumnPixelData(widthInPixels int32) *ColumnPixelData
func NewColumnPixelDataWidthInPixelsResizable ¶
func NewColumnPixelDataWidthInPixelsResizable(widthInPixels int32, resizable bool) *ColumnPixelData
func NewColumnPixelDataWidthInPixelsResizableAddTrim ¶
func NewColumnPixelDataWidthInPixelsResizableAddTrim(widthInPixels int32, resizable bool, addTrim bool) *ColumnPixelData
func (*ColumnPixelData) AsColumnPixelData ¶
func (this *ColumnPixelData) AsColumnPixelData() *ColumnPixelData
type ColumnPixelDataLike ¶
type ColumnPixelDataLike interface {
AsColumnPixelData() *ColumnPixelData
}
type ColumnWeightData ¶
type ColumnWeightData struct {
ColumnLayoutData
MinimumWidth int32
Weight int32
}
func NewColumnWeightData ¶
func NewColumnWeightData(weight int32) *ColumnWeightData
func NewColumnWeightDataWeightMinimumWidth ¶
func NewColumnWeightDataWeightMinimumWidth(weight int32, minimumWidth int32) *ColumnWeightData
func NewColumnWeightDataWeightMinimumWidthResizable ¶
func NewColumnWeightDataWeightMinimumWidthResizable(weight int32, minimumWidth int32, resizable bool) *ColumnWeightData
func NewColumnWeightDataWeightResizable ¶
func NewColumnWeightDataWeightResizable(weight int32, resizable bool) *ColumnWeightData
func (*ColumnWeightData) AsColumnWeightData ¶
func (this *ColumnWeightData) AsColumnWeightData() *ColumnWeightData
type ColumnWeightDataLike ¶
type ColumnWeightDataLike interface {
AsColumnWeightData() *ColumnWeightData
}
type CompositeFactory ¶
type CompositeFactory struct {
AbstractCompositeFactory
}
func CompositeFactoryNewComposite ¶
func CompositeFactoryNewComposite(style int32) *CompositeFactory
func WidgetFactoryComposite ¶
func WidgetFactoryComposite(style int32) *CompositeFactory
func (*CompositeFactory) AsCompositeFactory ¶
func (this *CompositeFactory) AsCompositeFactory() *CompositeFactory
func (*CompositeFactory) Background ¶
func (this *CompositeFactory) Background(a0Like swt.ColorLike) *CompositeFactory
func (*CompositeFactory) Create ¶
func (this *CompositeFactory) Create(a0Like swt.CompositeLike) *swt.Composite
func (*CompositeFactory) Data ¶
func (this *CompositeFactory) Data(a0 any) *CompositeFactory
func (*CompositeFactory) DataKeyValue ¶
func (this *CompositeFactory) DataKeyValue(a0 string, a1 any) *CompositeFactory
func (*CompositeFactory) Enabled ¶
func (this *CompositeFactory) Enabled(a0 bool) *CompositeFactory
func (*CompositeFactory) Font ¶
func (this *CompositeFactory) Font(a0Like swt.FontLike) *CompositeFactory
func (*CompositeFactory) Foreground ¶
func (this *CompositeFactory) Foreground(a0Like swt.ColorLike) *CompositeFactory
func (*CompositeFactory) Layout ¶
func (this *CompositeFactory) Layout(a0Like swt.LayoutLike) *CompositeFactory
func (*CompositeFactory) LayoutData ¶
func (this *CompositeFactory) LayoutData(a0 any) *CompositeFactory
func (*CompositeFactory) Orientation ¶
func (this *CompositeFactory) Orientation(a0 int32) *CompositeFactory
func (*CompositeFactory) SupplyLayout ¶
func (this *CompositeFactory) SupplyLayout(layoutSupplier func() *swt.Layout) *CompositeFactory
func (*CompositeFactory) SupplyLayoutData ¶
func (this *CompositeFactory) SupplyLayoutData(a0 func() any) *CompositeFactory
func (*CompositeFactory) Tooltip ¶
func (this *CompositeFactory) Tooltip(a0 string) *CompositeFactory
type CompositeFactoryLike ¶
type CompositeFactoryLike interface {
AsCompositeFactory() *CompositeFactory
}
type DateTimeFactory ¶
type DateTimeFactory struct {
AbstractControlFactory
}
func DateTimeFactoryNewDateTime ¶
func DateTimeFactoryNewDateTime(style int32) *DateTimeFactory
func WidgetFactoryDateTime ¶
func WidgetFactoryDateTime(style int32) *DateTimeFactory
func (*DateTimeFactory) AsDateTimeFactory ¶
func (this *DateTimeFactory) AsDateTimeFactory() *DateTimeFactory
func (*DateTimeFactory) Background ¶
func (this *DateTimeFactory) Background(a0Like swt.ColorLike) *DateTimeFactory
func (*DateTimeFactory) Create ¶
func (this *DateTimeFactory) Create(a0Like swt.CompositeLike) *swt.DateTime
func (*DateTimeFactory) Data ¶
func (this *DateTimeFactory) Data(a0 any) *DateTimeFactory
func (*DateTimeFactory) DataKeyValue ¶
func (this *DateTimeFactory) DataKeyValue(a0 string, a1 any) *DateTimeFactory
func (*DateTimeFactory) Enabled ¶
func (this *DateTimeFactory) Enabled(a0 bool) *DateTimeFactory
func (*DateTimeFactory) Font ¶
func (this *DateTimeFactory) Font(a0Like swt.FontLike) *DateTimeFactory
func (*DateTimeFactory) Foreground ¶
func (this *DateTimeFactory) Foreground(a0Like swt.ColorLike) *DateTimeFactory
func (*DateTimeFactory) LayoutData ¶
func (this *DateTimeFactory) LayoutData(a0 any) *DateTimeFactory
func (*DateTimeFactory) OnDefaultSelect ¶
func (this *DateTimeFactory) OnDefaultSelect(consumer func(*swt.SelectionEvent)) *DateTimeFactory
func (*DateTimeFactory) OnSelect ¶
func (this *DateTimeFactory) OnSelect(consumer func(*swt.SelectionEvent)) *DateTimeFactory
func (*DateTimeFactory) Orientation ¶
func (this *DateTimeFactory) Orientation(a0 int32) *DateTimeFactory
func (*DateTimeFactory) SupplyLayoutData ¶
func (this *DateTimeFactory) SupplyLayoutData(a0 func() any) *DateTimeFactory
func (*DateTimeFactory) Tooltip ¶
func (this *DateTimeFactory) Tooltip(a0 string) *DateTimeFactory
type DateTimeFactoryLike ¶
type DateTimeFactoryLike interface {
AsDateTimeFactory() *DateTimeFactory
}
type FillLayoutFactory ¶
type FillLayoutFactory struct {
// contains filtered or unexported fields
}
func FillLayoutFactoryCreateFrom ¶
func FillLayoutFactoryCreateFrom(lLike swt.FillLayoutLike) *FillLayoutFactory
func FillLayoutFactoryFillDefaults ¶
func FillLayoutFactoryFillDefaults() *FillLayoutFactory
func (*FillLayoutFactory) ApplyTo ¶
func (this *FillLayoutFactory) ApplyTo(cLike swt.CompositeLike)
func (*FillLayoutFactory) AsFillLayoutFactory ¶
func (this *FillLayoutFactory) AsFillLayoutFactory() *FillLayoutFactory
func (*FillLayoutFactory) Copy ¶
func (this *FillLayoutFactory) Copy() *FillLayoutFactory
func (*FillLayoutFactory) Create ¶
func (this *FillLayoutFactory) Create() *swt.FillLayout
func (*FillLayoutFactory) ExtendedMargins ¶
func (this *FillLayoutFactory) ExtendedMargins(width int32, height int32) *FillLayoutFactory
func (*FillLayoutFactory) Margins ¶
func (this *FillLayoutFactory) Margins(marginsLike swt.PointLike) *FillLayoutFactory
func (*FillLayoutFactory) MarginsWidthHeight ¶
func (this *FillLayoutFactory) MarginsWidthHeight(width int32, height int32) *FillLayoutFactory
func (*FillLayoutFactory) String ¶
func (this *FillLayoutFactory) String() string
type FillLayoutFactoryLike ¶
type FillLayoutFactoryLike interface {
AsFillLayoutFactory() *FillLayoutFactory
}
type GeometryLike ¶
type GeometryLike interface {
AsGeometry() *Geometry
}
type GridDataFactory ¶
type GridDataFactory struct {
// contains filtered or unexported fields
}
var LayoutGeneratorNonWrappingLabelData *GridDataFactory = func() (r *GridDataFactory) { defer func() { if e := recover(); e != nil { fmt.Fprintln(os.Stderr, "gowt: deferred init LayoutGeneratorNonWrappingLabelData:", e) } }() r = GridDataFactoryFillDefaults().Align(swt.BEGINNING, swt.CENTER).Grab(false, false) return }()
func GridDataFactoryCreate ¶
func GridDataFactoryCreate(style int32) *GridDataFactory
func GridDataFactoryCreateFrom ¶
func GridDataFactoryCreateFrom(dataLike swt.GridDataLike) *GridDataFactory
func GridDataFactoryDefaultsFor ¶
func GridDataFactoryDefaultsFor(theControlLike swt.ControlLike) *GridDataFactory
func GridDataFactoryFillDefaults ¶
func GridDataFactoryFillDefaults() *GridDataFactory
func GridDataFactorySwtDefaults ¶
func GridDataFactorySwtDefaults() *GridDataFactory
func LayoutGeneratorDefaultsFor ¶
func LayoutGeneratorDefaultsFor(controlLike swt.ControlLike) *GridDataFactory
func (*GridDataFactory) Align ¶
func (this *GridDataFactory) Align(hAlign int32, vAlign int32) *GridDataFactory
func (*GridDataFactory) ApplyTo ¶
func (this *GridDataFactory) ApplyTo(controlLike swt.ControlLike)
func (*GridDataFactory) AsGridDataFactory ¶
func (this *GridDataFactory) AsGridDataFactory() *GridDataFactory
func (*GridDataFactory) Copy ¶
func (this *GridDataFactory) Copy() *GridDataFactory
func (*GridDataFactory) Create ¶
func (this *GridDataFactory) Create() *swt.GridData
func (*GridDataFactory) Exclude ¶
func (this *GridDataFactory) Exclude(shouldExclude bool) *GridDataFactory
func (*GridDataFactory) GetAlignmentString ¶
func (this *GridDataFactory) GetAlignmentString(alignment int32) string
func (*GridDataFactory) GetHintString ¶
func (this *GridDataFactory) GetHintString(widthHint int32) string
func (*GridDataFactory) Grab ¶
func (this *GridDataFactory) Grab(horizontal bool, vertical bool) *GridDataFactory
func (*GridDataFactory) Hint ¶
func (this *GridDataFactory) Hint(xHint int32, yHint int32) *GridDataFactory
func (*GridDataFactory) HintHint ¶
func (this *GridDataFactory) HintHint(hintLike swt.PointLike) *GridDataFactory
func (*GridDataFactory) Indent ¶
func (this *GridDataFactory) Indent(hIndent int32, vIndent int32) *GridDataFactory
func (*GridDataFactory) IndentIndent ¶
func (this *GridDataFactory) IndentIndent(indentLike swt.PointLike) *GridDataFactory
func (*GridDataFactory) MinSize ¶
func (this *GridDataFactory) MinSize(minX int32, minY int32) *GridDataFactory
func (*GridDataFactory) MinSizeMin ¶
func (this *GridDataFactory) MinSizeMin(minLike swt.PointLike) *GridDataFactory
func (*GridDataFactory) Span ¶
func (this *GridDataFactory) Span(hSpan int32, vSpan int32) *GridDataFactory
func (*GridDataFactory) SpanSpan ¶
func (this *GridDataFactory) SpanSpan(spanLike swt.PointLike) *GridDataFactory
func (*GridDataFactory) String ¶
func (this *GridDataFactory) String() string
type GridDataFactoryLike ¶
type GridDataFactoryLike interface {
AsGridDataFactory() *GridDataFactory
}
type GridLayoutFactory ¶
type GridLayoutFactory struct {
// contains filtered or unexported fields
}
func GridLayoutFactoryCreateFrom ¶
func GridLayoutFactoryCreateFrom(lLike swt.GridLayoutLike) *GridLayoutFactory
func GridLayoutFactoryFillDefaults ¶
func GridLayoutFactoryFillDefaults() *GridLayoutFactory
func GridLayoutFactorySwtDefaults ¶
func GridLayoutFactorySwtDefaults() *GridLayoutFactory
func (*GridLayoutFactory) ApplyTo ¶
func (this *GridLayoutFactory) ApplyTo(cLike swt.CompositeLike)
func (*GridLayoutFactory) AsGridLayoutFactory ¶
func (this *GridLayoutFactory) AsGridLayoutFactory() *GridLayoutFactory
func (*GridLayoutFactory) Copy ¶
func (this *GridLayoutFactory) Copy() *GridLayoutFactory
func (*GridLayoutFactory) Create ¶
func (this *GridLayoutFactory) Create() *swt.GridLayout
func (*GridLayoutFactory) EqualWidth ¶
func (this *GridLayoutFactory) EqualWidth(equal bool) *GridLayoutFactory
func (*GridLayoutFactory) ExtendedMargins ¶
func (this *GridLayoutFactory) ExtendedMargins(left int32, right int32, top int32, bottom int32) *GridLayoutFactory
func (*GridLayoutFactory) ExtendedMarginsDifferenceRect ¶
func (this *GridLayoutFactory) ExtendedMarginsDifferenceRect(differenceRectLike swt.RectangleLike) *GridLayoutFactory
func (*GridLayoutFactory) GenerateLayout ¶
func (this *GridLayoutFactory) GenerateLayout(cLike swt.CompositeLike)
func (*GridLayoutFactory) Margins ¶
func (this *GridLayoutFactory) Margins(marginsLike swt.PointLike) *GridLayoutFactory
func (*GridLayoutFactory) MarginsWidthHeight ¶
func (this *GridLayoutFactory) MarginsWidthHeight(width int32, height int32) *GridLayoutFactory
func (*GridLayoutFactory) NumColumns ¶
func (this *GridLayoutFactory) NumColumns(numColumns int32) *GridLayoutFactory
func (*GridLayoutFactory) Spacing ¶
func (this *GridLayoutFactory) Spacing(hSpacing int32, vSpacing int32) *GridLayoutFactory
func (*GridLayoutFactory) SpacingSpacing ¶
func (this *GridLayoutFactory) SpacingSpacing(spacingLike swt.PointLike) *GridLayoutFactory
func (*GridLayoutFactory) String ¶
func (this *GridLayoutFactory) String() string
type GridLayoutFactoryLike ¶
type GridLayoutFactoryLike interface {
AsGridLayoutFactory() *GridLayoutFactory
}
type GroupFactory ¶
type GroupFactory struct {
AbstractCompositeFactory
}
func GroupFactoryNewGroup ¶
func GroupFactoryNewGroup(style int32) *GroupFactory
func WidgetFactoryGroup ¶
func WidgetFactoryGroup(style int32) *GroupFactory
func (*GroupFactory) AsGroupFactory ¶
func (this *GroupFactory) AsGroupFactory() *GroupFactory
func (*GroupFactory) Background ¶
func (this *GroupFactory) Background(a0Like swt.ColorLike) *GroupFactory
func (*GroupFactory) Create ¶
func (this *GroupFactory) Create(a0Like swt.CompositeLike) *swt.Group
func (*GroupFactory) Data ¶
func (this *GroupFactory) Data(a0 any) *GroupFactory
func (*GroupFactory) DataKeyValue ¶
func (this *GroupFactory) DataKeyValue(a0 string, a1 any) *GroupFactory
func (*GroupFactory) Enabled ¶
func (this *GroupFactory) Enabled(a0 bool) *GroupFactory
func (*GroupFactory) Font ¶
func (this *GroupFactory) Font(a0Like swt.FontLike) *GroupFactory
func (*GroupFactory) Foreground ¶
func (this *GroupFactory) Foreground(a0Like swt.ColorLike) *GroupFactory
func (*GroupFactory) Layout ¶
func (this *GroupFactory) Layout(a0Like swt.LayoutLike) *GroupFactory
func (*GroupFactory) LayoutData ¶
func (this *GroupFactory) LayoutData(a0 any) *GroupFactory
func (*GroupFactory) Orientation ¶
func (this *GroupFactory) Orientation(a0 int32) *GroupFactory
func (*GroupFactory) SupplyLayoutData ¶
func (this *GroupFactory) SupplyLayoutData(a0 func() any) *GroupFactory
func (*GroupFactory) Text ¶
func (this *GroupFactory) Text(text string) *GroupFactory
func (*GroupFactory) Tooltip ¶
func (this *GroupFactory) Tooltip(a0 string) *GroupFactory
type GroupFactoryLike ¶
type GroupFactoryLike interface {
AsGroupFactory() *GroupFactory
}
type IDialogConstants ¶
type IDialogConstants interface {
}
type JFaceResources ¶
type JFaceResources struct{}
type LabelFactory ¶
type LabelFactory struct {
AbstractControlFactory
}
func LabelFactoryNewLabel ¶
func LabelFactoryNewLabel(style int32) *LabelFactory
func WidgetFactoryLabel ¶
func WidgetFactoryLabel(style int32) *LabelFactory
func (*LabelFactory) Align ¶
func (this *LabelFactory) Align(alignment int32) *LabelFactory
func (*LabelFactory) AsLabelFactory ¶
func (this *LabelFactory) AsLabelFactory() *LabelFactory
func (*LabelFactory) Background ¶
func (this *LabelFactory) Background(a0Like swt.ColorLike) *LabelFactory
func (*LabelFactory) Create ¶
func (this *LabelFactory) Create(a0Like swt.CompositeLike) *swt.Label
func (*LabelFactory) Data ¶
func (this *LabelFactory) Data(a0 any) *LabelFactory
func (*LabelFactory) DataKeyValue ¶
func (this *LabelFactory) DataKeyValue(a0 string, a1 any) *LabelFactory
func (*LabelFactory) Enabled ¶
func (this *LabelFactory) Enabled(a0 bool) *LabelFactory
func (*LabelFactory) Font ¶
func (this *LabelFactory) Font(a0Like swt.FontLike) *LabelFactory
func (*LabelFactory) Foreground ¶
func (this *LabelFactory) Foreground(a0Like swt.ColorLike) *LabelFactory
func (*LabelFactory) Image ¶
func (this *LabelFactory) Image(imageLike swt.ImageLike) *LabelFactory
func (*LabelFactory) LayoutData ¶
func (this *LabelFactory) LayoutData(a0 any) *LabelFactory
func (*LabelFactory) Orientation ¶
func (this *LabelFactory) Orientation(a0 int32) *LabelFactory
func (*LabelFactory) SupplyLayoutData ¶
func (this *LabelFactory) SupplyLayoutData(a0 func() any) *LabelFactory
func (*LabelFactory) Text ¶
func (this *LabelFactory) Text(text string) *LabelFactory
func (*LabelFactory) Tooltip ¶
func (this *LabelFactory) Tooltip(a0 string) *LabelFactory
type LabelFactoryLike ¶
type LabelFactoryLike interface {
AsLabelFactory() *LabelFactory
}
type LayoutConstants ¶
type LayoutConstants struct {
}
func NewLayoutConstants ¶
func NewLayoutConstants() *LayoutConstants
func (*LayoutConstants) AsLayoutConstants ¶
func (this *LayoutConstants) AsLayoutConstants() *LayoutConstants
type LayoutConstantsLike ¶
type LayoutConstantsLike interface {
AsLayoutConstants() *LayoutConstants
}
type LayoutGenerator ¶
type LayoutGenerator struct {
}
func (*LayoutGenerator) AsLayoutGenerator ¶
func (this *LayoutGenerator) AsLayoutGenerator() *LayoutGenerator
type LayoutGeneratorLike ¶
type LayoutGeneratorLike interface {
AsLayoutGenerator() *LayoutGenerator
}
type LinkFactory ¶
type LinkFactory struct {
AbstractControlFactory
}
func LinkFactoryNewLink ¶
func LinkFactoryNewLink(style int32) *LinkFactory
func (*LinkFactory) AsLinkFactory ¶
func (this *LinkFactory) AsLinkFactory() *LinkFactory
func (*LinkFactory) Background ¶
func (this *LinkFactory) Background(a0Like swt.ColorLike) *LinkFactory
func (*LinkFactory) Create ¶
func (this *LinkFactory) Create(a0Like swt.CompositeLike) *swt.Link
func (*LinkFactory) Data ¶
func (this *LinkFactory) Data(a0 any) *LinkFactory
func (*LinkFactory) DataKeyValue ¶
func (this *LinkFactory) DataKeyValue(a0 string, a1 any) *LinkFactory
func (*LinkFactory) Enabled ¶
func (this *LinkFactory) Enabled(a0 bool) *LinkFactory
func (*LinkFactory) Font ¶
func (this *LinkFactory) Font(a0Like swt.FontLike) *LinkFactory
func (*LinkFactory) Foreground ¶
func (this *LinkFactory) Foreground(a0Like swt.ColorLike) *LinkFactory
func (*LinkFactory) LayoutData ¶
func (this *LinkFactory) LayoutData(a0 any) *LinkFactory
func (*LinkFactory) OnSelect ¶
func (this *LinkFactory) OnSelect(consumer func(*swt.SelectionEvent)) *LinkFactory
func (*LinkFactory) Orientation ¶
func (this *LinkFactory) Orientation(a0 int32) *LinkFactory
func (*LinkFactory) SupplyLayoutData ¶
func (this *LinkFactory) SupplyLayoutData(a0 func() any) *LinkFactory
func (*LinkFactory) Text ¶
func (this *LinkFactory) Text(text string) *LinkFactory
func (*LinkFactory) Tooltip ¶
func (this *LinkFactory) Tooltip(a0 string) *LinkFactory
type LinkFactoryLike ¶
type LinkFactoryLike interface {
AsLinkFactory() *LinkFactory
}
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 PixelConverter ¶
type PixelConverter struct {
// contains filtered or unexported fields
}
func NewPixelConverter ¶
func NewPixelConverter(controlLike swt.ControlLike) *PixelConverter
func NewPixelConverterFont ¶
func NewPixelConverterFont(fontLike swt.FontLike) *PixelConverter
func (*PixelConverter) AsPixelConverter ¶
func (this *PixelConverter) AsPixelConverter() *PixelConverter
func (*PixelConverter) ConvertHeightInCharsToPixels ¶
func (this *PixelConverter) ConvertHeightInCharsToPixels(chars int32) int32
func (*PixelConverter) ConvertHorizontalDLUsToPixels ¶
func (this *PixelConverter) ConvertHorizontalDLUsToPixels(dlus int32) int32
func (*PixelConverter) ConvertVerticalDLUsToPixels ¶
func (this *PixelConverter) ConvertVerticalDLUsToPixels(dlus int32) int32
func (*PixelConverter) ConvertWidthInCharsToPixels ¶
func (this *PixelConverter) ConvertWidthInCharsToPixels(chars int32) int32
type PixelConverterLike ¶
type PixelConverterLike interface {
AsPixelConverter() *PixelConverter
}
type PropertyFunc ¶
type PropertyFunc struct {
// contains filtered or unexported fields
}
j2go: func adapter for Property.
func (*PropertyFunc) Apply ¶
func (f *PropertyFunc) Apply(a0 *swt.Widget)
type RowDataFactory ¶
type RowDataFactory struct {
// contains filtered or unexported fields
}
func RowDataFactoryCreateFrom ¶
func RowDataFactoryCreateFrom(dataLike swt.RowDataLike) *RowDataFactory
func RowDataFactorySwtDefaults ¶
func RowDataFactorySwtDefaults() *RowDataFactory
func (*RowDataFactory) ApplyTo ¶
func (this *RowDataFactory) ApplyTo(controlLike swt.ControlLike)
func (*RowDataFactory) AsRowDataFactory ¶
func (this *RowDataFactory) AsRowDataFactory() *RowDataFactory
func (*RowDataFactory) Copy ¶
func (this *RowDataFactory) Copy() *RowDataFactory
func (*RowDataFactory) Create ¶
func (this *RowDataFactory) Create() *swt.RowData
func (*RowDataFactory) Exclude ¶
func (this *RowDataFactory) Exclude(shouldExclude bool) *RowDataFactory
func (*RowDataFactory) Hint ¶
func (this *RowDataFactory) Hint(xHint int32, yHint int32) *RowDataFactory
func (*RowDataFactory) HintHint ¶
func (this *RowDataFactory) HintHint(hintLike swt.PointLike) *RowDataFactory
type RowDataFactoryLike ¶
type RowDataFactoryLike interface {
AsRowDataFactory() *RowDataFactory
}
type RowLayoutFactory ¶
type RowLayoutFactory struct {
// contains filtered or unexported fields
}
func RowLayoutFactoryCreateFrom ¶
func RowLayoutFactoryCreateFrom(layoutLike swt.RowLayoutLike) *RowLayoutFactory
func RowLayoutFactoryFillDefaults ¶
func RowLayoutFactoryFillDefaults() *RowLayoutFactory
func RowLayoutFactorySwtDefaults ¶
func RowLayoutFactorySwtDefaults() *RowLayoutFactory
func (*RowLayoutFactory) ApplyTo ¶
func (this *RowLayoutFactory) ApplyTo(cLike swt.CompositeLike)
func (*RowLayoutFactory) AsRowLayoutFactory ¶
func (this *RowLayoutFactory) AsRowLayoutFactory() *RowLayoutFactory
func (*RowLayoutFactory) Center ¶
func (this *RowLayoutFactory) Center(center bool) *RowLayoutFactory
func (*RowLayoutFactory) Copy ¶
func (this *RowLayoutFactory) Copy() *RowLayoutFactory
func (*RowLayoutFactory) Create ¶
func (this *RowLayoutFactory) Create() *swt.RowLayout
func (*RowLayoutFactory) ExtendedMargins ¶
func (this *RowLayoutFactory) ExtendedMargins(left int32, right int32, top int32, bottom int32) *RowLayoutFactory
func (*RowLayoutFactory) Fill ¶
func (this *RowLayoutFactory) Fill(fill bool) *RowLayoutFactory
func (*RowLayoutFactory) Justify ¶
func (this *RowLayoutFactory) Justify(justify bool) *RowLayoutFactory
func (*RowLayoutFactory) Margins ¶
func (this *RowLayoutFactory) Margins(marginsLike swt.PointLike) *RowLayoutFactory
func (*RowLayoutFactory) MarginsWidthHeight ¶
func (this *RowLayoutFactory) MarginsWidthHeight(width int32, height int32) *RowLayoutFactory
func (*RowLayoutFactory) Pack ¶
func (this *RowLayoutFactory) Pack(pack bool) *RowLayoutFactory
func (*RowLayoutFactory) Spacing ¶
func (this *RowLayoutFactory) Spacing(spacing int32) *RowLayoutFactory
func (*RowLayoutFactory) Type ¶
func (this *RowLayoutFactory) Type(type_ int32) *RowLayoutFactory
func (*RowLayoutFactory) Wrap ¶
func (this *RowLayoutFactory) Wrap(wrap bool) *RowLayoutFactory
type RowLayoutFactoryLike ¶
type RowLayoutFactoryLike interface {
AsRowLayoutFactory() *RowLayoutFactory
}
type SashFactory ¶
type SashFactory struct {
AbstractControlFactory
}
func SashFactoryNewSash ¶
func SashFactoryNewSash(style int32) *SashFactory
func WidgetFactorySash ¶
func WidgetFactorySash(style int32) *SashFactory
func (*SashFactory) AsSashFactory ¶
func (this *SashFactory) AsSashFactory() *SashFactory
func (*SashFactory) Background ¶
func (this *SashFactory) Background(a0Like swt.ColorLike) *SashFactory
func (*SashFactory) Create ¶
func (this *SashFactory) Create(a0Like swt.CompositeLike) *swt.Sash
func (*SashFactory) Data ¶
func (this *SashFactory) Data(a0 any) *SashFactory
func (*SashFactory) DataKeyValue ¶
func (this *SashFactory) DataKeyValue(a0 string, a1 any) *SashFactory
func (*SashFactory) Enabled ¶
func (this *SashFactory) Enabled(a0 bool) *SashFactory
func (*SashFactory) Font ¶
func (this *SashFactory) Font(a0Like swt.FontLike) *SashFactory
func (*SashFactory) Foreground ¶
func (this *SashFactory) Foreground(a0Like swt.ColorLike) *SashFactory
func (*SashFactory) LayoutData ¶
func (this *SashFactory) LayoutData(a0 any) *SashFactory
func (*SashFactory) OnSelect ¶
func (this *SashFactory) OnSelect(consumer func(*swt.SelectionEvent)) *SashFactory
func (*SashFactory) Orientation ¶
func (this *SashFactory) Orientation(a0 int32) *SashFactory
func (*SashFactory) SupplyLayoutData ¶
func (this *SashFactory) SupplyLayoutData(a0 func() any) *SashFactory
func (*SashFactory) Tooltip ¶
func (this *SashFactory) Tooltip(a0 string) *SashFactory
type SashFactoryLike ¶
type SashFactoryLike interface {
AsSashFactory() *SashFactory
}
type SashFormFactory ¶
type SashFormFactory struct {
AbstractControlFactory
}
func SashFormFactoryNewSashForm ¶
func SashFormFactoryNewSashForm(style int32) *SashFormFactory
func WidgetFactorySashForm ¶
func WidgetFactorySashForm(style int32) *SashFormFactory
func (*SashFormFactory) AsSashFormFactory ¶
func (this *SashFormFactory) AsSashFormFactory() *SashFormFactory
func (*SashFormFactory) Background ¶
func (this *SashFormFactory) Background(a0Like swt.ColorLike) *SashFormFactory
func (*SashFormFactory) Create ¶
func (this *SashFormFactory) Create(a0Like swt.CompositeLike) *swt.SashForm
func (*SashFormFactory) Data ¶
func (this *SashFormFactory) Data(a0 any) *SashFormFactory
func (*SashFormFactory) DataKeyValue ¶
func (this *SashFormFactory) DataKeyValue(a0 string, a1 any) *SashFormFactory
func (*SashFormFactory) Enabled ¶
func (this *SashFormFactory) Enabled(a0 bool) *SashFormFactory
func (*SashFormFactory) Font ¶
func (this *SashFormFactory) Font(a0Like swt.FontLike) *SashFormFactory
func (*SashFormFactory) Foreground ¶
func (this *SashFormFactory) Foreground(a0Like swt.ColorLike) *SashFormFactory
func (*SashFormFactory) LayoutData ¶
func (this *SashFormFactory) LayoutData(a0 any) *SashFormFactory
func (*SashFormFactory) Orientation ¶
func (this *SashFormFactory) Orientation(a0 int32) *SashFormFactory
func (*SashFormFactory) SashWidth ¶
func (this *SashFormFactory) SashWidth(width int32) *SashFormFactory
func (*SashFormFactory) SupplyLayoutData ¶
func (this *SashFormFactory) SupplyLayoutData(a0 func() any) *SashFormFactory
func (*SashFormFactory) Tooltip ¶
func (this *SashFormFactory) Tooltip(a0 string) *SashFormFactory
type SashFormFactoryLike ¶
type SashFormFactoryLike interface {
AsSashFormFactory() *SashFormFactory
}
type ShellFactory ¶
type ShellFactory struct {
AbstractCompositeFactory
}
func ShellFactoryNewShell ¶
func ShellFactoryNewShell(style int32) *ShellFactory
func WidgetFactoryShell ¶
func WidgetFactoryShell(style int32) *ShellFactory
func (*ShellFactory) AsShellFactory ¶
func (this *ShellFactory) AsShellFactory() *ShellFactory
func (*ShellFactory) Background ¶
func (this *ShellFactory) Background(a0Like swt.ColorLike) *ShellFactory
func (*ShellFactory) Create ¶
func (this *ShellFactory) Create(a0Like swt.CompositeLike) *swt.Shell
func (*ShellFactory) CreateDisplay ¶
func (this *ShellFactory) CreateDisplay(displayLike swt.DisplayLike) *swt.Shell
func (*ShellFactory) Data ¶
func (this *ShellFactory) Data(a0 any) *ShellFactory
func (*ShellFactory) DataKeyValue ¶
func (this *ShellFactory) DataKeyValue(a0 string, a1 any) *ShellFactory
func (*ShellFactory) Enabled ¶
func (this *ShellFactory) Enabled(a0 bool) *ShellFactory
func (*ShellFactory) Font ¶
func (this *ShellFactory) Font(a0Like swt.FontLike) *ShellFactory
func (*ShellFactory) Foreground ¶
func (this *ShellFactory) Foreground(a0Like swt.ColorLike) *ShellFactory
func (*ShellFactory) FullScreen ¶
func (this *ShellFactory) FullScreen(fullScreen bool) *ShellFactory
func (*ShellFactory) Layout ¶
func (this *ShellFactory) Layout(a0Like swt.LayoutLike) *ShellFactory
func (*ShellFactory) LayoutData ¶
func (this *ShellFactory) LayoutData(a0 any) *ShellFactory
func (*ShellFactory) Maximized ¶
func (this *ShellFactory) Maximized(maximized bool) *ShellFactory
func (*ShellFactory) MenuBar ¶
func (this *ShellFactory) MenuBar(menuFunction func(*swt.Decorations) *swt.Menu) *ShellFactory
func (*ShellFactory) Minimized ¶
func (this *ShellFactory) Minimized(minimized bool) *ShellFactory
func (*ShellFactory) OnActivate ¶
func (this *ShellFactory) OnActivate(consumer func(*swt.ShellEvent)) *ShellFactory
func (*ShellFactory) OnClose ¶
func (this *ShellFactory) OnClose(consumer func(*swt.ShellEvent)) *ShellFactory
func (*ShellFactory) OnDeactivate ¶
func (this *ShellFactory) OnDeactivate(consumer func(*swt.ShellEvent)) *ShellFactory
func (*ShellFactory) OnDeiconify ¶
func (this *ShellFactory) OnDeiconify(consumer func(*swt.ShellEvent)) *ShellFactory
func (*ShellFactory) OnIconify ¶
func (this *ShellFactory) OnIconify(consumer func(*swt.ShellEvent)) *ShellFactory
func (*ShellFactory) Orientation ¶
func (this *ShellFactory) Orientation(a0 int32) *ShellFactory
func (*ShellFactory) SupplyLayoutData ¶
func (this *ShellFactory) SupplyLayoutData(a0 func() any) *ShellFactory
func (*ShellFactory) Text ¶
func (this *ShellFactory) Text(text string) *ShellFactory
func (*ShellFactory) Tooltip ¶
func (this *ShellFactory) Tooltip(a0 string) *ShellFactory
type ShellFactoryLike ¶
type ShellFactoryLike interface {
AsShellFactory() *ShellFactory
}
type SpinnerFactory ¶
type SpinnerFactory struct {
AbstractControlFactory
}
func SpinnerFactoryNewSpinner ¶
func SpinnerFactoryNewSpinner(style int32) *SpinnerFactory
func WidgetFactorySpinner ¶
func WidgetFactorySpinner(style int32) *SpinnerFactory
func (*SpinnerFactory) AsSpinnerFactory ¶
func (this *SpinnerFactory) AsSpinnerFactory() *SpinnerFactory
func (*SpinnerFactory) Background ¶
func (this *SpinnerFactory) Background(a0Like swt.ColorLike) *SpinnerFactory
func (*SpinnerFactory) Bounds ¶
func (this *SpinnerFactory) Bounds(minimum int32, maximum int32) *SpinnerFactory
func (*SpinnerFactory) Create ¶
func (this *SpinnerFactory) Create(a0Like swt.CompositeLike) *swt.Spinner
func (*SpinnerFactory) Data ¶
func (this *SpinnerFactory) Data(a0 any) *SpinnerFactory
func (*SpinnerFactory) DataKeyValue ¶
func (this *SpinnerFactory) DataKeyValue(a0 string, a1 any) *SpinnerFactory
func (*SpinnerFactory) Enabled ¶
func (this *SpinnerFactory) Enabled(a0 bool) *SpinnerFactory
func (*SpinnerFactory) Font ¶
func (this *SpinnerFactory) Font(a0Like swt.FontLike) *SpinnerFactory
func (*SpinnerFactory) Foreground ¶
func (this *SpinnerFactory) Foreground(a0Like swt.ColorLike) *SpinnerFactory
func (*SpinnerFactory) Increment ¶
func (this *SpinnerFactory) Increment(increment int32, pageIncrement int32) *SpinnerFactory
func (*SpinnerFactory) LayoutData ¶
func (this *SpinnerFactory) LayoutData(a0 any) *SpinnerFactory
func (*SpinnerFactory) LimitTo ¶
func (this *SpinnerFactory) LimitTo(limit int32) *SpinnerFactory
func (*SpinnerFactory) OnModify ¶
func (this *SpinnerFactory) OnModify(listener swt.ModifyListener) *SpinnerFactory
func (*SpinnerFactory) OnSelect ¶
func (this *SpinnerFactory) OnSelect(consumer func(*swt.SelectionEvent)) *SpinnerFactory
func (*SpinnerFactory) Orientation ¶
func (this *SpinnerFactory) Orientation(a0 int32) *SpinnerFactory
func (*SpinnerFactory) SupplyLayoutData ¶
func (this *SpinnerFactory) SupplyLayoutData(a0 func() any) *SpinnerFactory
func (*SpinnerFactory) Tooltip ¶
func (this *SpinnerFactory) Tooltip(a0 string) *SpinnerFactory
type SpinnerFactoryLike ¶
type SpinnerFactoryLike interface {
AsSpinnerFactory() *SpinnerFactory
}
type TableColumnFactory ¶
type TableColumnFactory struct {
AbstractItemFactory
}
func TableColumnFactoryNewTableColumn ¶
func TableColumnFactoryNewTableColumn(style int32) *TableColumnFactory
func WidgetFactoryTableColumn ¶
func WidgetFactoryTableColumn(style int32) *TableColumnFactory
func (*TableColumnFactory) Align ¶
func (this *TableColumnFactory) Align(alignment int32) *TableColumnFactory
func (*TableColumnFactory) AsTableColumnFactory ¶
func (this *TableColumnFactory) AsTableColumnFactory() *TableColumnFactory
func (*TableColumnFactory) Create ¶
func (this *TableColumnFactory) Create(a0Like swt.TableLike) *swt.TableColumn
func (*TableColumnFactory) Data ¶
func (this *TableColumnFactory) Data(a0 any) *TableColumnFactory
func (*TableColumnFactory) DataKeyValue ¶
func (this *TableColumnFactory) DataKeyValue(a0 string, a1 any) *TableColumnFactory
func (*TableColumnFactory) Image ¶
func (this *TableColumnFactory) Image(a0Like swt.ImageLike) *TableColumnFactory
func (*TableColumnFactory) Moveable ¶
func (this *TableColumnFactory) Moveable(moveable bool) *TableColumnFactory
func (*TableColumnFactory) OnSelect ¶
func (this *TableColumnFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TableColumnFactory
func (*TableColumnFactory) Resizable ¶
func (this *TableColumnFactory) Resizable(resizable bool) *TableColumnFactory
func (*TableColumnFactory) Text ¶
func (this *TableColumnFactory) Text(a0 string) *TableColumnFactory
func (*TableColumnFactory) Tooltip ¶
func (this *TableColumnFactory) Tooltip(tooltip string) *TableColumnFactory
func (*TableColumnFactory) Width ¶
func (this *TableColumnFactory) Width(width int32) *TableColumnFactory
type TableColumnFactoryLike ¶
type TableColumnFactoryLike interface {
AsTableColumnFactory() *TableColumnFactory
}
type TableColumnLayout ¶
type TableColumnLayout struct {
AbstractColumnLayout
}
func NewTableColumnLayout ¶
func NewTableColumnLayout() *TableColumnLayout
func NewTableColumnLayoutAdjustForScrollBar ¶
func NewTableColumnLayoutAdjustForScrollBar(adjustForScrollBar bool) *TableColumnLayout
func (*TableColumnLayout) AsTableColumnLayout ¶
func (this *TableColumnLayout) AsTableColumnLayout() *TableColumnLayout
func (*TableColumnLayout) GetComposite ¶
func (this *TableColumnLayout) GetComposite(columnLike swt.WidgetLike) *swt.Composite
type TableColumnLayoutLike ¶
type TableColumnLayoutLike interface {
AsTableColumnLayout() *TableColumnLayout
}
type TableFactory ¶
type TableFactory struct {
AbstractControlFactory
}
func TableFactoryNewTable ¶
func TableFactoryNewTable(style int32) *TableFactory
func WidgetFactoryTable ¶
func WidgetFactoryTable(style int32) *TableFactory
func (*TableFactory) AsTableFactory ¶
func (this *TableFactory) AsTableFactory() *TableFactory
func (*TableFactory) Background ¶
func (this *TableFactory) Background(a0Like swt.ColorLike) *TableFactory
func (*TableFactory) Create ¶
func (this *TableFactory) Create(a0Like swt.CompositeLike) *swt.Table
func (*TableFactory) Data ¶
func (this *TableFactory) Data(a0 any) *TableFactory
func (*TableFactory) DataKeyValue ¶
func (this *TableFactory) DataKeyValue(a0 string, a1 any) *TableFactory
func (*TableFactory) Enabled ¶
func (this *TableFactory) Enabled(a0 bool) *TableFactory
func (*TableFactory) Font ¶
func (this *TableFactory) Font(a0Like swt.FontLike) *TableFactory
func (*TableFactory) Foreground ¶
func (this *TableFactory) Foreground(a0Like swt.ColorLike) *TableFactory
func (*TableFactory) HeaderVisible ¶
func (this *TableFactory) HeaderVisible(visible bool) *TableFactory
func (*TableFactory) ItemCount ¶
func (this *TableFactory) ItemCount(count int32) *TableFactory
func (*TableFactory) LayoutData ¶
func (this *TableFactory) LayoutData(a0 any) *TableFactory
func (*TableFactory) LinesVisible ¶
func (this *TableFactory) LinesVisible(visible bool) *TableFactory
func (*TableFactory) OnSelect ¶
func (this *TableFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TableFactory
func (*TableFactory) Orientation ¶
func (this *TableFactory) Orientation(a0 int32) *TableFactory
func (*TableFactory) SupplyLayoutData ¶
func (this *TableFactory) SupplyLayoutData(a0 func() any) *TableFactory
func (*TableFactory) Tooltip ¶
func (this *TableFactory) Tooltip(a0 string) *TableFactory
type TableFactoryLike ¶
type TableFactoryLike interface {
AsTableFactory() *TableFactory
}
type TextFactory ¶
type TextFactory struct {
AbstractControlFactory
}
func TextFactoryNewText ¶
func TextFactoryNewText(style int32) *TextFactory
func WidgetFactoryText ¶
func WidgetFactoryText(style int32) *TextFactory
func (*TextFactory) AsTextFactory ¶
func (this *TextFactory) AsTextFactory() *TextFactory
func (*TextFactory) Background ¶
func (this *TextFactory) Background(a0Like swt.ColorLike) *TextFactory
func (*TextFactory) Create ¶
func (this *TextFactory) Create(a0Like swt.CompositeLike) *swt.Text
func (*TextFactory) Data ¶
func (this *TextFactory) Data(a0 any) *TextFactory
func (*TextFactory) DataKeyValue ¶
func (this *TextFactory) DataKeyValue(a0 string, a1 any) *TextFactory
func (*TextFactory) Enabled ¶
func (this *TextFactory) Enabled(a0 bool) *TextFactory
func (*TextFactory) Font ¶
func (this *TextFactory) Font(a0Like swt.FontLike) *TextFactory
func (*TextFactory) Foreground ¶
func (this *TextFactory) Foreground(a0Like swt.ColorLike) *TextFactory
func (*TextFactory) LayoutData ¶
func (this *TextFactory) LayoutData(a0 any) *TextFactory
func (*TextFactory) LimitTo ¶
func (this *TextFactory) LimitTo(limit int32) *TextFactory
func (*TextFactory) Message ¶
func (this *TextFactory) Message(message string) *TextFactory
func (*TextFactory) OnModify ¶
func (this *TextFactory) OnModify(listener swt.ModifyListener) *TextFactory
func (*TextFactory) OnSelect ¶
func (this *TextFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TextFactory
func (*TextFactory) OnVerify ¶
func (this *TextFactory) OnVerify(listener swt.VerifyListener) *TextFactory
func (*TextFactory) Orientation ¶
func (this *TextFactory) Orientation(a0 int32) *TextFactory
func (*TextFactory) SupplyLayoutData ¶
func (this *TextFactory) SupplyLayoutData(a0 func() any) *TextFactory
func (*TextFactory) Text ¶
func (this *TextFactory) Text(text string) *TextFactory
func (*TextFactory) Tooltip ¶
func (this *TextFactory) Tooltip(a0 string) *TextFactory
type TextFactoryLike ¶
type TextFactoryLike interface {
AsTextFactory() *TextFactory
}
type TreeColumnFactory ¶
type TreeColumnFactory struct {
AbstractItemFactory
}
func TreeColumnFactoryNewTreeColumn ¶
func TreeColumnFactoryNewTreeColumn(style int32) *TreeColumnFactory
func WidgetFactoryTreeColumn ¶
func WidgetFactoryTreeColumn(style int32) *TreeColumnFactory
func (*TreeColumnFactory) Align ¶
func (this *TreeColumnFactory) Align(alignment int32) *TreeColumnFactory
func (*TreeColumnFactory) AsTreeColumnFactory ¶
func (this *TreeColumnFactory) AsTreeColumnFactory() *TreeColumnFactory
func (*TreeColumnFactory) Create ¶
func (this *TreeColumnFactory) Create(a0Like swt.TreeLike) *swt.TreeColumn
func (*TreeColumnFactory) Data ¶
func (this *TreeColumnFactory) Data(a0 any) *TreeColumnFactory
func (*TreeColumnFactory) DataKeyValue ¶
func (this *TreeColumnFactory) DataKeyValue(a0 string, a1 any) *TreeColumnFactory
func (*TreeColumnFactory) Image ¶
func (this *TreeColumnFactory) Image(a0Like swt.ImageLike) *TreeColumnFactory
func (*TreeColumnFactory) Moveable ¶
func (this *TreeColumnFactory) Moveable(moveable bool) *TreeColumnFactory
func (*TreeColumnFactory) OnSelect ¶
func (this *TreeColumnFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TreeColumnFactory
func (*TreeColumnFactory) Resizable ¶
func (this *TreeColumnFactory) Resizable(resizable bool) *TreeColumnFactory
func (*TreeColumnFactory) Text ¶
func (this *TreeColumnFactory) Text(a0 string) *TreeColumnFactory
func (*TreeColumnFactory) Tooltip ¶
func (this *TreeColumnFactory) Tooltip(tooltip string) *TreeColumnFactory
func (*TreeColumnFactory) Width ¶
func (this *TreeColumnFactory) Width(width int32) *TreeColumnFactory
type TreeColumnFactoryLike ¶
type TreeColumnFactoryLike interface {
AsTreeColumnFactory() *TreeColumnFactory
}
type TreeColumnLayout ¶
type TreeColumnLayout struct {
AbstractColumnLayout
// contains filtered or unexported fields
}
func NewTreeColumnLayout ¶
func NewTreeColumnLayout() *TreeColumnLayout
func NewTreeColumnLayoutAdjustForScrollBar ¶
func NewTreeColumnLayoutAdjustForScrollBar(adjustForScrollBar bool) *TreeColumnLayout
func (*TreeColumnLayout) AsTreeColumnLayout ¶
func (this *TreeColumnLayout) AsTreeColumnLayout() *TreeColumnLayout
type TreeColumnLayoutLike ¶
type TreeColumnLayoutLike interface {
AsTreeColumnLayout() *TreeColumnLayout
}
type TreeColumnLayout_TreeLayoutListener ¶
type TreeColumnLayout_TreeLayoutListener struct {
}
var TreeColumnLayoutListener *TreeColumnLayout_TreeLayoutListener = newTreeColumnLayoutTreeLayoutListener()
func (*TreeColumnLayout_TreeLayoutListener) AsTreeColumnLayout_TreeLayoutListener ¶
func (this *TreeColumnLayout_TreeLayoutListener) AsTreeColumnLayout_TreeLayoutListener() *TreeColumnLayout_TreeLayoutListener
func (*TreeColumnLayout_TreeLayoutListener) TreeCollapsed ¶
func (this *TreeColumnLayout_TreeLayoutListener) TreeCollapsed(e *swt.TreeEvent)
func (*TreeColumnLayout_TreeLayoutListener) TreeExpanded ¶
func (this *TreeColumnLayout_TreeLayoutListener) TreeExpanded(e *swt.TreeEvent)
func (*TreeColumnLayout_TreeLayoutListener) Update ¶
func (this *TreeColumnLayout_TreeLayoutListener) Update(treeLike swt.TreeLike)
type TreeColumnLayout_TreeLayoutListenerLike ¶
type TreeColumnLayout_TreeLayoutListenerLike interface {
AsTreeColumnLayout_TreeLayoutListener() *TreeColumnLayout_TreeLayoutListener
}
type TreeFactory ¶
type TreeFactory struct {
AbstractControlFactory
}
func TreeFactoryNewTree ¶
func TreeFactoryNewTree(style int32) *TreeFactory
func WidgetFactoryTree ¶
func WidgetFactoryTree(style int32) *TreeFactory
func (*TreeFactory) AsTreeFactory ¶
func (this *TreeFactory) AsTreeFactory() *TreeFactory
func (*TreeFactory) Background ¶
func (this *TreeFactory) Background(a0Like swt.ColorLike) *TreeFactory
func (*TreeFactory) Create ¶
func (this *TreeFactory) Create(a0Like swt.CompositeLike) *swt.Tree
func (*TreeFactory) Data ¶
func (this *TreeFactory) Data(a0 any) *TreeFactory
func (*TreeFactory) DataKeyValue ¶
func (this *TreeFactory) DataKeyValue(a0 string, a1 any) *TreeFactory
func (*TreeFactory) Enabled ¶
func (this *TreeFactory) Enabled(a0 bool) *TreeFactory
func (*TreeFactory) Font ¶
func (this *TreeFactory) Font(a0Like swt.FontLike) *TreeFactory
func (*TreeFactory) Foreground ¶
func (this *TreeFactory) Foreground(a0Like swt.ColorLike) *TreeFactory
func (*TreeFactory) HeaderVisible ¶
func (this *TreeFactory) HeaderVisible(visible bool) *TreeFactory
func (*TreeFactory) ItemCount ¶
func (this *TreeFactory) ItemCount(count int32) *TreeFactory
func (*TreeFactory) LayoutData ¶
func (this *TreeFactory) LayoutData(a0 any) *TreeFactory
func (*TreeFactory) LinesVisible ¶
func (this *TreeFactory) LinesVisible(visible bool) *TreeFactory
func (*TreeFactory) OnCollapse ¶
func (this *TreeFactory) OnCollapse(consumer func(*swt.TreeEvent)) *TreeFactory
func (*TreeFactory) OnExpand ¶
func (this *TreeFactory) OnExpand(consumer func(*swt.TreeEvent)) *TreeFactory
func (*TreeFactory) OnSelect ¶
func (this *TreeFactory) OnSelect(consumer func(*swt.SelectionEvent)) *TreeFactory
func (*TreeFactory) Orientation ¶
func (this *TreeFactory) Orientation(a0 int32) *TreeFactory
func (*TreeFactory) SupplyLayoutData ¶
func (this *TreeFactory) SupplyLayoutData(a0 func() any) *TreeFactory
func (*TreeFactory) Tooltip ¶
func (this *TreeFactory) Tooltip(a0 string) *TreeFactory
type TreeFactoryLike ¶
type TreeFactoryLike interface {
AsTreeFactory() *TreeFactory
}
type WidgetFactory ¶
type WidgetFactory struct {
}
func (*WidgetFactory) AsWidgetFactory ¶
func (this *WidgetFactory) AsWidgetFactory() *WidgetFactory
type WidgetFactoryLike ¶
type WidgetFactoryLike interface {
AsWidgetFactory() *WidgetFactory
}
type WidgetSupplierFunc ¶
type WidgetSupplierFunc struct {
// contains filtered or unexported fields
}
j2go: func adapter for WidgetSupplier.
Source Files
¶
- dialogs_idialogconstants.go
- dialogs_manual.go
- doc_manual.go
- layout_abstractcolumnlayout.go
- layout_filllayoutfactory.go
- layout_griddatafactory.go
- layout_gridlayoutfactory.go
- layout_layoutconstants.go
- layout_layoutgenerator.go
- layout_pixelconverter.go
- layout_rowdatafactory.go
- layout_rowlayoutfactory.go
- layout_tablecolumnlayout.go
- layout_treecolumnlayout.go
- util_geometry.go
- util_util.go
- viewers_columnlayoutdata.go
- viewers_columnpixeldata.go
- viewers_columnweightdata.go
- widgets_abstractcompositefactory.go
- widgets_abstractcontrolfactory.go
- widgets_abstractitemfactory.go
- widgets_abstractwidgetfactory.go
- widgets_buttonfactory.go
- widgets_compositefactory.go
- widgets_datetimefactory.go
- widgets_groupfactory.go
- widgets_labelfactory.go
- widgets_linkfactory.go
- widgets_property.go
- widgets_sashfactory.go
- widgets_sashformfactory.go
- widgets_shellfactory.go
- widgets_spinnerfactory.go
- widgets_tablecolumnfactory.go
- widgets_tablefactory.go
- widgets_textfactory.go
- widgets_treecolumnfactory.go
- widgets_treefactory.go
- widgets_widgetfactory.go
- widgets_widgetsupplier.go