accessibility

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package accessibility provides Go bindings for the Accessibility framework.

Make your apps accessible to everyone who uses Apple devices.

Accessibility features help a wide range of people interact with their devices. By creating your app with accessibility in mind, you make it possible for everyone to enjoy your app. Whether you’re developing a new app, or updating an existing one, consider the needs of all the people who might use your app.

Essentials

Sample code

Developer tools

Assistive technologies

  • Assistive technologies: Make sure your app provides a great experience for people who use assistive technologies.

Accessibility framework

Platforms

WWDC Challenges

Variables

Functions

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var AXTechnologys struct {
	Automation         AXTechnology
	FullKeyboardAccess AXTechnology
	HoverText          AXTechnology
	SpeakScreen        AXTechnology
	SwitchControl      AXTechnology
	VoiceControl       AXTechnology
	VoiceOver          AXTechnology
	Zoom               AXTechnology
}

AXTechnologys provides typed accessors for AXTechnology constants.

Functions

func AXAssistiveAccessEnabled

func AXAssistiveAccessEnabled() bool

AXAssistiveAccessEnabled a Boolean value that indicates whether Assistive Access is running.

See: https://developer.apple.com/documentation/Accessibility/AccessibilitySettings/isAssistiveAccessEnabled

func AXNameFromColor

func AXNameFromColor(color coregraphics.CGColorRef) *foundation.NSString

AXNameFromColor returns a localized description of the color to use in accessibility attributes.

See: https://developer.apple.com/documentation/Accessibility/AXNameFromColor(_:)

func AXOpenSettingsFeatureIsSupported

func AXOpenSettingsFeatureIsSupported(feature AXSettingsFeature) bool

AXOpenSettingsFeatureIsSupported.

See: https://developer.apple.com/documentation/Accessibility/AXOpenSettingsFeatureIsSupported

func AXPrefersActionSliderAlternative

func AXPrefersActionSliderAlternative() bool

AXPrefersActionSliderAlternative.

See: https://developer.apple.com/documentation/Accessibility/AXPrefersActionSliderAlternative

func AXPrefersHorizontalTextLayout

func AXPrefersHorizontalTextLayout() bool

AXPrefersHorizontalTextLayout.

See: https://developer.apple.com/documentation/Accessibility/AXPrefersHorizontalTextLayout

func AXPrefersNonBlinkingTextInsertionIndicator

func AXPrefersNonBlinkingTextInsertionIndicator() bool

AXPrefersNonBlinkingTextInsertionIndicator.

See: https://developer.apple.com/documentation/Accessibility/AXPrefersNonBlinkingTextInsertionIndicator

func NewAXBrailleMapBlock

func NewAXBrailleMapBlock(handler AXBrailleMapHandler) (objc.ID, func())

NewAXBrailleMapBlock wraps a Go AXBrailleMapHandler as an Objective-C block. The caller must defer the returned cleanup function.

Types

type AXBrailleMap

type AXBrailleMap struct {
	objectivec.Object
}

A representation of a two-dimensional braille display.

Overview

A braille map object represents a two-dimensional braille display that’s connected to the current Apple device. By specifying the dot patterns in the braille map, you can change the content the user experiences. To render the data from the braille map to the display, implement AXBrailleMapRenderer.

Creating a braille map

Getting display dimensions

Accessing dots

Displaying images

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap

func AXBrailleMapFromID

func AXBrailleMapFromID(id objc.ID) AXBrailleMap

AXBrailleMapFromID constructs a AXBrailleMap from an objc.ID.

A representation of a two-dimensional braille display.

func NewAXBrailleMap

func NewAXBrailleMap() AXBrailleMap

NewAXBrailleMap creates a new AXBrailleMap instance.

func (AXBrailleMap) Autorelease

func (a AXBrailleMap) Autorelease() AXBrailleMap

Autorelease adds the receiver to the current autorelease pool.

func (AXBrailleMap) Dimensions

func (a AXBrailleMap) Dimensions() corefoundation.CGSize

The number of pins in each dimension of the braille display.

Discussion

The dimensions can change if the user zooms in on the content.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap/dimensions

func (AXBrailleMap) EncodeWithCoder

func (a AXBrailleMap) EncodeWithCoder(coder foundation.INSCoder)

func (AXBrailleMap) HeightAtPoint

func (a AXBrailleMap) HeightAtPoint(point corefoundation.CGPoint) float32

Retrieves the height of an individual pin on the braille display.

point: The location of the pin to retrieve the height for. The bottom-left of the display is at `{ 0,0 }`, and the top-right of the display is at `{ dimensions.Width() - 1, dimensions.Height() - 1}`.

Return Value

A floating-point number between `0.0` and `1.0` that specifies the height of the pin. A value of `0.0` indicates that the pin is completely lowered, and a value of `1.0` indicates that the pin is completely raised.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap/height(at:)

func (AXBrailleMap) Init

func (a AXBrailleMap) Init() AXBrailleMap

Init initializes the instance.

func (AXBrailleMap) PresentImage

func (a AXBrailleMap) PresentImage(image coregraphics.CGImageRef)

Converts the data from the image you specify into the braille map.

image: An image to convert into the braille map.

Discussion

Use this method to convert image data into the braille map directly, without the need to modify the heights of individual pins using AXBrailleMap.SetHeightAtPoint.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap/present(_:)

func (AXBrailleMap) SetHeightAtPoint

func (a AXBrailleMap) SetHeightAtPoint(status float32, point corefoundation.CGPoint)

Sets the height of an individual pin on the braille display.

status: A floating-point number between `0.0` and `1.0` that specifies the height of the pin. A value of `0.0` lowers the pin completely, and a value of `1.0` raises the pin completely.

point: The location of the pin to adjust the height for. The bottom-left of the display is at `{ 0,0 }`, and the top-right of the display is at `{ dimensions.Width() - 1, dimensions.Height() - 1}`.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap/setHeight(_:at:)

type AXBrailleMapClass

type AXBrailleMapClass struct {
	// contains filtered or unexported fields
}

func GetAXBrailleMapClass

func GetAXBrailleMapClass() AXBrailleMapClass

GetAXBrailleMapClass returns the class object for AXBrailleMap.

func (AXBrailleMapClass) Alloc

func (ac AXBrailleMapClass) Alloc() AXBrailleMap

Alloc allocates memory for a new instance of the class.

func (AXBrailleMapClass) Class

func (ac AXBrailleMapClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXBrailleMapHandler

type AXBrailleMapHandler = func(*AXBrailleMap)

AXBrailleMapHandler is the signature for a completion handler block.

type AXBrailleMapRenderer

type AXBrailleMapRenderer interface {
	objectivec.IObject

	// A region of the UI that the system converts into a braille map and displays on the braille display.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXBrailleMapRenderer/accessibilityBrailleMapRenderRegion
	AccessibilityBrailleMapRenderRegion() corefoundation.CGRect
	SetAccessibilityBrailleMapRenderRegion(value corefoundation.CGRect)
}

The interface for providing data for a braille map.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMapRenderer

type AXBrailleMapRendererObject

type AXBrailleMapRendererObject struct {
	objectivec.Object
}

AXBrailleMapRendererObject wraps an existing Objective-C object that conforms to the AXBrailleMapRenderer protocol.

func AXBrailleMapRendererObjectFromID

func AXBrailleMapRendererObjectFromID(id objc.ID) AXBrailleMapRendererObject

AXBrailleMapRendererObjectFromID constructs a AXBrailleMapRendererObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (AXBrailleMapRendererObject) AccessibilityBrailleMapRenderRegion

func (o AXBrailleMapRendererObject) AccessibilityBrailleMapRenderRegion() corefoundation.CGRect

A region of the UI that the system converts into a braille map and displays on the braille display.

Discussion

When the accessibility element that implements this property has focus, the system uses this value to update the braille display automatically.

Set this value to specify a region of the accessibility element — relative to its bounds — to display on the braille display. VoiceOver snapshots the region of the accessibility element that you specify, converts the data to a braille map, and renders the braille map to the braille display.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMapRenderer/accessibilityBrailleMapRenderRegion

func (AXBrailleMapRendererObject) BaseObject

func (AXBrailleMapRendererObject) SetAccessibilityBrailleMapRenderRegion

func (o AXBrailleMapRendererObject) SetAccessibilityBrailleMapRenderRegion(value corefoundation.CGRect)

type AXBrailleTable

type AXBrailleTable struct {
	objectivec.Object
}

A rule for translating print text to Braille, and back-translating Braille to print text.

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable

func AXBrailleTableFromID

func AXBrailleTableFromID(id objc.ID) AXBrailleTable

AXBrailleTableFromID constructs a AXBrailleTable from an objc.ID.

A rule for translating print text to Braille, and back-translating Braille to print text.

func NewAXBrailleTable

func NewAXBrailleTable() AXBrailleTable

NewAXBrailleTable creates a new AXBrailleTable instance.

func NewAXBrailleTableWithIdentifier

func NewAXBrailleTableWithIdentifier(identifier string) AXBrailleTable

Returns nil if there is no table with the given identifier.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/init(identifier:)

func (AXBrailleTable) Autorelease

func (a AXBrailleTable) Autorelease() AXBrailleTable

Autorelease adds the receiver to the current autorelease pool.

func (AXBrailleTable) EncodeWithCoder

func (a AXBrailleTable) EncodeWithCoder(coder foundation.INSCoder)

func (AXBrailleTable) Identifier

func (a AXBrailleTable) Identifier() string

A unique string that identifies this table.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/identifier

func (AXBrailleTable) Init

func (a AXBrailleTable) Init() AXBrailleTable

Init initializes the instance.

func (AXBrailleTable) InitWithIdentifier

func (a AXBrailleTable) InitWithIdentifier(identifier string) AXBrailleTable

Returns nil if there is no table with the given identifier.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/init(identifier:)

func (AXBrailleTable) IsEightDot

func (a AXBrailleTable) IsEightDot() bool

Returns true if this table makes use of eight dots as opposed to six dots.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/isEightDot

func (AXBrailleTable) Language

func (a AXBrailleTable) Language() string

The 3-character code from ISO 639-2 for the language this Braille table pertains to.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/language-3570f

func (AXBrailleTable) Locales

func (a AXBrailleTable) Locales() foundation.INSSet

All locales this table supports.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/locales

func (AXBrailleTable) LocalizedName

func (a AXBrailleTable) LocalizedName() string

The localized name of this table for user display.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/localizedName

func (AXBrailleTable) LocalizedProviderName

func (a AXBrailleTable) LocalizedProviderName() string

The localized name of the provider of this table for user display.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/localizedProviderName

func (AXBrailleTable) ProviderIdentifier

func (a AXBrailleTable) ProviderIdentifier() string

The identifier of the provider of this table.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/providerIdentifier

type AXBrailleTableClass

type AXBrailleTableClass struct {
	// contains filtered or unexported fields
}

func GetAXBrailleTableClass

func GetAXBrailleTableClass() AXBrailleTableClass

GetAXBrailleTableClass returns the class object for AXBrailleTable.

func (AXBrailleTableClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXBrailleTableClass) Class

func (ac AXBrailleTableClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (AXBrailleTableClass) DefaultTableForLocale

func (_AXBrailleTableClass AXBrailleTableClass) DefaultTableForLocale(locale foundation.NSLocale) AXBrailleTable

The default table that provides translations for the given locale’s language. Returns nil if there is none.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/defaultTable(for:)

func (AXBrailleTableClass) LanguageAgnosticTables

func (_AXBrailleTableClass AXBrailleTableClass) LanguageAgnosticTables() foundation.INSSet

All tables that are not specific to any language.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/languageAgnosticTables()

func (AXBrailleTableClass) SupportedLocales

func (_AXBrailleTableClass AXBrailleTableClass) SupportedLocales() foundation.INSSet

All locales supported by existing tables.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/supportedLocales()

func (AXBrailleTableClass) TablesForLocale

func (_AXBrailleTableClass AXBrailleTableClass) TablesForLocale(locale foundation.NSLocale) foundation.INSSet

All tables that provide translations for the given locale’s language.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/tables(for:)

type AXBrailleTranslationResult

type AXBrailleTranslationResult struct {
	objectivec.Object
}

The result of translation or back-translation.

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslationResult

func AXBrailleTranslationResultFromID

func AXBrailleTranslationResultFromID(id objc.ID) AXBrailleTranslationResult

AXBrailleTranslationResultFromID constructs a AXBrailleTranslationResult from an objc.ID.

The result of translation or back-translation.

func NewAXBrailleTranslationResult

func NewAXBrailleTranslationResult() AXBrailleTranslationResult

NewAXBrailleTranslationResult creates a new AXBrailleTranslationResult instance.

func (AXBrailleTranslationResult) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXBrailleTranslationResult) EncodeWithCoder

func (a AXBrailleTranslationResult) EncodeWithCoder(coder foundation.INSCoder)

func (AXBrailleTranslationResult) Init

Init initializes the instance.

func (AXBrailleTranslationResult) LocationMap

An array of integers that has the same length as the resultString. locationMap[i]-th character in the input string corresponds to resultString[i].

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslationResult/locationMap

func (AXBrailleTranslationResult) ResultString

func (a AXBrailleTranslationResult) ResultString() string

The resulting string after translation or back-translation.

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslationResult/resultString

type AXBrailleTranslationResultClass

type AXBrailleTranslationResultClass struct {
	// contains filtered or unexported fields
}

func GetAXBrailleTranslationResultClass

func GetAXBrailleTranslationResultClass() AXBrailleTranslationResultClass

GetAXBrailleTranslationResultClass returns the class object for AXBrailleTranslationResult.

func (AXBrailleTranslationResultClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXBrailleTranslationResultClass) Class

Class returns the underlying Objective-C class pointer.

type AXBrailleTranslator

type AXBrailleTranslator struct {
	objectivec.Object
}

Translates print text to Braille and Braille to print text according to the given Braille table.

Initializers

Instance Methods

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslator

func AXBrailleTranslatorFromID

func AXBrailleTranslatorFromID(id objc.ID) AXBrailleTranslator

AXBrailleTranslatorFromID constructs a AXBrailleTranslator from an objc.ID.

Translates print text to Braille and Braille to print text according to the given Braille table.

func NewAXBrailleTranslator

func NewAXBrailleTranslator() AXBrailleTranslator

NewAXBrailleTranslator creates a new AXBrailleTranslator instance.

func (AXBrailleTranslator) Autorelease

func (a AXBrailleTranslator) Autorelease() AXBrailleTranslator

Autorelease adds the receiver to the current autorelease pool.

func (AXBrailleTranslator) BackTranslateBraille

func (a AXBrailleTranslator) BackTranslateBraille(braille string) IAXBrailleTranslationResult

Input Braille should use the unicode Braille characters (0x2800-0x28FF).

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslator/backTranslateBraille(_:)

func (AXBrailleTranslator) Init

Init initializes the instance.

func (AXBrailleTranslator) TranslatePrintText

func (a AXBrailleTranslator) TranslatePrintText(printText string) IAXBrailleTranslationResult

Output Braille uses the unicode Braille characters (0x2800-0x28FF).

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslator/translatePrintText(_:)

type AXBrailleTranslatorClass

type AXBrailleTranslatorClass struct {
	// contains filtered or unexported fields
}

func GetAXBrailleTranslatorClass

func GetAXBrailleTranslatorClass() AXBrailleTranslatorClass

GetAXBrailleTranslatorClass returns the class object for AXBrailleTranslator.

func (AXBrailleTranslatorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXBrailleTranslatorClass) Class

func (ac AXBrailleTranslatorClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXCategoricalDataAxisDescriptor

type AXCategoricalDataAxisDescriptor struct {
	objectivec.Object
}

An object that represents an axis of categorical data.

Overview

A categorical data axis divides information into groups, or categories. For example, a categorical axis may represent blood type data divided into the possible categories AB, A, B, and O.

Creating a categorical data axis

Configuring the order of categories

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor

func AXCategoricalDataAxisDescriptorFromID

func AXCategoricalDataAxisDescriptorFromID(id objc.ID) AXCategoricalDataAxisDescriptor

AXCategoricalDataAxisDescriptorFromID constructs a AXCategoricalDataAxisDescriptor from an objc.ID.

An object that represents an axis of categorical data.

func NewAXCategoricalDataAxisDescriptor

func NewAXCategoricalDataAxisDescriptor() AXCategoricalDataAxisDescriptor

NewAXCategoricalDataAxisDescriptor creates a new AXCategoricalDataAxisDescriptor instance.

func NewAXCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder

func NewAXCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder(attributedTitle foundation.NSAttributedString, categoryOrder []string) AXCategoricalDataAxisDescriptor

Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor/init(attributedTitle:categoryOrder:)

func NewAXCategoricalDataAxisDescriptorWithTitleCategoryOrder

func NewAXCategoricalDataAxisDescriptorWithTitleCategoryOrder(title string, categoryOrder []string) AXCategoricalDataAxisDescriptor

Creates a categorical data axis with the specified title and an array of categories in the specified order.

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor/init(title:categoryOrder:)

func (AXCategoricalDataAxisDescriptor) AttributedTitle

An attributed version of the axis title.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle

func (AXCategoricalDataAxisDescriptor) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXCategoricalDataAxisDescriptor) CategoryOrder

func (a AXCategoricalDataAxisDescriptor) CategoryOrder() []string

A list of every category value for the axis in the order they appear visually in the graph or legend.

Discussion

If your categorical axis represents, for example, blood type data, and the legend lists AB, A, B, O in that order, provide an array that contains the strings `"AB"`, `"A"`, `"B"`, and `"O"` in the same order.

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor/categoryOrder

func (AXCategoricalDataAxisDescriptor) Init

Init initializes the instance.

func (AXCategoricalDataAxisDescriptor) InitWithAttributedTitleCategoryOrder

func (a AXCategoricalDataAxisDescriptor) InitWithAttributedTitleCategoryOrder(attributedTitle foundation.NSAttributedString, categoryOrder []string) AXCategoricalDataAxisDescriptor

Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor/init(attributedTitle:categoryOrder:)

func (AXCategoricalDataAxisDescriptor) InitWithTitleCategoryOrder

func (a AXCategoricalDataAxisDescriptor) InitWithTitleCategoryOrder(title string, categoryOrder []string) AXCategoricalDataAxisDescriptor

Creates a categorical data axis with the specified title and an array of categories in the specified order.

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor/init(title:categoryOrder:)

func (AXCategoricalDataAxisDescriptor) SetAttributedTitle

An attributed version of the axis title.

Discussion

If you set the value of this property, the system uses this value instead of [Title].

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle

func (AXCategoricalDataAxisDescriptor) SetCategoryOrder

func (a AXCategoricalDataAxisDescriptor) SetCategoryOrder(value []string)

func (AXCategoricalDataAxisDescriptor) SetTitle

func (o AXCategoricalDataAxisDescriptor) SetTitle(value string)

The title of the axis.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/title

func (AXCategoricalDataAxisDescriptor) Title

The title of the axis.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/title

type AXCategoricalDataAxisDescriptorClass

type AXCategoricalDataAxisDescriptorClass struct {
	// contains filtered or unexported fields
}

func GetAXCategoricalDataAxisDescriptorClass

func GetAXCategoricalDataAxisDescriptorClass() AXCategoricalDataAxisDescriptorClass

GetAXCategoricalDataAxisDescriptorClass returns the class object for AXCategoricalDataAxisDescriptor.

func (AXCategoricalDataAxisDescriptorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXCategoricalDataAxisDescriptorClass) Class

Class returns the underlying Objective-C class pointer.

type AXChart

type AXChart interface {
	objectivec.IObject

	// A semantic description of an accessible chart or graph in the form of a chart descriptor.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXChart/accessibilityChartDescriptor
	AccessibilityChartDescriptor() IAXChartDescriptor
	SetAccessibilityChartDescriptor(value IAXChartDescriptor)
}

A protocol that declares the minimum interface necessary for an accessibility element to act as a chart.

See: https://developer.apple.com/documentation/Accessibility/AXChart

type AXChartDescriptor

type AXChartDescriptor struct {
	objectivec.Object
}

An object that contains all the semantic information about an accessible chart.

Specifying the chart title

Specifying the chart summary

Specifying the axes

Specifying a series of data points

Specifying the content layout

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor

func AXChartDescriptorFromID

func AXChartDescriptorFromID(id objc.ID) AXChartDescriptor

AXChartDescriptorFromID constructs a AXChartDescriptor from an objc.ID.

An object that contains all the semantic information about an accessible chart.

func NewAXChartDescriptor

func NewAXChartDescriptor() AXChartDescriptor

NewAXChartDescriptor creates a new AXChartDescriptor instance.

func NewAXChartDescriptorWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries

func NewAXChartDescriptorWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(attributedTitle foundation.NSAttributedString, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, additionalAxes []objectivec.IObject, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified attributed title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:

func NewAXChartDescriptorWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries

func NewAXChartDescriptorWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries(attributedTitle foundation.NSAttributedString, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified attributed title, summary, x-axis descriptor, y-axis descriptor, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:series:

func NewAXChartDescriptorWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries

func NewAXChartDescriptorWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(title string, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, additionalAxes []objectivec.IObject, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:

func NewAXChartDescriptorWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries

func NewAXChartDescriptorWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries(title string, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:series:

func (AXChartDescriptor) AdditionalAxes

func (a AXChartDescriptor) AdditionalAxes() []objectivec.IObject

The descriptors for additional categorical or numerical axes beyond the x-axis and y-axis.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/additionalAxes-9ldc0

func (AXChartDescriptor) AttributedTitle

func (a AXChartDescriptor) AttributedTitle() foundation.NSAttributedString

An attributed version of the chart title.

Discussion

If you set the value of this property, the system uses this value instead of AXChartDescriptor.Title.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/attributedTitle

func (AXChartDescriptor) Autorelease

func (a AXChartDescriptor) Autorelease() AXChartDescriptor

Autorelease adds the receiver to the current autorelease pool.

func (AXChartDescriptor) ContentFrame

func (a AXChartDescriptor) ContentFrame() corefoundation.CGRect

The bounds of the view, in screen coordinates, for visually rendering data values.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/contentFrame

func (AXChartDescriptor) Init

Init initializes the instance.

func (AXChartDescriptor) InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries

func (a AXChartDescriptor) InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(attributedTitle foundation.NSAttributedString, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, additionalAxes []objectivec.IObject, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified attributed title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:

func (AXChartDescriptor) InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries

func (a AXChartDescriptor) InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries(attributedTitle foundation.NSAttributedString, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified attributed title, summary, x-axis descriptor, y-axis descriptor, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:series:

func (AXChartDescriptor) InitWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries

func (a AXChartDescriptor) InitWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(title string, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, additionalAxes []objectivec.IObject, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:

func (AXChartDescriptor) InitWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries

func (a AXChartDescriptor) InitWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries(title string, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, series []AXDataSeriesDescriptor) AXChartDescriptor

Creates a chart descriptor with the specified title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:series:

func (AXChartDescriptor) Series

The descriptors for each data series in the chart.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/series

func (AXChartDescriptor) SetAdditionalAxes

func (a AXChartDescriptor) SetAdditionalAxes(value []objectivec.IObject)

func (AXChartDescriptor) SetAttributedTitle

func (a AXChartDescriptor) SetAttributedTitle(value foundation.NSAttributedString)

func (AXChartDescriptor) SetContentDirection

func (a AXChartDescriptor) SetContentDirection(value AXChartDescriptorContentDirection)

func (AXChartDescriptor) SetContentFrame

func (a AXChartDescriptor) SetContentFrame(value corefoundation.CGRect)

func (AXChartDescriptor) SetSeries

func (a AXChartDescriptor) SetSeries(value []AXDataSeriesDescriptor)

func (AXChartDescriptor) SetSummary

func (a AXChartDescriptor) SetSummary(value string)

func (AXChartDescriptor) SetTitle

func (a AXChartDescriptor) SetTitle(value string)

func (AXChartDescriptor) SetXAxis

func (a AXChartDescriptor) SetXAxis(value AXDataAxisDescriptor)

func (AXChartDescriptor) SetYAxis

func (AXChartDescriptor) Summary

func (a AXChartDescriptor) Summary() string

A description of the key takeaways or features of the chart.

Discussion

Provide a string that includes a brief description of the main takeaways or insights that the chart offers, for example, “The chart shows that fuel efficiency decreases as vehicle weight increases.”

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/summary

func (AXChartDescriptor) Title

func (a AXChartDescriptor) Title() string

The title of the chart.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/title

func (AXChartDescriptor) XAxis

The axis descriptor for the chart’s x-axis.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/xAxis-6dnxd

func (AXChartDescriptor) YAxis

The axis descriptor for the chart’s y-axis.

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/yAxis

type AXChartDescriptorClass

type AXChartDescriptorClass struct {
	// contains filtered or unexported fields
}

func GetAXChartDescriptorClass

func GetAXChartDescriptorClass() AXChartDescriptorClass

GetAXChartDescriptorClass returns the class object for AXChartDescriptor.

func (AXChartDescriptorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXChartDescriptorClass) Class

func (ac AXChartDescriptorClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXChartDescriptorContentDirection

type AXChartDescriptorContentDirection int

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/ContentDirection-swift.enum

const (
	// AXChartContentDirectionBottomToTop: A content direction with an x-axis that increases from bottom to top.
	AXChartContentDirectionBottomToTop AXChartDescriptorContentDirection = 3
	// AXChartContentDirectionLeftToRight: A content direction with an x-axis that increases from left to right.
	AXChartContentDirectionLeftToRight AXChartDescriptorContentDirection = 0
	// AXChartContentDirectionRadialClockwise: A content direction with a radial x-axis that increases clockwise.
	AXChartContentDirectionRadialClockwise AXChartDescriptorContentDirection = 4
	// AXChartContentDirectionRadialCounterClockwise: A content direction with a radial x-axis that increases counterclockwise.
	AXChartContentDirectionRadialCounterClockwise AXChartDescriptorContentDirection = 5
	// AXChartContentDirectionRightToLeft: A content direction with an x-axis that increases from right to left.
	AXChartContentDirectionRightToLeft AXChartDescriptorContentDirection = 1
	// AXChartContentDirectionTopToBottom: A content direction with an x-axis that increases from top to bottom.
	AXChartContentDirectionTopToBottom AXChartDescriptorContentDirection = 2
)

func (AXChartDescriptorContentDirection) String

type AXChartObject

type AXChartObject struct {
	objectivec.Object
}

AXChartObject wraps an existing Objective-C object that conforms to the AXChart protocol.

func AXChartObjectFromID

func AXChartObjectFromID(id objc.ID) AXChartObject

AXChartObjectFromID constructs a AXChartObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (AXChartObject) AccessibilityChartDescriptor

func (o AXChartObject) AccessibilityChartDescriptor() IAXChartDescriptor

A semantic description of an accessible chart or graph in the form of a chart descriptor.

See: https://developer.apple.com/documentation/Accessibility/AXChart/accessibilityChartDescriptor

func (AXChartObject) BaseObject

func (o AXChartObject) BaseObject() objectivec.Object

func (AXChartObject) SetAccessibilityChartDescriptor

func (o AXChartObject) SetAccessibilityChartDescriptor(value IAXChartDescriptor)

type AXCustomContent

type AXCustomContent struct {
	objectivec.Object
}

Objects that define custom content and the timing of its output.

Overview

An AXCustomContent object contains the accessibility strings for the labels you apply to your accessibility content. Combine them with the AXCustomContentProvider protocol to allow your users to experience the content in a more appropriate manner for each assistive technology.

Creating custom content

Defining custom content

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent

func AXCustomContentFromID

func AXCustomContentFromID(id objc.ID) AXCustomContent

AXCustomContentFromID constructs a AXCustomContent from an objc.ID.

Objects that define custom content and the timing of its output.

func NewAXCustomContent

func NewAXCustomContent() AXCustomContent

NewAXCustomContent creates a new AXCustomContent instance.

func NewAXCustomContentWithAttributedLabelAttributedValue

func NewAXCustomContentWithAttributedLabelAttributedValue(label foundation.NSAttributedString, value foundation.NSAttributedString) AXCustomContent

Creates new custom content with an attributed string and attributed value.

label: A localized attributed string that identifies the label for this content.

value: A localized attributed string that provides a value for the label.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/init(attributedLabel:attributedValue:)

func NewAXCustomContentWithLabelValue

func NewAXCustomContentWithLabelValue(label string, value string) AXCustomContent

Creates new custom content with a label and value.

label: A localized string that identifies the label for this content.

value: A localized string that provides a value for the label.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/init(label:value:)

func (AXCustomContent) AttributedLabel

func (a AXCustomContent) AttributedLabel() foundation.NSAttributedString

A localized attributed string that identifies the label for this content.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/attributedLabel

func (AXCustomContent) AttributedValue

func (a AXCustomContent) AttributedValue() foundation.NSAttributedString

A localized attributed string that provides a value for the label.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/attributedValue

func (AXCustomContent) Autorelease

func (a AXCustomContent) Autorelease() AXCustomContent

Autorelease adds the receiver to the current autorelease pool.

func (AXCustomContent) EncodeWithCoder

func (a AXCustomContent) EncodeWithCoder(coder foundation.INSCoder)

func (AXCustomContent) Importance

An object that determines when to output custom accessibility content.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/importance-swift.property

func (AXCustomContent) Init

Init initializes the instance.

func (AXCustomContent) Label

func (a AXCustomContent) Label() string

A localized string that identifies the label for this content.

Discussion

Make the label succinct to work well with assistive technology. For example, [Orientation] is an appropriate name for photo information.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/label

func (AXCustomContent) SetImportance

func (a AXCustomContent) SetImportance(value AXCustomContentImportance)

func (AXCustomContent) Value

func (a AXCustomContent) Value() string

A localized string that provides a value for the label.

Discussion

Make the value succinct to work well with assistive technology. For example, either [Portrait] or [Landscape] is an appropriate content value for an [Orientation] label on a photo.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/value

type AXCustomContentClass

type AXCustomContentClass struct {
	// contains filtered or unexported fields
}

func GetAXCustomContentClass

func GetAXCustomContentClass() AXCustomContentClass

GetAXCustomContentClass returns the class object for AXCustomContent.

func (AXCustomContentClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXCustomContentClass) Class

func (ac AXCustomContentClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXCustomContentImportance

type AXCustomContentImportance uint

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/Importance-swift.enum

const (
	// AXCustomContentImportanceDefault: Output the content to the user on demand.
	AXCustomContentImportanceDefault AXCustomContentImportance = 0
	// AXCustomContentImportanceHigh: Output the content to the user immediately.
	AXCustomContentImportanceHigh AXCustomContentImportance = 1
)

func (AXCustomContentImportance) String

func (e AXCustomContentImportance) String() string

type AXCustomContentProvider

type AXCustomContentProvider interface {
	objectivec.IObject

	// An array of custom objects for creating accessible content.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXCustomContentProvider/accessibilityCustomContent
	AccessibilityCustomContent() []AXCustomContent
	SetAccessibilityCustomContent(value []AXCustomContent)

	// accessibilityCustomContentBlock protocol.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXCustomContentProvider/accessibilityCustomContentBlock
	AccessibilityCustomContentBlock() AXCustomContentReturnBlock
	SetAccessibilityCustomContentBlock(value objc.ID)
}

The interface for customizing the accessibility content.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContentProvider

type AXCustomContentProviderObject

type AXCustomContentProviderObject struct {
	objectivec.Object
}

AXCustomContentProviderObject wraps an existing Objective-C object that conforms to the AXCustomContentProvider protocol.

func AXCustomContentProviderObjectFromID

func AXCustomContentProviderObjectFromID(id objc.ID) AXCustomContentProviderObject

AXCustomContentProviderObjectFromID constructs a AXCustomContentProviderObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (AXCustomContentProviderObject) AccessibilityCustomContent

func (o AXCustomContentProviderObject) AccessibilityCustomContent() []AXCustomContent

An array of custom objects for creating accessible content.

See: https://developer.apple.com/documentation/Accessibility/AXCustomContentProvider/accessibilityCustomContent

func (AXCustomContentProviderObject) BaseObject

func (AXCustomContentProviderObject) SetAccessibilityCustomContent

func (o AXCustomContentProviderObject) SetAccessibilityCustomContent(value []AXCustomContent)

func (AXCustomContentProviderObject) SetAccessibilityCustomContentBlock

func (o AXCustomContentProviderObject) SetAccessibilityCustomContentBlock(value objc.ID)

type AXCustomContentVoidHandler

type AXCustomContentVoidHandler = func() []AXCustomContent

AXCustomContentVoidHandler is the signature for a completion handler block.

type AXDataAxisDescriptor

type AXDataAxisDescriptor interface {
	objectivec.IObject
	foundation.NSCopying

	// The title of the axis.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/title
	Title() string
	SetTitle(value string)

	// An attributed version of the axis title.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle
	AttributedTitle() foundation.NSAttributedString
	SetAttributedTitle(value foundation.NSAttributedString)
}

The basic interface for a data axis in a chart.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor

type AXDataAxisDescriptorObject

type AXDataAxisDescriptorObject struct {
	foundation.NSCopyingObject
}

AXDataAxisDescriptorObject wraps an existing Objective-C object that conforms to the AXDataAxisDescriptor protocol.

func AXDataAxisDescriptorObjectFromID

func AXDataAxisDescriptorObjectFromID(id objc.ID) AXDataAxisDescriptorObject

AXDataAxisDescriptorObjectFromID constructs a AXDataAxisDescriptorObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (AXDataAxisDescriptorObject) AttributedTitle

An attributed version of the axis title.

Discussion

If you set the value of this property, the system uses this value instead of [Title].

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle

func (AXDataAxisDescriptorObject) BaseObject

func (AXDataAxisDescriptorObject) SetAttributedTitle

func (o AXDataAxisDescriptorObject) SetAttributedTitle(value foundation.NSAttributedString)

func (AXDataAxisDescriptorObject) SetTitle

func (o AXDataAxisDescriptorObject) SetTitle(value string)

func (AXDataAxisDescriptorObject) Title

The title of the axis.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/title

type AXDataPoint

type AXDataPoint struct {
	objectivec.Object
}

An object that represents a single data point in a chart.

Specifying the data value

Specifying the label

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint

func AXDataPointFromID

func AXDataPointFromID(id objc.ID) AXDataPoint

AXDataPointFromID constructs a AXDataPoint from an objc.ID.

An object that represents a single data point in a chart.

func NewAXDataPoint

func NewAXDataPoint() AXDataPoint

NewAXDataPoint creates a new AXDataPoint instance.

func NewAXDataPointWithXY

func NewAXDataPointWithXY(xValue IAXDataPointValue, yValue IAXDataPointValue) AXDataPoint

Creates a data point with the specified x- and y-values.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/initWithX:y:

func NewAXDataPointWithXYAdditionalValues

func NewAXDataPointWithXYAdditionalValues(xValue IAXDataPointValue, yValue IAXDataPointValue, additionalValues []AXDataPointValue) AXDataPoint

Creates a data point with the specified x-value, y-value, and additional values.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/initWithX:y:additionalValues:

func NewAXDataPointWithXYAdditionalValuesLabel

func NewAXDataPointWithXYAdditionalValuesLabel(xValue IAXDataPointValue, yValue IAXDataPointValue, additionalValues []AXDataPointValue, label string) AXDataPoint

Creates a data point with the specified x-value, y-value, additional values, and label.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/initWithX:y:additionalValues:label:

func (AXDataPoint) AdditionalValues

func (a AXDataPoint) AdditionalValues() []AXDataPointValue

An array of values for additional axes for the data point.

Discussion

Provide these values in the same order as their corresponding AXDataAxisDescriptor objects in additionalAxes.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/additionalValues

func (AXDataPoint) AttributedLabel

func (a AXDataPoint) AttributedLabel() foundation.NSAttributedString

An attributed version of the label for the data point.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/attributedLabel

func (AXDataPoint) Autorelease

func (a AXDataPoint) Autorelease() AXDataPoint

Autorelease adds the receiver to the current autorelease pool.

func (AXDataPoint) Init

func (a AXDataPoint) Init() AXDataPoint

Init initializes the instance.

func (AXDataPoint) InitWithXY

func (a AXDataPoint) InitWithXY(xValue IAXDataPointValue, yValue IAXDataPointValue) AXDataPoint

Creates a data point with the specified x- and y-values.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/initWithX:y:

func (AXDataPoint) InitWithXYAdditionalValues

func (a AXDataPoint) InitWithXYAdditionalValues(xValue IAXDataPointValue, yValue IAXDataPointValue, additionalValues []AXDataPointValue) AXDataPoint

Creates a data point with the specified x-value, y-value, and additional values.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/initWithX:y:additionalValues:

func (AXDataPoint) InitWithXYAdditionalValuesLabel

func (a AXDataPoint) InitWithXYAdditionalValuesLabel(xValue IAXDataPointValue, yValue IAXDataPointValue, additionalValues []AXDataPointValue, label string) AXDataPoint

Creates a data point with the specified x-value, y-value, additional values, and label.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/initWithX:y:additionalValues:label:

func (AXDataPoint) Label

func (a AXDataPoint) Label() string

The label for the data point.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/label

func (AXDataPoint) SetAdditionalValues

func (a AXDataPoint) SetAdditionalValues(value []AXDataPointValue)

func (AXDataPoint) SetAttributedLabel

func (a AXDataPoint) SetAttributedLabel(value foundation.NSAttributedString)

func (AXDataPoint) SetLabel

func (a AXDataPoint) SetLabel(value string)

func (AXDataPoint) SetXValue

func (a AXDataPoint) SetXValue(value IAXDataPointValue)

func (AXDataPoint) SetYValue

func (a AXDataPoint) SetYValue(value IAXDataPointValue)

func (AXDataPoint) XValue

func (a AXDataPoint) XValue() IAXDataPointValue

The value of the x-axis for the data point.

Discussion

Use a `double` value for a numeric x-axis, or an NSString value for a categorical x-axis.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/xValue

func (AXDataPoint) YValue

func (a AXDataPoint) YValue() IAXDataPointValue

The value of the y-axis for the data point.

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint/yValue

type AXDataPointClass

type AXDataPointClass struct {
	// contains filtered or unexported fields
}

func GetAXDataPointClass

func GetAXDataPointClass() AXDataPointClass

GetAXDataPointClass returns the class object for AXDataPoint.

func (AXDataPointClass) Alloc

func (ac AXDataPointClass) Alloc() AXDataPoint

Alloc allocates memory for a new instance of the class.

func (AXDataPointClass) Class

func (ac AXDataPointClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXDataPointValue

type AXDataPointValue struct {
	objectivec.Object
}

A single data value.

Overview

An AXDataPointValue can be either numeric or categorical. Data points in a numeric axis use the AXDataPointValue.Number property, and data points in a categorical axis use the AXDataPointValue.Category property.

See: https://developer.apple.com/documentation/Accessibility/AXDataPointValue

func AXDataPointValueFromID

func AXDataPointValueFromID(id objc.ID) AXDataPointValue

AXDataPointValueFromID constructs a AXDataPointValue from an objc.ID.

A single data value.

func NewAXDataPointValue

func NewAXDataPointValue() AXDataPointValue

NewAXDataPointValue creates a new AXDataPointValue instance.

func (AXDataPointValue) Autorelease

func (a AXDataPointValue) Autorelease() AXDataPointValue

Autorelease adds the receiver to the current autorelease pool.

func (AXDataPointValue) Category

func (a AXDataPointValue) Category() string

A string that represents the categorical data value.

See: https://developer.apple.com/documentation/Accessibility/AXDataPointValue/category

func (AXDataPointValue) Init

Init initializes the instance.

func (AXDataPointValue) Number

func (a AXDataPointValue) Number() float64

A number that represents the numeric data value.

See: https://developer.apple.com/documentation/Accessibility/AXDataPointValue/number

func (AXDataPointValue) SetCategory

func (a AXDataPointValue) SetCategory(value string)

func (AXDataPointValue) SetNumber

func (a AXDataPointValue) SetNumber(value float64)

type AXDataPointValueClass

type AXDataPointValueClass struct {
	// contains filtered or unexported fields
}

func GetAXDataPointValueClass

func GetAXDataPointValueClass() AXDataPointValueClass

GetAXDataPointValueClass returns the class object for AXDataPointValue.

func (AXDataPointValueClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXDataPointValueClass) Class

func (ac AXDataPointValueClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (AXDataPointValueClass) ValueWithCategory

func (_AXDataPointValueClass AXDataPointValueClass) ValueWithCategory(category string) AXDataPointValue

Creates a categorical data value with the specified category string.

See: https://developer.apple.com/documentation/Accessibility/AXDataPointValue/valueWithCategory:

func (AXDataPointValueClass) ValueWithNumber

func (_AXDataPointValueClass AXDataPointValueClass) ValueWithNumber(number float64) AXDataPointValue

Creates a numeric data value with the specified number.

See: https://developer.apple.com/documentation/Accessibility/AXDataPointValue/valueWithNumber:

type AXDataSeriesDescriptor

type AXDataSeriesDescriptor struct {
	objectivec.Object
}

An object that represents a series of data points.

Creating a data series

Naming the series

Configuring the data points

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor

func AXDataSeriesDescriptorFromID

func AXDataSeriesDescriptorFromID(id objc.ID) AXDataSeriesDescriptor

AXDataSeriesDescriptorFromID constructs a AXDataSeriesDescriptor from an objc.ID.

An object that represents a series of data points.

func NewAXDataSeriesDescriptor

func NewAXDataSeriesDescriptor() AXDataSeriesDescriptor

NewAXDataSeriesDescriptor creates a new AXDataSeriesDescriptor instance.

func NewAXDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints

func NewAXDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints(attributedName foundation.NSAttributedString, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor

Creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/init(attributedName:isContinuous:dataPoints:)

func NewAXDataSeriesDescriptorWithNameIsContinuousDataPoints

func NewAXDataSeriesDescriptorWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor

Creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/init(name:isContinuous:dataPoints:)

func (AXDataSeriesDescriptor) AttributedName

An attributed version of the data series name.

Discussion

If you set the value of this property, the system uses this value instead of AXDataSeriesDescriptor.Name.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/attributedName

func (AXDataSeriesDescriptor) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXDataSeriesDescriptor) DataPoints

func (a AXDataSeriesDescriptor) DataPoints() []AXDataPoint

The data points that the series contains.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/dataPoints

func (AXDataSeriesDescriptor) Init

Init initializes the instance.

func (AXDataSeriesDescriptor) InitWithAttributedNameIsContinuousDataPoints

func (a AXDataSeriesDescriptor) InitWithAttributedNameIsContinuousDataPoints(attributedName foundation.NSAttributedString, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor

Creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/init(attributedName:isContinuous:dataPoints:)

func (AXDataSeriesDescriptor) InitWithNameIsContinuousDataPoints

func (a AXDataSeriesDescriptor) InitWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor

Creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/init(name:isContinuous:dataPoints:)

func (AXDataSeriesDescriptor) IsContinuous

func (a AXDataSeriesDescriptor) IsContinuous() bool

A Boolean value that determines whether the data series is continuous.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/isContinuous

func (AXDataSeriesDescriptor) Name

func (a AXDataSeriesDescriptor) Name() string

The name of the data series.

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor/name

func (AXDataSeriesDescriptor) SetAttributedName

func (a AXDataSeriesDescriptor) SetAttributedName(value foundation.NSAttributedString)

func (AXDataSeriesDescriptor) SetDataPoints

func (a AXDataSeriesDescriptor) SetDataPoints(value []AXDataPoint)

func (AXDataSeriesDescriptor) SetIsContinuous

func (a AXDataSeriesDescriptor) SetIsContinuous(value bool)

func (AXDataSeriesDescriptor) SetName

func (a AXDataSeriesDescriptor) SetName(value string)

type AXDataSeriesDescriptorClass

type AXDataSeriesDescriptorClass struct {
	// contains filtered or unexported fields
}

func GetAXDataSeriesDescriptorClass

func GetAXDataSeriesDescriptorClass() AXDataSeriesDescriptorClass

GetAXDataSeriesDescriptorClass returns the class object for AXDataSeriesDescriptor.

func (AXDataSeriesDescriptorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXDataSeriesDescriptorClass) Class

Class returns the underlying Objective-C class pointer.

type AXHearingDeviceEar

type AXHearingDeviceEar uint

See: https://developer.apple.com/documentation/Accessibility/AXMFiHearingDevice/Ear

const (
	// AXHearingDeviceEarBoth: A constant that represents both ears.
	AXHearingDeviceEarBoth AXHearingDeviceEar = 6
	// AXHearingDeviceEarLeft: A constant that represents the left ear.
	AXHearingDeviceEarLeft AXHearingDeviceEar = 2
	// AXHearingDeviceEarNone: A constant that represents neither ear.
	AXHearingDeviceEarNone AXHearingDeviceEar = 0
	// AXHearingDeviceEarRight: A constant that represents the right ear.
	AXHearingDeviceEarRight AXHearingDeviceEar = 4
)

func (AXHearingDeviceEar) String

func (e AXHearingDeviceEar) String() string

type AXLiveAudioGraph

type AXLiveAudioGraph struct {
	objectivec.Object
}

An object that represents an audio graph for a live-updating, continuous data series for VoiceOver.

Overview

Use AXLiveAudioGraph to interact with an ongoing, continuous stream of data that updates with new data in real time.

See: https://developer.apple.com/documentation/Accessibility/AXLiveAudioGraph

func AXLiveAudioGraphFromID

func AXLiveAudioGraphFromID(id objc.ID) AXLiveAudioGraph

AXLiveAudioGraphFromID constructs a AXLiveAudioGraph from an objc.ID.

An object that represents an audio graph for a live-updating, continuous data series for VoiceOver.

func NewAXLiveAudioGraph

func NewAXLiveAudioGraph() AXLiveAudioGraph

NewAXLiveAudioGraph creates a new AXLiveAudioGraph instance.

func (AXLiveAudioGraph) Autorelease

func (a AXLiveAudioGraph) Autorelease() AXLiveAudioGraph

Autorelease adds the receiver to the current autorelease pool.

func (AXLiveAudioGraph) Init

Init initializes the instance.

type AXLiveAudioGraphClass

type AXLiveAudioGraphClass struct {
	// contains filtered or unexported fields
}

func GetAXLiveAudioGraphClass

func GetAXLiveAudioGraphClass() AXLiveAudioGraphClass

GetAXLiveAudioGraphClass returns the class object for AXLiveAudioGraph.

func (AXLiveAudioGraphClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXLiveAudioGraphClass) Class

func (ac AXLiveAudioGraphClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

func (AXLiveAudioGraphClass) Start

func (_AXLiveAudioGraphClass AXLiveAudioGraphClass) Start()

Begins the live audio graph session.

See: https://developer.apple.com/documentation/Accessibility/AXLiveAudioGraph/start()

func (AXLiveAudioGraphClass) Stop

func (_AXLiveAudioGraphClass AXLiveAudioGraphClass) Stop()

Ends the live audio graph session.

See: https://developer.apple.com/documentation/Accessibility/AXLiveAudioGraph/stop()

func (AXLiveAudioGraphClass) UpdateValue

func (_AXLiveAudioGraphClass AXLiveAudioGraphClass) UpdateValue(value float64)

Sets the pitch of the audio graph’s tone.

value: A normalized value in the range [`0.0`, `1.0`], where `0.0` represents the minimum displayable y-axis value for your data series, and `1.0` represents the maximum displayable y-axis value for your data series.

See: https://developer.apple.com/documentation/Accessibility/AXLiveAudioGraph/updateValue(_:)

type AXMathExpression

type AXMathExpression struct {
	objectivec.Object
}

See: https://developer.apple.com/documentation/Accessibility/AXMathExpression

func AXMathExpressionFromID

func AXMathExpressionFromID(id objc.ID) AXMathExpression

AXMathExpressionFromID constructs a AXMathExpression from an objc.ID.

func NewAXMathExpression

func NewAXMathExpression() AXMathExpression

NewAXMathExpression creates a new AXMathExpression instance.

func (AXMathExpression) Autorelease

func (a AXMathExpression) Autorelease() AXMathExpression

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpression) Init

Init initializes the instance.

type AXMathExpressionClass

type AXMathExpressionClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionClass

func GetAXMathExpressionClass() AXMathExpressionClass

GetAXMathExpressionClass returns the class object for AXMathExpression.

func (AXMathExpressionClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionClass) Class

func (ac AXMathExpressionClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionFenced

type AXMathExpressionFenced struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFenced

func AXMathExpressionFencedFromID

func AXMathExpressionFencedFromID(id objc.ID) AXMathExpressionFenced

AXMathExpressionFencedFromID constructs a AXMathExpressionFenced from an objc.ID.

func NewAXMathExpressionFenced

func NewAXMathExpressionFenced() AXMathExpressionFenced

NewAXMathExpressionFenced creates a new AXMathExpressionFenced instance.

func (AXMathExpressionFenced) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionFenced) Init

Init initializes the instance.

type AXMathExpressionFencedClass

type AXMathExpressionFencedClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionFencedClass

func GetAXMathExpressionFencedClass() AXMathExpressionFencedClass

GetAXMathExpressionFencedClass returns the class object for AXMathExpressionFenced.

func (AXMathExpressionFencedClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionFencedClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionFraction

type AXMathExpressionFraction struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFraction

func AXMathExpressionFractionFromID

func AXMathExpressionFractionFromID(id objc.ID) AXMathExpressionFraction

AXMathExpressionFractionFromID constructs a AXMathExpressionFraction from an objc.ID.

func NewAXMathExpressionFraction

func NewAXMathExpressionFraction() AXMathExpressionFraction

NewAXMathExpressionFraction creates a new AXMathExpressionFraction instance.

func (AXMathExpressionFraction) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionFraction) Init

Init initializes the instance.

type AXMathExpressionFractionClass

type AXMathExpressionFractionClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionFractionClass

func GetAXMathExpressionFractionClass() AXMathExpressionFractionClass

GetAXMathExpressionFractionClass returns the class object for AXMathExpressionFraction.

func (AXMathExpressionFractionClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionFractionClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionIdentifier

type AXMathExpressionIdentifier struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionIdentifier

func AXMathExpressionIdentifierFromID

func AXMathExpressionIdentifierFromID(id objc.ID) AXMathExpressionIdentifier

AXMathExpressionIdentifierFromID constructs a AXMathExpressionIdentifier from an objc.ID.

func NewAXMathExpressionIdentifier

func NewAXMathExpressionIdentifier() AXMathExpressionIdentifier

NewAXMathExpressionIdentifier creates a new AXMathExpressionIdentifier instance.

func (AXMathExpressionIdentifier) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionIdentifier) Init

Init initializes the instance.

type AXMathExpressionIdentifierClass

type AXMathExpressionIdentifierClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionIdentifierClass

func GetAXMathExpressionIdentifierClass() AXMathExpressionIdentifierClass

GetAXMathExpressionIdentifierClass returns the class object for AXMathExpressionIdentifier.

func (AXMathExpressionIdentifierClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionIdentifierClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionMultiscript

type AXMathExpressionMultiscript struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionMultiscript

func AXMathExpressionMultiscriptFromID

func AXMathExpressionMultiscriptFromID(id objc.ID) AXMathExpressionMultiscript

AXMathExpressionMultiscriptFromID constructs a AXMathExpressionMultiscript from an objc.ID.

func NewAXMathExpressionMultiscript

func NewAXMathExpressionMultiscript() AXMathExpressionMultiscript

NewAXMathExpressionMultiscript creates a new AXMathExpressionMultiscript instance.

func (AXMathExpressionMultiscript) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionMultiscript) Init

Init initializes the instance.

type AXMathExpressionMultiscriptClass

type AXMathExpressionMultiscriptClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionMultiscriptClass

func GetAXMathExpressionMultiscriptClass() AXMathExpressionMultiscriptClass

GetAXMathExpressionMultiscriptClass returns the class object for AXMathExpressionMultiscript.

func (AXMathExpressionMultiscriptClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionMultiscriptClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionNumber

type AXMathExpressionNumber struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionNumber

func AXMathExpressionNumberFromID

func AXMathExpressionNumberFromID(id objc.ID) AXMathExpressionNumber

AXMathExpressionNumberFromID constructs a AXMathExpressionNumber from an objc.ID.

func NewAXMathExpressionNumber

func NewAXMathExpressionNumber() AXMathExpressionNumber

NewAXMathExpressionNumber creates a new AXMathExpressionNumber instance.

func (AXMathExpressionNumber) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionNumber) Init

Init initializes the instance.

type AXMathExpressionNumberClass

type AXMathExpressionNumberClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionNumberClass

func GetAXMathExpressionNumberClass() AXMathExpressionNumberClass

GetAXMathExpressionNumberClass returns the class object for AXMathExpressionNumber.

func (AXMathExpressionNumberClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionNumberClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionOperator

type AXMathExpressionOperator struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionOperator

func AXMathExpressionOperatorFromID

func AXMathExpressionOperatorFromID(id objc.ID) AXMathExpressionOperator

AXMathExpressionOperatorFromID constructs a AXMathExpressionOperator from an objc.ID.

func NewAXMathExpressionOperator

func NewAXMathExpressionOperator() AXMathExpressionOperator

NewAXMathExpressionOperator creates a new AXMathExpressionOperator instance.

func (AXMathExpressionOperator) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionOperator) Init

Init initializes the instance.

type AXMathExpressionOperatorClass

type AXMathExpressionOperatorClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionOperatorClass

func GetAXMathExpressionOperatorClass() AXMathExpressionOperatorClass

GetAXMathExpressionOperatorClass returns the class object for AXMathExpressionOperator.

func (AXMathExpressionOperatorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionOperatorClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionProvider

type AXMathExpressionProvider interface {
	objectivec.IObject

	// AccessibilityMathExpression protocol.
	//
	// See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionProvider/accessibilityMathExpression()
	AccessibilityMathExpression() IAXMathExpression
}

AXMathExpressionProvider protocol.

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionProvider

type AXMathExpressionProviderObject

type AXMathExpressionProviderObject struct {
	objectivec.Object
}

AXMathExpressionProviderObject wraps an existing Objective-C object that conforms to the AXMathExpressionProvider protocol.

func AXMathExpressionProviderObjectFromID

func AXMathExpressionProviderObjectFromID(id objc.ID) AXMathExpressionProviderObject

AXMathExpressionProviderObjectFromID constructs a AXMathExpressionProviderObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (AXMathExpressionProviderObject) BaseObject

type AXMathExpressionRoot

type AXMathExpressionRoot struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRoot

func AXMathExpressionRootFromID

func AXMathExpressionRootFromID(id objc.ID) AXMathExpressionRoot

AXMathExpressionRootFromID constructs a AXMathExpressionRoot from an objc.ID.

func NewAXMathExpressionRoot

func NewAXMathExpressionRoot() AXMathExpressionRoot

NewAXMathExpressionRoot creates a new AXMathExpressionRoot instance.

func (AXMathExpressionRoot) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionRoot) Init

Init initializes the instance.

type AXMathExpressionRootClass

type AXMathExpressionRootClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionRootClass

func GetAXMathExpressionRootClass() AXMathExpressionRootClass

GetAXMathExpressionRootClass returns the class object for AXMathExpressionRoot.

func (AXMathExpressionRootClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionRootClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionRow

type AXMathExpressionRow struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRow

func AXMathExpressionRowFromID

func AXMathExpressionRowFromID(id objc.ID) AXMathExpressionRow

AXMathExpressionRowFromID constructs a AXMathExpressionRow from an objc.ID.

func NewAXMathExpressionRow

func NewAXMathExpressionRow() AXMathExpressionRow

NewAXMathExpressionRow creates a new AXMathExpressionRow instance.

func (AXMathExpressionRow) Autorelease

func (a AXMathExpressionRow) Autorelease() AXMathExpressionRow

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionRow) Init

Init initializes the instance.

type AXMathExpressionRowClass

type AXMathExpressionRowClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionRowClass

func GetAXMathExpressionRowClass() AXMathExpressionRowClass

GetAXMathExpressionRowClass returns the class object for AXMathExpressionRow.

func (AXMathExpressionRowClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionRowClass) Class

func (ac AXMathExpressionRowClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionSubSuperscript

type AXMathExpressionSubSuperscript struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionSubSuperscript

func AXMathExpressionSubSuperscriptFromID

func AXMathExpressionSubSuperscriptFromID(id objc.ID) AXMathExpressionSubSuperscript

AXMathExpressionSubSuperscriptFromID constructs a AXMathExpressionSubSuperscript from an objc.ID.

func NewAXMathExpressionSubSuperscript

func NewAXMathExpressionSubSuperscript() AXMathExpressionSubSuperscript

NewAXMathExpressionSubSuperscript creates a new AXMathExpressionSubSuperscript instance.

func (AXMathExpressionSubSuperscript) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionSubSuperscript) Init

Init initializes the instance.

type AXMathExpressionSubSuperscriptClass

type AXMathExpressionSubSuperscriptClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionSubSuperscriptClass

func GetAXMathExpressionSubSuperscriptClass() AXMathExpressionSubSuperscriptClass

GetAXMathExpressionSubSuperscriptClass returns the class object for AXMathExpressionSubSuperscript.

func (AXMathExpressionSubSuperscriptClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionSubSuperscriptClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionTable

type AXMathExpressionTable struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTable

func AXMathExpressionTableFromID

func AXMathExpressionTableFromID(id objc.ID) AXMathExpressionTable

AXMathExpressionTableFromID constructs a AXMathExpressionTable from an objc.ID.

func NewAXMathExpressionTable

func NewAXMathExpressionTable() AXMathExpressionTable

NewAXMathExpressionTable creates a new AXMathExpressionTable instance.

func (AXMathExpressionTable) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionTable) Init

Init initializes the instance.

type AXMathExpressionTableCell

type AXMathExpressionTableCell struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableCell

func AXMathExpressionTableCellFromID

func AXMathExpressionTableCellFromID(id objc.ID) AXMathExpressionTableCell

AXMathExpressionTableCellFromID constructs a AXMathExpressionTableCell from an objc.ID.

func NewAXMathExpressionTableCell

func NewAXMathExpressionTableCell() AXMathExpressionTableCell

NewAXMathExpressionTableCell creates a new AXMathExpressionTableCell instance.

func (AXMathExpressionTableCell) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionTableCell) Init

Init initializes the instance.

type AXMathExpressionTableCellClass

type AXMathExpressionTableCellClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionTableCellClass

func GetAXMathExpressionTableCellClass() AXMathExpressionTableCellClass

GetAXMathExpressionTableCellClass returns the class object for AXMathExpressionTableCell.

func (AXMathExpressionTableCellClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionTableCellClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionTableClass

type AXMathExpressionTableClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionTableClass

func GetAXMathExpressionTableClass() AXMathExpressionTableClass

GetAXMathExpressionTableClass returns the class object for AXMathExpressionTable.

func (AXMathExpressionTableClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionTableClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionTableRow

type AXMathExpressionTableRow struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableRow

func AXMathExpressionTableRowFromID

func AXMathExpressionTableRowFromID(id objc.ID) AXMathExpressionTableRow

AXMathExpressionTableRowFromID constructs a AXMathExpressionTableRow from an objc.ID.

func NewAXMathExpressionTableRow

func NewAXMathExpressionTableRow() AXMathExpressionTableRow

NewAXMathExpressionTableRow creates a new AXMathExpressionTableRow instance.

func (AXMathExpressionTableRow) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionTableRow) Init

Init initializes the instance.

type AXMathExpressionTableRowClass

type AXMathExpressionTableRowClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionTableRowClass

func GetAXMathExpressionTableRowClass() AXMathExpressionTableRowClass

GetAXMathExpressionTableRowClass returns the class object for AXMathExpressionTableRow.

func (AXMathExpressionTableRowClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionTableRowClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionText

type AXMathExpressionText struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionText

func AXMathExpressionTextFromID

func AXMathExpressionTextFromID(id objc.ID) AXMathExpressionText

AXMathExpressionTextFromID constructs a AXMathExpressionText from an objc.ID.

func NewAXMathExpressionText

func NewAXMathExpressionText() AXMathExpressionText

NewAXMathExpressionText creates a new AXMathExpressionText instance.

func (AXMathExpressionText) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionText) Init

Init initializes the instance.

type AXMathExpressionTextClass

type AXMathExpressionTextClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionTextClass

func GetAXMathExpressionTextClass() AXMathExpressionTextClass

GetAXMathExpressionTextClass returns the class object for AXMathExpressionText.

func (AXMathExpressionTextClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionTextClass) Class

Class returns the underlying Objective-C class pointer.

type AXMathExpressionUnderOver

type AXMathExpressionUnderOver struct {
	AXMathExpression
}

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionUnderOver

func AXMathExpressionUnderOverFromID

func AXMathExpressionUnderOverFromID(id objc.ID) AXMathExpressionUnderOver

AXMathExpressionUnderOverFromID constructs a AXMathExpressionUnderOver from an objc.ID.

func NewAXMathExpressionUnderOver

func NewAXMathExpressionUnderOver() AXMathExpressionUnderOver

NewAXMathExpressionUnderOver creates a new AXMathExpressionUnderOver instance.

func (AXMathExpressionUnderOver) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXMathExpressionUnderOver) Init

Init initializes the instance.

type AXMathExpressionUnderOverClass

type AXMathExpressionUnderOverClass struct {
	// contains filtered or unexported fields
}

func GetAXMathExpressionUnderOverClass

func GetAXMathExpressionUnderOverClass() AXMathExpressionUnderOverClass

GetAXMathExpressionUnderOverClass returns the class object for AXMathExpressionUnderOver.

func (AXMathExpressionUnderOverClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXMathExpressionUnderOverClass) Class

Class returns the underlying Objective-C class pointer.

type AXNumericDataAxisDescriptor

type AXNumericDataAxisDescriptor struct {
	objectivec.Object
}

An object that represents an axis of numerical data.

Specifying the value description

Configuring the axis scale

Configuring the gridlines

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor

func AXNumericDataAxisDescriptorFromID

func AXNumericDataAxisDescriptorFromID(id objc.ID) AXNumericDataAxisDescriptor

AXNumericDataAxisDescriptorFromID constructs a AXNumericDataAxisDescriptor from an objc.ID.

An object that represents an axis of numerical data.

func NewAXNumericDataAxisDescriptor

func NewAXNumericDataAxisDescriptor() AXNumericDataAxisDescriptor

NewAXNumericDataAxisDescriptor creates a new AXNumericDataAxisDescriptor instance.

func (AXNumericDataAxisDescriptor) AttributedTitle

An attributed version of the axis title.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle

func (AXNumericDataAxisDescriptor) Autorelease

Autorelease adds the receiver to the current autorelease pool.

func (AXNumericDataAxisDescriptor) GridlinePositions

func (a AXNumericDataAxisDescriptor) GridlinePositions() []foundation.NSNumber

The positions of the gridlines along the axis.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/gridlinePositions-9z10e

func (AXNumericDataAxisDescriptor) Init

Init initializes the instance.

func (AXNumericDataAxisDescriptor) InitWithAttributedTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider

func (a AXNumericDataAxisDescriptor) InitWithAttributedTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider(attributedTitle foundation.NSAttributedString, lowerbound float64, upperBound float64, gridlinePositions []foundation.NSNumber, valueDescriptionProvider StringFloat64Handler) AXNumericDataAxisDescriptor

Creates a numeric data axis with the specified attributed title, lower bound value, upper bound value, gridline positions, and value description provider block.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/initWithAttributedTitle:lowerBound:upperBound:gridlinePositions:valueDescriptionProvider:

func (AXNumericDataAxisDescriptor) InitWithTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider

func (a AXNumericDataAxisDescriptor) InitWithTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider(title string, lowerbound float64, upperBound float64, gridlinePositions []foundation.NSNumber, valueDescriptionProvider StringFloat64Handler) AXNumericDataAxisDescriptor

Creates a numeric data axis with the specified title, lower bound value, upper bound value, gridline positions, and value description provider block.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/initWithTitle:lowerBound:upperBound:gridlinePositions:valueDescriptionProvider:

func (AXNumericDataAxisDescriptor) LowerBound

func (a AXNumericDataAxisDescriptor) LowerBound() float64

The minimum displayable value for the axis.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/lowerBound

func (AXNumericDataAxisDescriptor) ScaleType

The scale for the axis.

Discussion

Match the value of this property to the visual representation in the chart.

The default value is AXScaleTypeLinear.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/scaleType-swift.property

func (AXNumericDataAxisDescriptor) SetAttributedTitle

func (o AXNumericDataAxisDescriptor) SetAttributedTitle(value foundation.NSAttributedString)

An attributed version of the axis title.

Discussion

If you set the value of this property, the system uses this value instead of [Title].

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle

func (AXNumericDataAxisDescriptor) SetGridlinePositions

func (a AXNumericDataAxisDescriptor) SetGridlinePositions(value []foundation.NSNumber)

func (AXNumericDataAxisDescriptor) SetLowerBound

func (a AXNumericDataAxisDescriptor) SetLowerBound(value float64)

func (AXNumericDataAxisDescriptor) SetScaleType

func (AXNumericDataAxisDescriptor) SetTitle

func (o AXNumericDataAxisDescriptor) SetTitle(value string)

The title of the axis.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/title

func (AXNumericDataAxisDescriptor) SetUpperBound

func (a AXNumericDataAxisDescriptor) SetUpperBound(value float64)

func (AXNumericDataAxisDescriptor) SetValueDescriptionProvider

func (a AXNumericDataAxisDescriptor) SetValueDescriptionProvider(value StringFloat64Handler)

func (AXNumericDataAxisDescriptor) Title

The title of the axis.

See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/title

func (AXNumericDataAxisDescriptor) UpperBound

func (a AXNumericDataAxisDescriptor) UpperBound() float64

The maximum displayable value for the axis.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/upperBound

func (AXNumericDataAxisDescriptor) ValueDescriptionProvider

func (a AXNumericDataAxisDescriptor) ValueDescriptionProvider() StringFloat64Handler

A description to speak for a particular data value on the axis.

Discussion

Use this property to format data values into string representations that include units, dates, times, and more.

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/valueDescriptionProvider

type AXNumericDataAxisDescriptorClass

type AXNumericDataAxisDescriptorClass struct {
	// contains filtered or unexported fields
}

func GetAXNumericDataAxisDescriptorClass

func GetAXNumericDataAxisDescriptorClass() AXNumericDataAxisDescriptorClass

GetAXNumericDataAxisDescriptorClass returns the class object for AXNumericDataAxisDescriptor.

func (AXNumericDataAxisDescriptorClass) Alloc

Alloc allocates memory for a new instance of the class.

func (AXNumericDataAxisDescriptorClass) Class

Class returns the underlying Objective-C class pointer.

type AXNumericDataAxisDescriptorScale

type AXNumericDataAxisDescriptorScale int

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor/ScaleType-swift.enum

const (
	// AXScaleTypeLinear: A linear scale.
	AXScaleTypeLinear AXNumericDataAxisDescriptorScale = 0
	// AXScaleTypeLn: A natural log scale.
	AXScaleTypeLn AXNumericDataAxisDescriptorScale = 2
	// AXScaleTypeLog10: A log scale.
	AXScaleTypeLog10 AXNumericDataAxisDescriptorScale = 1
)

func (AXNumericDataAxisDescriptorScale) String

type AXRequest

type AXRequest struct {
	objectivec.Object
}

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AccessibilityRequest

func AXRequestFromID

func AXRequestFromID(id objc.ID) AXRequest

AXRequestFromID constructs a AXRequest from an objc.ID.

func NewAXRequest

func NewAXRequest() AXRequest

NewAXRequest creates a new AXRequest instance.

func (AXRequest) Autorelease

func (a AXRequest) Autorelease() AXRequest

Autorelease adds the receiver to the current autorelease pool.

func (AXRequest) EncodeWithCoder

func (a AXRequest) EncodeWithCoder(coder foundation.INSCoder)

func (AXRequest) Init

func (a AXRequest) Init() AXRequest

Init initializes the instance.

type AXRequestClass

type AXRequestClass struct {
	// contains filtered or unexported fields
}

func GetAXRequestClass

func GetAXRequestClass() AXRequestClass

GetAXRequestClass returns the class object for AXRequest.

func (AXRequestClass) Alloc

func (ac AXRequestClass) Alloc() AXRequest

Alloc allocates memory for a new instance of the class.

func (AXRequestClass) Class

func (ac AXRequestClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type AXSettingsFeature

type AXSettingsFeature int

See: https://developer.apple.com/documentation/Accessibility/AccessibilitySettings/Feature

const (
	AXSettingsFeatureAllowAppsToAddAudioToCalls AXSettingsFeature = 2
	AXSettingsFeatureAssistiveTouch             AXSettingsFeature = 3
	AXSettingsFeatureAssistiveTouchDevices      AXSettingsFeature = 4
	AXSettingsFeatureCaptionStyles              AXSettingsFeature = 6
	AXSettingsFeatureDwellControl               AXSettingsFeature = 5
	// AXSettingsFeaturePersonalVoiceAllowAppsToRequestToUse: A constant for opening the Settings app to the setting for Personal Voice > Allow Apps to Request to Use.
	AXSettingsFeaturePersonalVoiceAllowAppsToRequestToUse AXSettingsFeature = 1
)

func (AXSettingsFeature) String

func (e AXSettingsFeature) String() string

type IAXBrailleMap

type IAXBrailleMap interface {
	objectivec.IObject

	InitWithCoder(coder foundation.INSCoder) AXBrailleMap

	// The number of pins in each dimension of the braille display.
	Dimensions() corefoundation.CGSize

	// Sets the height of an individual pin on the braille display.
	SetHeightAtPoint(status float32, point corefoundation.CGPoint)
	// Retrieves the height of an individual pin on the braille display.
	HeightAtPoint(point corefoundation.CGPoint) float32

	// Converts the data from the image you specify into the braille map.
	PresentImage(image coregraphics.CGImageRef)

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the AXBrailleMap class.

Creating a braille map

Getting display dimensions

Accessing dots

Displaying images

See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap

type IAXBrailleTable

type IAXBrailleTable interface {
	objectivec.IObject

	InitWithCoder(coder foundation.INSCoder) AXBrailleTable
	// Returns nil if there is no table with the given identifier.
	InitWithIdentifier(identifier string) AXBrailleTable

	// A unique string that identifies this table.
	Identifier() string
	// Returns true if this table makes use of eight dots as opposed to six dots.
	IsEightDot() bool
	// The 3-character code from ISO 639-2 for the language this Braille table pertains to.
	Language() string
	// All locales this table supports.
	Locales() foundation.INSSet
	// The localized name of this table for user display.
	LocalizedName() string
	// The localized name of the provider of this table for user display.
	LocalizedProviderName() string
	// The identifier of the provider of this table.
	ProviderIdentifier() string

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the AXBrailleTable class.

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable

type IAXBrailleTranslationResult

type IAXBrailleTranslationResult interface {
	objectivec.IObject

	InitWithCoder(coder foundation.INSCoder) AXBrailleTranslationResult

	// The resulting string after translation or back-translation.
	ResultString() string

	// An array of integers that has the same length as the resultString. locationMap[i]-th character in the input string corresponds to resultString[i].
	LocationMap() []foundation.NSNumber
	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the AXBrailleTranslationResult class.

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslationResult

type IAXBrailleTranslator

type IAXBrailleTranslator interface {
	objectivec.IObject

	InitWithBrailleTable(brailleTable IAXBrailleTable) AXBrailleTranslator

	// Input Braille should use the unicode Braille characters (0x2800-0x28FF).
	BackTranslateBraille(braille string) IAXBrailleTranslationResult
	// Output Braille uses the unicode Braille characters (0x2800-0x28FF).
	TranslatePrintText(printText string) IAXBrailleTranslationResult
}

An interface definition for the AXBrailleTranslator class.

Initializers

Instance Methods

See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslator

type IAXCategoricalDataAxisDescriptor

type IAXCategoricalDataAxisDescriptor interface {
	objectivec.IObject

	// Creates a categorical data axis with the specified title and an array of categories in the specified order.
	InitWithTitleCategoryOrder(title string, categoryOrder []string) AXCategoricalDataAxisDescriptor
	// Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.
	InitWithAttributedTitleCategoryOrder(attributedTitle foundation.NSAttributedString, categoryOrder []string) AXCategoricalDataAxisDescriptor

	// A list of every category value for the axis in the order they appear visually in the graph or legend.
	CategoryOrder() []string
	SetCategoryOrder(value []string)

	// An attributed version of the axis title.
	AttributedTitle() foundation.NSAttributedString
	// The title of the axis.
	Title() string
}

An interface definition for the AXCategoricalDataAxisDescriptor class.

Creating a categorical data axis

Configuring the order of categories

See: https://developer.apple.com/documentation/Accessibility/AXCategoricalDataAxisDescriptor

type IAXChartDescriptor

type IAXChartDescriptor interface {
	objectivec.IObject

	// The title of the chart.
	Title() string
	SetTitle(value string)
	// An attributed version of the chart title.
	AttributedTitle() foundation.NSAttributedString
	SetAttributedTitle(value foundation.NSAttributedString)

	// A description of the key takeaways or features of the chart.
	Summary() string
	SetSummary(value string)

	// The axis descriptor for the chart’s x-axis.
	XAxis() AXDataAxisDescriptor
	SetXAxis(value AXDataAxisDescriptor)
	// The axis descriptor for the chart’s y-axis.
	YAxis() IAXNumericDataAxisDescriptor
	SetYAxis(value IAXNumericDataAxisDescriptor)
	// The descriptors for additional categorical or numerical axes beyond the x-axis and y-axis.
	AdditionalAxes() []objectivec.IObject
	SetAdditionalAxes(value []objectivec.IObject)

	// The descriptors for each data series in the chart.
	Series() []AXDataSeriesDescriptor
	SetSeries(value []AXDataSeriesDescriptor)

	// The bounds of the view, in screen coordinates, for visually rendering data values.
	ContentFrame() corefoundation.CGRect
	SetContentFrame(value corefoundation.CGRect)
	// The direction of the content in the chart.
	ContentDirection() AXChartDescriptorContentDirection
	SetContentDirection(value AXChartDescriptorContentDirection)

	// Creates a chart descriptor with the specified attributed title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.
	InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(attributedTitle foundation.NSAttributedString, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, additionalAxes []objectivec.IObject, series []AXDataSeriesDescriptor) AXChartDescriptor
	// Creates a chart descriptor with the specified attributed title, summary, x-axis descriptor, y-axis descriptor, and array of data series.
	InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries(attributedTitle foundation.NSAttributedString, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, series []AXDataSeriesDescriptor) AXChartDescriptor
	// Creates a chart descriptor with the specified title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.
	InitWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(title string, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, additionalAxes []objectivec.IObject, series []AXDataSeriesDescriptor) AXChartDescriptor
	// Creates a chart descriptor with the specified title, summary, x-axis descriptor, y-axis descriptor, descriptors for additional axes, and array of data series.
	InitWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries(title string, summary string, xAxis AXDataAxisDescriptor, yAxis IAXNumericDataAxisDescriptor, series []AXDataSeriesDescriptor) AXChartDescriptor
}

An interface definition for the AXChartDescriptor class.

Specifying the chart title

Specifying the chart summary

Specifying the axes

Specifying a series of data points

Specifying the content layout

See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor

type IAXCustomContent

type IAXCustomContent interface {
	objectivec.IObject

	InitWithCoder(coder foundation.INSCoder) AXCustomContent

	// A localized string that identifies the label for this content.
	Label() string
	// A localized attributed string that identifies the label for this content.
	AttributedLabel() foundation.NSAttributedString
	// A localized string that provides a value for the label.
	Value() string
	// A localized attributed string that provides a value for the label.
	AttributedValue() foundation.NSAttributedString
	// An object that determines when to output custom accessibility content.
	Importance() AXCustomContentImportance
	SetImportance(value AXCustomContentImportance)

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the AXCustomContent class.

Creating custom content

Defining custom content

See: https://developer.apple.com/documentation/Accessibility/AXCustomContent

type IAXDataPoint

type IAXDataPoint interface {
	objectivec.IObject

	// The value of the x-axis for the data point.
	XValue() IAXDataPointValue
	SetXValue(value IAXDataPointValue)
	// The value of the y-axis for the data point.
	YValue() IAXDataPointValue
	SetYValue(value IAXDataPointValue)

	// The label for the data point.
	Label() string
	SetLabel(value string)
	// An attributed version of the label for the data point.
	AttributedLabel() foundation.NSAttributedString
	SetAttributedLabel(value foundation.NSAttributedString)

	// An array of values for additional axes for the data point.
	AdditionalValues() []AXDataPointValue
	SetAdditionalValues(value []AXDataPointValue)
	// Creates a data point with the specified x- and y-values.
	InitWithXY(xValue IAXDataPointValue, yValue IAXDataPointValue) AXDataPoint
	// Creates a data point with the specified x-value, y-value, and additional values.
	InitWithXYAdditionalValues(xValue IAXDataPointValue, yValue IAXDataPointValue, additionalValues []AXDataPointValue) AXDataPoint
	// Creates a data point with the specified x-value, y-value, additional values, and label.
	InitWithXYAdditionalValuesLabel(xValue IAXDataPointValue, yValue IAXDataPointValue, additionalValues []AXDataPointValue, label string) AXDataPoint
}

An interface definition for the AXDataPoint class.

Specifying the data value

Specifying the label

See: https://developer.apple.com/documentation/Accessibility/AXDataPoint

type IAXDataPointValue

type IAXDataPointValue interface {
	objectivec.IObject

	// A string that represents the categorical data value.
	Category() string
	SetCategory(value string)
	// A number that represents the numeric data value.
	Number() float64
	SetNumber(value float64)
}

An interface definition for the AXDataPointValue class.

See: https://developer.apple.com/documentation/Accessibility/AXDataPointValue

type IAXDataSeriesDescriptor

type IAXDataSeriesDescriptor interface {
	objectivec.IObject

	// Creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.
	InitWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor
	// Creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.
	InitWithAttributedNameIsContinuousDataPoints(attributedName foundation.NSAttributedString, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor

	// The name of the data series.
	Name() string
	SetName(value string)
	// An attributed version of the data series name.
	AttributedName() foundation.NSAttributedString
	SetAttributedName(value foundation.NSAttributedString)

	// A Boolean value that determines whether the data series is continuous.
	IsContinuous() bool
	SetIsContinuous(value bool)
	// The data points that the series contains.
	DataPoints() []AXDataPoint
	SetDataPoints(value []AXDataPoint)
}

An interface definition for the AXDataSeriesDescriptor class.

Creating a data series

Naming the series

Configuring the data points

See: https://developer.apple.com/documentation/Accessibility/AXDataSeriesDescriptor

type IAXLiveAudioGraph

type IAXLiveAudioGraph interface {
	objectivec.IObject
}

An interface definition for the AXLiveAudioGraph class.

See: https://developer.apple.com/documentation/Accessibility/AXLiveAudioGraph

type IAXMathExpression

type IAXMathExpression interface {
	objectivec.IObject
}

An interface definition for the AXMathExpression class.

See: https://developer.apple.com/documentation/Accessibility/AXMathExpression

type IAXMathExpressionRoot

type IAXMathExpressionRoot interface {
	IAXMathExpression

	InitWithRadicandExpressionsRootIndexExpression(radicandExpressions []AXMathExpression, rootIndexExpression IAXMathExpression) AXMathExpressionRoot

	RadicandExpressions() []AXMathExpression
	RootIndexExpression() IAXMathExpression
}

An interface definition for the AXMathExpressionRoot class.

Initializers

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRoot

type IAXNumericDataAxisDescriptor

type IAXNumericDataAxisDescriptor interface {
	objectivec.IObject

	// A description to speak for a particular data value on the axis.
	ValueDescriptionProvider() StringFloat64Handler
	SetValueDescriptionProvider(value StringFloat64Handler)

	// The scale for the axis.
	ScaleType() AXNumericDataAxisDescriptorScale
	SetScaleType(value AXNumericDataAxisDescriptorScale)

	// The positions of the gridlines along the axis.
	GridlinePositions() []foundation.NSNumber
	SetGridlinePositions(value []foundation.NSNumber)

	// The minimum displayable value for the axis.
	LowerBound() float64
	SetLowerBound(value float64)
	// The maximum displayable value for the axis.
	UpperBound() float64
	SetUpperBound(value float64)
	// An attributed version of the axis title.
	AttributedTitle() foundation.NSAttributedString
	// Creates a numeric data axis with the specified attributed title, lower bound value, upper bound value, gridline positions, and value description provider block.
	InitWithAttributedTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider(attributedTitle foundation.NSAttributedString, lowerbound float64, upperBound float64, gridlinePositions []foundation.NSNumber, valueDescriptionProvider StringFloat64Handler) AXNumericDataAxisDescriptor
	// Creates a numeric data axis with the specified title, lower bound value, upper bound value, gridline positions, and value description provider block.
	InitWithTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider(title string, lowerbound float64, upperBound float64, gridlinePositions []foundation.NSNumber, valueDescriptionProvider StringFloat64Handler) AXNumericDataAxisDescriptor
	// The title of the axis.
	Title() string
}

An interface definition for the AXNumericDataAxisDescriptor class.

Specifying the value description

Configuring the axis scale

Configuring the gridlines

See: https://developer.apple.com/documentation/Accessibility/AXNumericDataAxisDescriptor

type IAXRequest

type IAXRequest interface {
	objectivec.IObject

	Technology() AXTechnology

	EncodeWithCoder(coder foundation.INSCoder)
}

An interface definition for the AXRequest class.

Instance Properties

See: https://developer.apple.com/documentation/Accessibility/AccessibilityRequest

Jump to

Keyboard shortcuts

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