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 ¶
- Accessibility updates: Learn about important changes to Accessibility.
- Performing accessibility testing for your app: Test your app with accessibility settings and assistive technologies to discover and address accessibility issues.
Sample code ¶
- Creating accessible views: Make your app accessible to everyone by applying accessibility modifiers to your SwiftUI views.
- Delivering an exceptional accessibility experience: Make improvements to your app’s interaction model to support assistive technologies such as VoiceOver.
- Integrating accessibility into your app: Make your app more accessible to users with disabilities by adding accessibility features.
- Accessibility design for Mac Catalyst: Improve navigation in your app by using keyboard shortcuts and accessibility containers.
Developer tools ¶
- Accessibility Inspector: Reveal how your app represents itself to people using accessibility features.
Assistive technologies ¶
- Assistive technologies: Make sure your app provides a great experience for people who use assistive technologies.
Accessibility framework ¶
- Accessibility API: Browse API in the Accessibility framework. (AXBrailleTable, AXBrailleTranslator, AXBrailleTranslationResult, AXMathExpressionNumber, AXMathExpressionIdentifier)
Platforms ¶
- Accessibility fundamentals: Make your SwiftUI apps accessible to everyone, including people with disabilities.
- Accessibility for UIKit: Make your UIKit apps accessible to everyone who uses iOS and tvOS.
- Accessibility for AppKit: Make your AppKit apps accessible to everyone who uses macOS.
- Accessibility for visionOS: Make your apps accessible to everyone who uses visionOS.
WWDC Challenges ¶
- WWDC22 Challenge: Learn Switch Control through gaming: Play a card-matching game using Switch Control.
- WWDC21 Challenge: Large Text Challenge: Design for large text sizes by modifying the user interface.
- WWDC21 Challenge: Speech Synthesizer Simulator: Simulate a conversation using speech synthesis.
- WWDC21 Challenge: VoiceOver Maze: Navigate to the end of a dark maze using VoiceOver as your guide.
Variables ¶
- AXPrefersActionSliderAlternativeDidChangeNotification
- AXReduceHighlightingEffectsEnabledDidChangeNotification
- AXShowBordersEnabledStatusDidChangeNotification
Functions ¶
- AXOpenSettingsFeatureIsSupported
- AXPrefersActionSliderAlternative
- AXShowBordersEnabled
- AXReduceHighlightingEffectsEnabled//
Key Types ¶
- AXBrailleTable - A rule for translating print text to Braille, and back-translating Braille to print text.
- AXChartDescriptor - An object that contains all the semantic information about an accessible chart.
- AXNumericDataAxisDescriptor - An object that represents an axis of numerical data.
- AXCustomContent - Objects that define custom content and the timing of its output.
- AXDataPoint - An object that represents a single data point in a chart.
- AXCategoricalDataAxisDescriptor - An object that represents an axis of categorical data.
- AXDataSeriesDescriptor - An object that represents a series of data points.
- AXBrailleMap - A representation of a two-dimensional braille display.
- AXDataPointValue - A single data value.
- AXMathExpressionFenced
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Variables
- func AXAnimatedImagesEnabled() bool
- func AXAssistiveAccessEnabled() bool
- func AXNameFromColor(color coregraphics.CGColorRef) *foundation.NSString
- func AXOpenSettingsFeature(feature AXSettingsFeature)
- func AXOpenSettingsFeatureIsSupported(feature AXSettingsFeature) bool
- func AXPrefersActionSliderAlternative() bool
- func AXPrefersHorizontalTextLayout() bool
- func AXPrefersNonBlinkingTextInsertionIndicator() bool
- func AXReduceHighlightingEffectsEnabled() bool
- func AXShowBordersEnabled() bool
- func NewAXBrailleMapBlock(handler AXBrailleMapHandler) (objc.ID, func())
- func NewStringFloat64Block(handler StringFloat64Handler) (objc.ID, func())
- type AXBrailleMap
- func (a AXBrailleMap) Autorelease() AXBrailleMap
- func (a AXBrailleMap) Dimensions() corefoundation.CGSize
- func (a AXBrailleMap) EncodeWithCoder(coder foundation.INSCoder)
- func (a AXBrailleMap) HeightAtPoint(point corefoundation.CGPoint) float32
- func (a AXBrailleMap) Init() AXBrailleMap
- func (a AXBrailleMap) InitWithCoder(coder foundation.INSCoder) AXBrailleMap
- func (a AXBrailleMap) PresentImage(image coregraphics.CGImageRef)
- func (a AXBrailleMap) SetHeightAtPoint(status float32, point corefoundation.CGPoint)
- type AXBrailleMapClass
- type AXBrailleMapHandler
- type AXBrailleMapRenderer
- type AXBrailleMapRendererObject
- type AXBrailleTable
- func (a AXBrailleTable) Autorelease() AXBrailleTable
- func (a AXBrailleTable) EncodeWithCoder(coder foundation.INSCoder)
- func (a AXBrailleTable) Identifier() string
- func (a AXBrailleTable) Init() AXBrailleTable
- func (a AXBrailleTable) InitWithCoder(coder foundation.INSCoder) AXBrailleTable
- func (a AXBrailleTable) InitWithIdentifier(identifier string) AXBrailleTable
- func (a AXBrailleTable) IsEightDot() bool
- func (a AXBrailleTable) Language() string
- func (a AXBrailleTable) Locales() foundation.INSSet
- func (a AXBrailleTable) LocalizedName() string
- func (a AXBrailleTable) LocalizedProviderName() string
- func (a AXBrailleTable) ProviderIdentifier() string
- type AXBrailleTableClass
- func (ac AXBrailleTableClass) Alloc() AXBrailleTable
- func (ac AXBrailleTableClass) Class() objc.Class
- func (_AXBrailleTableClass AXBrailleTableClass) DefaultTableForLocale(locale foundation.NSLocale) AXBrailleTable
- func (_AXBrailleTableClass AXBrailleTableClass) LanguageAgnosticTables() foundation.INSSet
- func (_AXBrailleTableClass AXBrailleTableClass) SupportedLocales() foundation.INSSet
- func (_AXBrailleTableClass AXBrailleTableClass) TablesForLocale(locale foundation.NSLocale) foundation.INSSet
- type AXBrailleTranslationResult
- func (a AXBrailleTranslationResult) Autorelease() AXBrailleTranslationResult
- func (a AXBrailleTranslationResult) EncodeWithCoder(coder foundation.INSCoder)
- func (a AXBrailleTranslationResult) Init() AXBrailleTranslationResult
- func (a AXBrailleTranslationResult) InitWithCoder(coder foundation.INSCoder) AXBrailleTranslationResult
- func (a AXBrailleTranslationResult) LocationMap() []foundation.NSNumber
- func (a AXBrailleTranslationResult) ResultString() string
- type AXBrailleTranslationResultClass
- type AXBrailleTranslator
- func (a AXBrailleTranslator) Autorelease() AXBrailleTranslator
- func (a AXBrailleTranslator) BackTranslateBraille(braille string) IAXBrailleTranslationResult
- func (a AXBrailleTranslator) Init() AXBrailleTranslator
- func (a AXBrailleTranslator) InitWithBrailleTable(brailleTable IAXBrailleTable) AXBrailleTranslator
- func (a AXBrailleTranslator) TranslatePrintText(printText string) IAXBrailleTranslationResult
- type AXBrailleTranslatorClass
- type AXCategoricalDataAxisDescriptor
- func AXCategoricalDataAxisDescriptorFromID(id objc.ID) AXCategoricalDataAxisDescriptor
- func NewAXCategoricalDataAxisDescriptor() AXCategoricalDataAxisDescriptor
- func NewAXCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder(attributedTitle foundation.NSAttributedString, categoryOrder []string) AXCategoricalDataAxisDescriptor
- func NewAXCategoricalDataAxisDescriptorWithTitleCategoryOrder(title string, categoryOrder []string) AXCategoricalDataAxisDescriptor
- func (a AXCategoricalDataAxisDescriptor) AttributedTitle() foundation.NSAttributedString
- func (a AXCategoricalDataAxisDescriptor) Autorelease() AXCategoricalDataAxisDescriptor
- func (a AXCategoricalDataAxisDescriptor) CategoryOrder() []string
- func (a AXCategoricalDataAxisDescriptor) Init() AXCategoricalDataAxisDescriptor
- func (a AXCategoricalDataAxisDescriptor) InitWithAttributedTitleCategoryOrder(attributedTitle foundation.NSAttributedString, categoryOrder []string) AXCategoricalDataAxisDescriptor
- func (a AXCategoricalDataAxisDescriptor) InitWithTitleCategoryOrder(title string, categoryOrder []string) AXCategoricalDataAxisDescriptor
- func (o AXCategoricalDataAxisDescriptor) SetAttributedTitle(value foundation.NSAttributedString)
- func (a AXCategoricalDataAxisDescriptor) SetCategoryOrder(value []string)
- func (o AXCategoricalDataAxisDescriptor) SetTitle(value string)
- func (a AXCategoricalDataAxisDescriptor) Title() string
- type AXCategoricalDataAxisDescriptorClass
- type AXChart
- type AXChartDescriptor
- func AXChartDescriptorFromID(id objc.ID) AXChartDescriptor
- func NewAXChartDescriptor() AXChartDescriptor
- func NewAXChartDescriptorWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(attributedTitle foundation.NSAttributedString, summary string, ...) AXChartDescriptor
- func NewAXChartDescriptorWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries(attributedTitle foundation.NSAttributedString, summary string, ...) AXChartDescriptor
- func NewAXChartDescriptorWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(title string, summary string, xAxis AXDataAxisDescriptor, ...) AXChartDescriptor
- func NewAXChartDescriptorWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries(title string, summary string, xAxis AXDataAxisDescriptor, ...) AXChartDescriptor
- func (a AXChartDescriptor) AdditionalAxes() []objectivec.IObject
- func (a AXChartDescriptor) AttributedTitle() foundation.NSAttributedString
- func (a AXChartDescriptor) Autorelease() AXChartDescriptor
- func (a AXChartDescriptor) ContentDirection() AXChartDescriptorContentDirection
- func (a AXChartDescriptor) ContentFrame() corefoundation.CGRect
- func (a AXChartDescriptor) Init() AXChartDescriptor
- func (a AXChartDescriptor) InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(attributedTitle foundation.NSAttributedString, summary string, ...) AXChartDescriptor
- func (a AXChartDescriptor) InitWithAttributedTitleSummaryXAxisDescriptorYAxisDescriptorSeries(attributedTitle foundation.NSAttributedString, summary string, ...) AXChartDescriptor
- func (a AXChartDescriptor) InitWithTitleSummaryXAxisDescriptorYAxisDescriptorAdditionalAxesSeries(title string, summary string, xAxis AXDataAxisDescriptor, ...) AXChartDescriptor
- func (a AXChartDescriptor) InitWithTitleSummaryXAxisDescriptorYAxisDescriptorSeries(title string, summary string, xAxis AXDataAxisDescriptor, ...) AXChartDescriptor
- func (a AXChartDescriptor) Series() []AXDataSeriesDescriptor
- func (a AXChartDescriptor) SetAdditionalAxes(value []objectivec.IObject)
- func (a AXChartDescriptor) SetAttributedTitle(value foundation.NSAttributedString)
- func (a AXChartDescriptor) SetContentDirection(value AXChartDescriptorContentDirection)
- func (a AXChartDescriptor) SetContentFrame(value corefoundation.CGRect)
- func (a AXChartDescriptor) SetSeries(value []AXDataSeriesDescriptor)
- func (a AXChartDescriptor) SetSummary(value string)
- func (a AXChartDescriptor) SetTitle(value string)
- func (a AXChartDescriptor) SetXAxis(value AXDataAxisDescriptor)
- func (a AXChartDescriptor) SetYAxis(value IAXNumericDataAxisDescriptor)
- func (a AXChartDescriptor) Summary() string
- func (a AXChartDescriptor) Title() string
- func (a AXChartDescriptor) XAxis() AXDataAxisDescriptor
- func (a AXChartDescriptor) YAxis() IAXNumericDataAxisDescriptor
- type AXChartDescriptorClass
- type AXChartDescriptorContentDirection
- type AXChartObject
- type AXCustomContent
- func AXCustomContentFromID(id objc.ID) AXCustomContent
- func NewAXCustomContent() AXCustomContent
- func NewAXCustomContentWithAttributedLabelAttributedValue(label foundation.NSAttributedString, value foundation.NSAttributedString) AXCustomContent
- func NewAXCustomContentWithCoder(coder foundation.INSCoder) AXCustomContent
- func NewAXCustomContentWithLabelValue(label string, value string) AXCustomContent
- func (a AXCustomContent) AttributedLabel() foundation.NSAttributedString
- func (a AXCustomContent) AttributedValue() foundation.NSAttributedString
- func (a AXCustomContent) Autorelease() AXCustomContent
- func (a AXCustomContent) EncodeWithCoder(coder foundation.INSCoder)
- func (a AXCustomContent) Importance() AXCustomContentImportance
- func (a AXCustomContent) Init() AXCustomContent
- func (a AXCustomContent) InitWithCoder(coder foundation.INSCoder) AXCustomContent
- func (a AXCustomContent) Label() string
- func (a AXCustomContent) SetImportance(value AXCustomContentImportance)
- func (a AXCustomContent) Value() string
- type AXCustomContentClass
- type AXCustomContentImportance
- type AXCustomContentProvider
- type AXCustomContentProviderObject
- func (o AXCustomContentProviderObject) AccessibilityCustomContent() []AXCustomContent
- func (o AXCustomContentProviderObject) AccessibilityCustomContentBlock() AXCustomContentReturnBlock
- func (o AXCustomContentProviderObject) BaseObject() objectivec.Object
- func (o AXCustomContentProviderObject) SetAccessibilityCustomContent(value []AXCustomContent)
- func (o AXCustomContentProviderObject) SetAccessibilityCustomContentBlock(value objc.ID)
- type AXCustomContentReturnBlock
- type AXCustomContentVoidHandler
- type AXDataAxisDescriptor
- type AXDataAxisDescriptorObject
- func (o AXDataAxisDescriptorObject) AttributedTitle() foundation.NSAttributedString
- func (o AXDataAxisDescriptorObject) BaseObject() objectivec.Object
- func (o AXDataAxisDescriptorObject) SetAttributedTitle(value foundation.NSAttributedString)
- func (o AXDataAxisDescriptorObject) SetTitle(value string)
- func (o AXDataAxisDescriptorObject) Title() string
- type AXDataPoint
- func AXDataPointFromID(id objc.ID) AXDataPoint
- func NewAXDataPoint() AXDataPoint
- func NewAXDataPointWithXY(xValue IAXDataPointValue, yValue IAXDataPointValue) AXDataPoint
- func NewAXDataPointWithXYAdditionalValues(xValue IAXDataPointValue, yValue IAXDataPointValue, ...) AXDataPoint
- func NewAXDataPointWithXYAdditionalValuesLabel(xValue IAXDataPointValue, yValue IAXDataPointValue, ...) AXDataPoint
- func (a AXDataPoint) AdditionalValues() []AXDataPointValue
- func (a AXDataPoint) AttributedLabel() foundation.NSAttributedString
- func (a AXDataPoint) Autorelease() AXDataPoint
- func (a AXDataPoint) Init() AXDataPoint
- func (a AXDataPoint) InitWithXY(xValue IAXDataPointValue, yValue IAXDataPointValue) AXDataPoint
- func (a AXDataPoint) InitWithXYAdditionalValues(xValue IAXDataPointValue, yValue IAXDataPointValue, ...) AXDataPoint
- func (a AXDataPoint) InitWithXYAdditionalValuesLabel(xValue IAXDataPointValue, yValue IAXDataPointValue, ...) AXDataPoint
- func (a AXDataPoint) Label() string
- func (a AXDataPoint) SetAdditionalValues(value []AXDataPointValue)
- func (a AXDataPoint) SetAttributedLabel(value foundation.NSAttributedString)
- func (a AXDataPoint) SetLabel(value string)
- func (a AXDataPoint) SetXValue(value IAXDataPointValue)
- func (a AXDataPoint) SetYValue(value IAXDataPointValue)
- func (a AXDataPoint) XValue() IAXDataPointValue
- func (a AXDataPoint) YValue() IAXDataPointValue
- type AXDataPointClass
- type AXDataPointValue
- type AXDataPointValueClass
- func (ac AXDataPointValueClass) Alloc() AXDataPointValue
- func (ac AXDataPointValueClass) Class() objc.Class
- func (_AXDataPointValueClass AXDataPointValueClass) ValueWithCategory(category string) AXDataPointValue
- func (_AXDataPointValueClass AXDataPointValueClass) ValueWithNumber(number float64) AXDataPointValue
- type AXDataSeriesDescriptor
- func AXDataSeriesDescriptorFromID(id objc.ID) AXDataSeriesDescriptor
- func NewAXDataSeriesDescriptor() AXDataSeriesDescriptor
- func NewAXDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints(attributedName foundation.NSAttributedString, isContinuous bool, ...) AXDataSeriesDescriptor
- func NewAXDataSeriesDescriptorWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor
- func (a AXDataSeriesDescriptor) AttributedName() foundation.NSAttributedString
- func (a AXDataSeriesDescriptor) Autorelease() AXDataSeriesDescriptor
- func (a AXDataSeriesDescriptor) DataPoints() []AXDataPoint
- func (a AXDataSeriesDescriptor) Init() AXDataSeriesDescriptor
- func (a AXDataSeriesDescriptor) InitWithAttributedNameIsContinuousDataPoints(attributedName foundation.NSAttributedString, isContinuous bool, ...) AXDataSeriesDescriptor
- func (a AXDataSeriesDescriptor) InitWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []AXDataPoint) AXDataSeriesDescriptor
- func (a AXDataSeriesDescriptor) IsContinuous() bool
- func (a AXDataSeriesDescriptor) Name() string
- func (a AXDataSeriesDescriptor) SetAttributedName(value foundation.NSAttributedString)
- func (a AXDataSeriesDescriptor) SetDataPoints(value []AXDataPoint)
- func (a AXDataSeriesDescriptor) SetIsContinuous(value bool)
- func (a AXDataSeriesDescriptor) SetName(value string)
- type AXDataSeriesDescriptorClass
- type AXFeatureOverrideSessionError
- type AXFeatureOverrideSessionOptions
- type AXHearingDeviceEar
- type AXLiveAudioGraph
- type AXLiveAudioGraphClass
- func (ac AXLiveAudioGraphClass) Alloc() AXLiveAudioGraph
- func (ac AXLiveAudioGraphClass) Class() objc.Class
- func (_AXLiveAudioGraphClass AXLiveAudioGraphClass) Start()
- func (_AXLiveAudioGraphClass AXLiveAudioGraphClass) Stop()
- func (_AXLiveAudioGraphClass AXLiveAudioGraphClass) UpdateValue(value float64)
- type AXMathExpression
- type AXMathExpressionClass
- type AXMathExpressionFenced
- func (a AXMathExpressionFenced) Autorelease() AXMathExpressionFenced
- func (a AXMathExpressionFenced) CloseString() string
- func (a AXMathExpressionFenced) Expressions() []AXMathExpression
- func (a AXMathExpressionFenced) Init() AXMathExpressionFenced
- func (a AXMathExpressionFenced) InitWithExpressionsOpenStringCloseString(expressions []AXMathExpression, openString string, closeString string) AXMathExpressionFenced
- func (a AXMathExpressionFenced) OpenString() string
- type AXMathExpressionFencedClass
- type AXMathExpressionFraction
- func AXMathExpressionFractionFromID(id objc.ID) AXMathExpressionFraction
- func NewAXMathExpressionFraction() AXMathExpressionFraction
- func NewAXMathExpressionFractionWithNumeratorExpressionDenimonatorExpression(numeratorExpression IAXMathExpression, denimonatorExpression IAXMathExpression) AXMathExpressionFraction
- func (a AXMathExpressionFraction) Autorelease() AXMathExpressionFraction
- func (a AXMathExpressionFraction) DenimonatorExpression() IAXMathExpression
- func (a AXMathExpressionFraction) Init() AXMathExpressionFraction
- func (a AXMathExpressionFraction) InitWithNumeratorExpressionDenimonatorExpression(numeratorExpression IAXMathExpression, denimonatorExpression IAXMathExpression) AXMathExpressionFraction
- func (a AXMathExpressionFraction) NumeratorExpression() IAXMathExpression
- type AXMathExpressionFractionClass
- type AXMathExpressionIdentifier
- type AXMathExpressionIdentifierClass
- type AXMathExpressionMultiscript
- func AXMathExpressionMultiscriptFromID(id objc.ID) AXMathExpressionMultiscript
- func NewAXMathExpressionMultiscript() AXMathExpressionMultiscript
- func NewAXMathExpressionMultiscriptWithBaseExpressionPrescriptExpressionsPostscriptExpressions(baseExpression IAXMathExpression, ...) AXMathExpressionMultiscript
- func (a AXMathExpressionMultiscript) Autorelease() AXMathExpressionMultiscript
- func (a AXMathExpressionMultiscript) BaseExpression() IAXMathExpression
- func (a AXMathExpressionMultiscript) Init() AXMathExpressionMultiscript
- func (a AXMathExpressionMultiscript) InitWithBaseExpressionPrescriptExpressionsPostscriptExpressions(baseExpression IAXMathExpression, ...) AXMathExpressionMultiscript
- func (a AXMathExpressionMultiscript) PostscriptExpressions() []AXMathExpressionSubSuperscript
- func (a AXMathExpressionMultiscript) PrescriptExpressions() []AXMathExpressionSubSuperscript
- type AXMathExpressionMultiscriptClass
- type AXMathExpressionNumber
- type AXMathExpressionNumberClass
- type AXMathExpressionOperator
- type AXMathExpressionOperatorClass
- type AXMathExpressionProvider
- type AXMathExpressionProviderObject
- type AXMathExpressionRoot
- func (a AXMathExpressionRoot) Autorelease() AXMathExpressionRoot
- func (a AXMathExpressionRoot) Init() AXMathExpressionRoot
- func (a AXMathExpressionRoot) InitWithRadicandExpressionsRootIndexExpression(radicandExpressions []AXMathExpression, rootIndexExpression IAXMathExpression) AXMathExpressionRoot
- func (a AXMathExpressionRoot) RadicandExpressions() []AXMathExpression
- func (a AXMathExpressionRoot) RootIndexExpression() IAXMathExpression
- type AXMathExpressionRootClass
- type AXMathExpressionRow
- type AXMathExpressionRowClass
- type AXMathExpressionSubSuperscript
- func AXMathExpressionSubSuperscriptFromID(id objc.ID) AXMathExpressionSubSuperscript
- func NewAXMathExpressionSubSuperscript() AXMathExpressionSubSuperscript
- func NewAXMathExpressionSubSuperscriptWithBaseExpressionSubscriptExpressionsSuperscriptExpressions(baseExpression []AXMathExpression, subscriptExpressions []AXMathExpression, ...) AXMathExpressionSubSuperscript
- func (a AXMathExpressionSubSuperscript) Autorelease() AXMathExpressionSubSuperscript
- func (a AXMathExpressionSubSuperscript) BaseExpression() IAXMathExpression
- func (a AXMathExpressionSubSuperscript) Init() AXMathExpressionSubSuperscript
- func (a AXMathExpressionSubSuperscript) InitWithBaseExpressionSubscriptExpressionsSuperscriptExpressions(baseExpression []AXMathExpression, subscriptExpressions []AXMathExpression, ...) AXMathExpressionSubSuperscript
- func (a AXMathExpressionSubSuperscript) SubscriptExpressions() []AXMathExpression
- func (a AXMathExpressionSubSuperscript) SuperscriptExpressions() []AXMathExpression
- type AXMathExpressionSubSuperscriptClass
- type AXMathExpressionTable
- type AXMathExpressionTableCell
- func (a AXMathExpressionTableCell) Autorelease() AXMathExpressionTableCell
- func (a AXMathExpressionTableCell) Expressions() []AXMathExpression
- func (a AXMathExpressionTableCell) Init() AXMathExpressionTableCell
- func (a AXMathExpressionTableCell) InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTableCell
- type AXMathExpressionTableCellClass
- type AXMathExpressionTableClass
- type AXMathExpressionTableRow
- func (a AXMathExpressionTableRow) Autorelease() AXMathExpressionTableRow
- func (a AXMathExpressionTableRow) Expressions() []AXMathExpression
- func (a AXMathExpressionTableRow) Init() AXMathExpressionTableRow
- func (a AXMathExpressionTableRow) InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTableRow
- type AXMathExpressionTableRowClass
- type AXMathExpressionText
- type AXMathExpressionTextClass
- type AXMathExpressionUnderOver
- func AXMathExpressionUnderOverFromID(id objc.ID) AXMathExpressionUnderOver
- func NewAXMathExpressionUnderOver() AXMathExpressionUnderOver
- func NewAXMathExpressionUnderOverWithBaseExpressionUnderExpressionOverExpression(baseExpression IAXMathExpression, underExpression IAXMathExpression, ...) AXMathExpressionUnderOver
- func (a AXMathExpressionUnderOver) Autorelease() AXMathExpressionUnderOver
- func (a AXMathExpressionUnderOver) BaseExpression() IAXMathExpression
- func (a AXMathExpressionUnderOver) Init() AXMathExpressionUnderOver
- func (a AXMathExpressionUnderOver) InitWithBaseExpressionUnderExpressionOverExpression(baseExpression IAXMathExpression, underExpression IAXMathExpression, ...) AXMathExpressionUnderOver
- func (a AXMathExpressionUnderOver) OverExpression() IAXMathExpression
- func (a AXMathExpressionUnderOver) UnderExpression() IAXMathExpression
- type AXMathExpressionUnderOverClass
- type AXNumericDataAxisDescriptor
- func (a AXNumericDataAxisDescriptor) AttributedTitle() foundation.NSAttributedString
- func (a AXNumericDataAxisDescriptor) Autorelease() AXNumericDataAxisDescriptor
- func (a AXNumericDataAxisDescriptor) GridlinePositions() []foundation.NSNumber
- func (a AXNumericDataAxisDescriptor) Init() AXNumericDataAxisDescriptor
- func (a AXNumericDataAxisDescriptor) InitWithAttributedTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider(attributedTitle foundation.NSAttributedString, lowerbound float64, ...) AXNumericDataAxisDescriptor
- func (a AXNumericDataAxisDescriptor) InitWithTitleLowerBoundUpperBoundGridlinePositionsValueDescriptionProvider(title string, lowerbound float64, upperBound float64, ...) AXNumericDataAxisDescriptor
- func (a AXNumericDataAxisDescriptor) LowerBound() float64
- func (a AXNumericDataAxisDescriptor) ScaleType() AXNumericDataAxisDescriptorScale
- func (o AXNumericDataAxisDescriptor) SetAttributedTitle(value foundation.NSAttributedString)
- func (a AXNumericDataAxisDescriptor) SetGridlinePositions(value []foundation.NSNumber)
- func (a AXNumericDataAxisDescriptor) SetLowerBound(value float64)
- func (a AXNumericDataAxisDescriptor) SetScaleType(value AXNumericDataAxisDescriptorScale)
- func (o AXNumericDataAxisDescriptor) SetTitle(value string)
- func (a AXNumericDataAxisDescriptor) SetUpperBound(value float64)
- func (a AXNumericDataAxisDescriptor) SetValueDescriptionProvider(value StringFloat64Handler)
- func (a AXNumericDataAxisDescriptor) Title() string
- func (a AXNumericDataAxisDescriptor) UpperBound() float64
- func (a AXNumericDataAxisDescriptor) ValueDescriptionProvider() StringFloat64Handler
- type AXNumericDataAxisDescriptorClass
- type AXNumericDataAxisDescriptorScale
- type AXRequest
- type AXRequestClass
- type AXSettingsFeature
- type AXTechnology
- type IAXBrailleMap
- type IAXBrailleTable
- type IAXBrailleTranslationResult
- type IAXBrailleTranslator
- type IAXCategoricalDataAxisDescriptor
- type IAXChartDescriptor
- type IAXCustomContent
- type IAXDataPoint
- type IAXDataPointValue
- type IAXDataSeriesDescriptor
- type IAXLiveAudioGraph
- type IAXMathExpression
- type IAXMathExpressionFenced
- type IAXMathExpressionFraction
- type IAXMathExpressionIdentifier
- type IAXMathExpressionMultiscript
- type IAXMathExpressionNumber
- type IAXMathExpressionOperator
- type IAXMathExpressionRoot
- type IAXMathExpressionRow
- type IAXMathExpressionSubSuperscript
- type IAXMathExpressionTable
- type IAXMathExpressionTableCell
- type IAXMathExpressionTableRow
- type IAXMathExpressionText
- type IAXMathExpressionUnderOver
- type IAXNumericDataAxisDescriptor
- type IAXRequest
- type StringFloat64Handler
Constants ¶
This section is empty.
Variables ¶
var ( // See: https://developer.apple.com/documentation/Accessibility/AXAnimatedImagesEnabledDidChangeNotification AXAnimatedImagesEnabledDidChangeNotification foundation.NSNotificationName // See: https://developer.apple.com/documentation/Accessibility/AccessibilitySettings/prefersActionSliderAlternativeDidChangeNotification AXPrefersActionSliderAlternativeDidChangeNotification foundation.NSNotificationName // See: https://developer.apple.com/documentation/Accessibility/AXPrefersHorizontalTextLayoutDidChangeNotification AXPrefersHorizontalTextLayoutDidChangeNotification foundation.NSNotificationName // AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification is a notification that posts when the system setting to prefer a nonblinking cursor in editable text fields changes. // // See: https://developer.apple.com/documentation/Accessibility/AccessibilitySettings/prefersNonBlinkingTextInsertionIndicatorDidChangeNotification AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification foundation.NSNotificationName // See: https://developer.apple.com/documentation/Accessibility/AccessibilitySettings/reduceHighlightingEffectsEnabledDidChangeNotification AXReduceHighlightingEffectsEnabledDidChangeNotification foundation.NSNotificationName // See: https://developer.apple.com/documentation/Accessibility/AccessibilitySettings/showBordersEnabledStatusDidChangeNotification AXShowBordersEnabledStatusDidChangeNotification foundation.NSNotificationName )
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 AXAnimatedImagesEnabled ¶
func AXAnimatedImagesEnabled() bool
AXAnimatedImagesEnabled.
See: https://developer.apple.com/documentation/Accessibility/AXAnimatedImagesEnabled
func AXAssistiveAccessEnabled ¶
func AXAssistiveAccessEnabled() bool
AXAssistiveAccessEnabled a Boolean value that indicates whether Assistive Access is running.
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 AXOpenSettingsFeature ¶
func AXOpenSettingsFeature(feature AXSettingsFeature)
AXOpenSettingsFeature.
See: https://developer.apple.com/documentation/Accessibility/AXOpenSettingsFeature
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 AXReduceHighlightingEffectsEnabled ¶
func AXReduceHighlightingEffectsEnabled() bool
AXReduceHighlightingEffectsEnabled.
func AXShowBordersEnabled ¶
func AXShowBordersEnabled() bool
AXShowBordersEnabled.
See: https://developer.apple.com/documentation/Accessibility/AXShowBordersEnabled
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.
func NewStringFloat64Block ¶
func NewStringFloat64Block(handler StringFloat64Handler) (objc.ID, func())
NewStringFloat64Block wraps a Go StringFloat64Handler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
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 ¶
- AXBrailleMap.Dimensions: The number of pins in each dimension of the braille display.
Accessing dots ¶
- AXBrailleMap.SetHeightAtPoint: Sets the height of an individual pin on the braille display.
- AXBrailleMap.HeightAtPoint: Retrieves the height of an individual pin on the braille display.
Displaying images ¶
- AXBrailleMap.PresentImage: Converts the data from the image you specify into the braille map.
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 NewAXBrailleMapWithCoder ¶
func NewAXBrailleMapWithCoder(coder foundation.INSCoder) AXBrailleMap
See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap/init(coder:)
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) InitWithCoder ¶
func (a AXBrailleMap) InitWithCoder(coder foundation.INSCoder) AXBrailleMap
See: https://developer.apple.com/documentation/Accessibility/AXBrailleMap/init(coder:)
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.
func (AXBrailleMapRendererObject) BaseObject ¶
func (o AXBrailleMapRendererObject) BaseObject() objectivec.Object
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 ¶
- AXBrailleTable.InitWithCoder
- AXBrailleTable.InitWithIdentifier: Returns nil if there is no table with the given identifier.
Instance Properties ¶
- AXBrailleTable.Identifier: A unique string that identifies this table.
- AXBrailleTable.IsEightDot: Returns true if this table makes use of eight dots as opposed to six dots.
- AXBrailleTable.Language: The 3-character code from ISO 639-2 for the language this Braille table pertains to.
- AXBrailleTable.Locales: All locales this table supports.
- AXBrailleTable.LocalizedName: The localized name of this table for user display.
- AXBrailleTable.LocalizedProviderName: The localized name of the provider of this table for user display.
- AXBrailleTable.ProviderIdentifier: The identifier of the provider of this table.
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 NewAXBrailleTableWithCoder ¶
func NewAXBrailleTableWithCoder(coder foundation.INSCoder) AXBrailleTable
See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/init(coder:)
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) InitWithCoder ¶
func (a AXBrailleTable) InitWithCoder(coder foundation.INSCoder) AXBrailleTable
See: https://developer.apple.com/documentation/Accessibility/AXBrailleTable/init(coder:)
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 ¶
func (ac AXBrailleTableClass) Alloc() AXBrailleTable
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 ¶
- AXBrailleTranslationResult.ResultString: The resulting string after translation or back-translation.
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 NewAXBrailleTranslationResultWithCoder ¶
func NewAXBrailleTranslationResultWithCoder(coder foundation.INSCoder) AXBrailleTranslationResult
See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslationResult/init(coder:)
func (AXBrailleTranslationResult) Autorelease ¶
func (a AXBrailleTranslationResult) Autorelease() AXBrailleTranslationResult
Autorelease adds the receiver to the current autorelease pool.
func (AXBrailleTranslationResult) EncodeWithCoder ¶
func (a AXBrailleTranslationResult) EncodeWithCoder(coder foundation.INSCoder)
func (AXBrailleTranslationResult) Init ¶
func (a AXBrailleTranslationResult) Init() AXBrailleTranslationResult
Init initializes the instance.
func (AXBrailleTranslationResult) InitWithCoder ¶
func (a AXBrailleTranslationResult) InitWithCoder(coder foundation.INSCoder) AXBrailleTranslationResult
See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslationResult/init(coder:)
func (AXBrailleTranslationResult) LocationMap ¶
func (a AXBrailleTranslationResult) LocationMap() []foundation.NSNumber
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 ¶
func (ac AXBrailleTranslationResultClass) Alloc() AXBrailleTranslationResult
Alloc allocates memory for a new instance of the class.
func (AXBrailleTranslationResultClass) Class ¶
func (ac AXBrailleTranslationResultClass) Class() objc.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 ¶
- AXBrailleTranslator.BackTranslateBraille: Input Braille should use the unicode Braille characters (0x2800-0x28FF).
- AXBrailleTranslator.TranslatePrintText: Output Braille uses the unicode Braille characters (0x2800-0x28FF).
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 NewAXBrailleTranslatorWithBrailleTable ¶
func NewAXBrailleTranslatorWithBrailleTable(brailleTable IAXBrailleTable) AXBrailleTranslator
See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslator/init(brailleTable:)
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 ¶
func (a AXBrailleTranslator) Init() AXBrailleTranslator
Init initializes the instance.
func (AXBrailleTranslator) InitWithBrailleTable ¶
func (a AXBrailleTranslator) InitWithBrailleTable(brailleTable IAXBrailleTable) AXBrailleTranslator
See: https://developer.apple.com/documentation/Accessibility/AXBrailleTranslator/init(brailleTable:)
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 ¶
func (ac AXBrailleTranslatorClass) Alloc() AXBrailleTranslator
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 ¶
- AXCategoricalDataAxisDescriptor.InitWithTitleCategoryOrder: Creates a categorical data axis with the specified title and an array of categories in the specified order.
- AXCategoricalDataAxisDescriptor.InitWithAttributedTitleCategoryOrder: Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.
Configuring the order of categories ¶
- AXCategoricalDataAxisDescriptor.CategoryOrder: A list of every category value for the axis in the order they appear visually in the graph or legend.
- AXCategoricalDataAxisDescriptor.SetCategoryOrder
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.
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.
func (AXCategoricalDataAxisDescriptor) AttributedTitle ¶
func (a AXCategoricalDataAxisDescriptor) AttributedTitle() foundation.NSAttributedString
An attributed version of the axis title.
See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle
func (AXCategoricalDataAxisDescriptor) Autorelease ¶
func (a AXCategoricalDataAxisDescriptor) Autorelease() AXCategoricalDataAxisDescriptor
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.
func (AXCategoricalDataAxisDescriptor) Init ¶
func (a AXCategoricalDataAxisDescriptor) Init() AXCategoricalDataAxisDescriptor
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.
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.
func (AXCategoricalDataAxisDescriptor) SetAttributedTitle ¶
func (o AXCategoricalDataAxisDescriptor) 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 (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 ¶
func (a AXCategoricalDataAxisDescriptor) Title() string
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 ¶
func (ac AXCategoricalDataAxisDescriptorClass) Alloc() AXCategoricalDataAxisDescriptor
Alloc allocates memory for a new instance of the class.
func (AXCategoricalDataAxisDescriptorClass) Class ¶
func (ac AXCategoricalDataAxisDescriptorClass) Class() objc.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 ¶
- AXChartDescriptor.Title: The title of the chart.
- AXChartDescriptor.SetTitle
- AXChartDescriptor.AttributedTitle: An attributed version of the chart title.
- AXChartDescriptor.SetAttributedTitle
Specifying the chart summary ¶
- AXChartDescriptor.Summary: A description of the key takeaways or features of the chart.
- AXChartDescriptor.SetSummary
Specifying the axes ¶
- AXChartDescriptor.XAxis: The axis descriptor for the chart’s x-axis.
- AXChartDescriptor.SetXAxis
- AXChartDescriptor.YAxis: The axis descriptor for the chart’s y-axis.
- AXChartDescriptor.SetYAxis
- AXChartDescriptor.AdditionalAxes: The descriptors for additional categorical or numerical axes beyond the x-axis and y-axis.
- AXChartDescriptor.SetAdditionalAxes
Specifying a series of data points ¶
- AXChartDescriptor.Series: The descriptors for each data series in the chart.
- AXChartDescriptor.SetSeries
Specifying the content layout ¶
- AXChartDescriptor.ContentFrame: The bounds of the view, in screen coordinates, for visually rendering data values.
- AXChartDescriptor.SetContentFrame
- AXChartDescriptor.ContentDirection: The direction of the content in the chart.
- AXChartDescriptor.SetContentDirection
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.
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.
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.
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.
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) ContentDirection ¶
func (a AXChartDescriptor) ContentDirection() AXChartDescriptorContentDirection
The direction of the content in the chart.
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 ¶
func (a AXChartDescriptor) Init() AXChartDescriptor
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.
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.
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.
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.
func (AXChartDescriptor) Series ¶
func (a AXChartDescriptor) Series() []AXDataSeriesDescriptor
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 (a AXChartDescriptor) SetYAxis(value IAXNumericDataAxisDescriptor)
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 ¶
func (a AXChartDescriptor) XAxis() AXDataAxisDescriptor
The axis descriptor for the chart’s x-axis.
See: https://developer.apple.com/documentation/Accessibility/AXChartDescriptor/xAxis-6dnxd
func (AXChartDescriptor) YAxis ¶
func (a AXChartDescriptor) YAxis() IAXNumericDataAxisDescriptor
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 ¶
func (ac AXChartDescriptorClass) Alloc() AXChartDescriptor
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
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 ¶
func (e AXChartDescriptorContentDirection) String() 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 ¶
- AXCustomContent.Label: A localized string that identifies the label for this content.
- AXCustomContent.AttributedLabel: A localized attributed string that identifies the label for this content.
- AXCustomContent.Value: A localized string that provides a value for the label.
- AXCustomContent.AttributedValue: A localized attributed string that provides a value for the label.
- AXCustomContent.Importance: An object that determines when to output custom accessibility content.
- AXCustomContent.SetImportance
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.
func NewAXCustomContentWithCoder ¶
func NewAXCustomContentWithCoder(coder foundation.INSCoder) AXCustomContent
See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/init(coder:)
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 ¶
func (a AXCustomContent) Importance() AXCustomContentImportance
An object that determines when to output custom accessibility content.
See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/importance-swift.property
func (AXCustomContent) Init ¶
func (a AXCustomContent) Init() AXCustomContent
Init initializes the instance.
func (AXCustomContent) InitWithCoder ¶
func (a AXCustomContent) InitWithCoder(coder foundation.INSCoder) AXCustomContent
See: https://developer.apple.com/documentation/Accessibility/AXCustomContent/init(coder:)
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 ¶
func (ac AXCustomContentClass) Alloc() AXCustomContent
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.
func (AXCustomContentProviderObject) AccessibilityCustomContentBlock ¶
func (o AXCustomContentProviderObject) AccessibilityCustomContentBlock() AXCustomContentReturnBlock
func (AXCustomContentProviderObject) BaseObject ¶
func (o AXCustomContentProviderObject) BaseObject() objectivec.Object
func (AXCustomContentProviderObject) SetAccessibilityCustomContent ¶
func (o AXCustomContentProviderObject) SetAccessibilityCustomContent(value []AXCustomContent)
func (AXCustomContentProviderObject) SetAccessibilityCustomContentBlock ¶
func (o AXCustomContentProviderObject) SetAccessibilityCustomContentBlock(value objc.ID)
type AXCustomContentReturnBlock ¶
type AXCustomContentReturnBlock = func() []AXCustomContent
See: https://developer.apple.com/documentation/Accessibility/AXCustomContentReturnBlock
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 ¶
func (o AXDataAxisDescriptorObject) AttributedTitle() 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 (AXDataAxisDescriptorObject) BaseObject ¶
func (o AXDataAxisDescriptorObject) BaseObject() objectivec.Object
func (AXDataAxisDescriptorObject) SetAttributedTitle ¶
func (o AXDataAxisDescriptorObject) SetAttributedTitle(value foundation.NSAttributedString)
func (AXDataAxisDescriptorObject) SetTitle ¶
func (o AXDataAxisDescriptorObject) SetTitle(value string)
func (AXDataAxisDescriptorObject) Title ¶
func (o AXDataAxisDescriptorObject) Title() string
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 ¶
- AXDataPoint.XValue: The value of the x-axis for the data point.
- AXDataPoint.SetXValue
- AXDataPoint.YValue: The value of the y-axis for the data point.
- AXDataPoint.SetYValue
Specifying the label ¶
- AXDataPoint.Label: The label for the data point.
- AXDataPoint.SetLabel
- AXDataPoint.AttributedLabel: An attributed version of the label for the data point.
- AXDataPoint.SetAttributedLabel
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.
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) 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.
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 ¶
func (a AXDataPointValue) Init() AXDataPointValue
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 ¶
func (ac AXDataPointValueClass) Alloc() AXDataPointValue
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 ¶
- AXDataSeriesDescriptor.InitWithNameIsContinuousDataPoints: Creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.
- AXDataSeriesDescriptor.InitWithAttributedNameIsContinuousDataPoints: Creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.
Naming the series ¶
- AXDataSeriesDescriptor.Name: The name of the data series.
- AXDataSeriesDescriptor.SetName
- AXDataSeriesDescriptor.AttributedName: An attributed version of the data series name.
- AXDataSeriesDescriptor.SetAttributedName
Configuring the data points ¶
- AXDataSeriesDescriptor.IsContinuous: A Boolean value that determines whether the data series is continuous.
- AXDataSeriesDescriptor.SetIsContinuous
- AXDataSeriesDescriptor.DataPoints: The data points that the series contains.
- AXDataSeriesDescriptor.SetDataPoints
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.
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.
func (AXDataSeriesDescriptor) AttributedName ¶
func (a AXDataSeriesDescriptor) AttributedName() foundation.NSAttributedString
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 ¶
func (a AXDataSeriesDescriptor) Autorelease() AXDataSeriesDescriptor
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 ¶
func (a AXDataSeriesDescriptor) Init() AXDataSeriesDescriptor
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.
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.
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 ¶
func (ac AXDataSeriesDescriptorClass) Alloc() AXDataSeriesDescriptor
Alloc allocates memory for a new instance of the class.
func (AXDataSeriesDescriptorClass) Class ¶
func (ac AXDataSeriesDescriptorClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type AXFeatureOverrideSessionError ¶
type AXFeatureOverrideSessionError int
type AXFeatureOverrideSessionOptions ¶
type AXFeatureOverrideSessionOptions uint
See: https://developer.apple.com/documentation/Accessibility/AXFeatureOverrideSession/Options
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 ¶
func (a AXLiveAudioGraph) Init() AXLiveAudioGraph
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 ¶
func (ac AXLiveAudioGraphClass) Alloc() AXLiveAudioGraph
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 ¶
func (a AXMathExpression) Init() AXMathExpression
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 ¶
func (ac AXMathExpressionClass) Alloc() AXMathExpression
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 ¶
- AXMathExpressionFenced.CloseString
- AXMathExpressionFenced.Expressions
- AXMathExpressionFenced.OpenString
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 NewAXMathExpressionFencedWithExpressionsOpenStringCloseString ¶
func NewAXMathExpressionFencedWithExpressionsOpenStringCloseString(expressions []AXMathExpression, openString string, closeString string) AXMathExpressionFenced
func (AXMathExpressionFenced) Autorelease ¶
func (a AXMathExpressionFenced) Autorelease() AXMathExpressionFenced
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionFenced) CloseString ¶
func (a AXMathExpressionFenced) CloseString() string
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFenced/closeString
func (AXMathExpressionFenced) Expressions ¶
func (a AXMathExpressionFenced) Expressions() []AXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFenced/expressions
func (AXMathExpressionFenced) Init ¶
func (a AXMathExpressionFenced) Init() AXMathExpressionFenced
Init initializes the instance.
func (AXMathExpressionFenced) InitWithExpressionsOpenStringCloseString ¶
func (a AXMathExpressionFenced) InitWithExpressionsOpenStringCloseString(expressions []AXMathExpression, openString string, closeString string) AXMathExpressionFenced
func (AXMathExpressionFenced) OpenString ¶
func (a AXMathExpressionFenced) OpenString() string
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFenced/openString
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 ¶
func (ac AXMathExpressionFencedClass) Alloc() AXMathExpressionFenced
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionFencedClass) Class ¶
func (ac AXMathExpressionFencedClass) Class() objc.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 NewAXMathExpressionFractionWithNumeratorExpressionDenimonatorExpression ¶
func NewAXMathExpressionFractionWithNumeratorExpressionDenimonatorExpression(numeratorExpression IAXMathExpression, denimonatorExpression IAXMathExpression) AXMathExpressionFraction
func (AXMathExpressionFraction) Autorelease ¶
func (a AXMathExpressionFraction) Autorelease() AXMathExpressionFraction
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionFraction) DenimonatorExpression ¶
func (a AXMathExpressionFraction) DenimonatorExpression() IAXMathExpression
func (AXMathExpressionFraction) Init ¶
func (a AXMathExpressionFraction) Init() AXMathExpressionFraction
Init initializes the instance.
func (AXMathExpressionFraction) InitWithNumeratorExpressionDenimonatorExpression ¶
func (a AXMathExpressionFraction) InitWithNumeratorExpressionDenimonatorExpression(numeratorExpression IAXMathExpression, denimonatorExpression IAXMathExpression) AXMathExpressionFraction
func (AXMathExpressionFraction) NumeratorExpression ¶
func (a AXMathExpressionFraction) NumeratorExpression() IAXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFraction/numeratorExpression
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 ¶
func (ac AXMathExpressionFractionClass) Alloc() AXMathExpressionFraction
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionFractionClass) Class ¶
func (ac AXMathExpressionFractionClass) Class() objc.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 NewAXMathExpressionIdentifierWithContent ¶
func NewAXMathExpressionIdentifierWithContent(content string) AXMathExpressionIdentifier
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionIdentifier/init(content:)
func (AXMathExpressionIdentifier) Autorelease ¶
func (a AXMathExpressionIdentifier) Autorelease() AXMathExpressionIdentifier
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionIdentifier) Content ¶
func (a AXMathExpressionIdentifier) Content() string
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionIdentifier/content
func (AXMathExpressionIdentifier) Init ¶
func (a AXMathExpressionIdentifier) Init() AXMathExpressionIdentifier
Init initializes the instance.
func (AXMathExpressionIdentifier) InitWithContent ¶
func (a AXMathExpressionIdentifier) InitWithContent(content string) AXMathExpressionIdentifier
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionIdentifier/init(content:)
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 ¶
func (ac AXMathExpressionIdentifierClass) Alloc() AXMathExpressionIdentifier
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionIdentifierClass) Class ¶
func (ac AXMathExpressionIdentifierClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type AXMathExpressionMultiscript ¶
type AXMathExpressionMultiscript struct {
AXMathExpression
}
Initializers ¶
Instance Properties ¶
- AXMathExpressionMultiscript.BaseExpression
- AXMathExpressionMultiscript.PostscriptExpressions
- AXMathExpressionMultiscript.PrescriptExpressions
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 NewAXMathExpressionMultiscriptWithBaseExpressionPrescriptExpressionsPostscriptExpressions ¶
func NewAXMathExpressionMultiscriptWithBaseExpressionPrescriptExpressionsPostscriptExpressions(baseExpression IAXMathExpression, prescriptExpressions []AXMathExpressionSubSuperscript, postscriptExpressions []AXMathExpressionSubSuperscript) AXMathExpressionMultiscript
func (AXMathExpressionMultiscript) Autorelease ¶
func (a AXMathExpressionMultiscript) Autorelease() AXMathExpressionMultiscript
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionMultiscript) BaseExpression ¶
func (a AXMathExpressionMultiscript) BaseExpression() IAXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionMultiscript/baseExpression
func (AXMathExpressionMultiscript) Init ¶
func (a AXMathExpressionMultiscript) Init() AXMathExpressionMultiscript
Init initializes the instance.
func (AXMathExpressionMultiscript) InitWithBaseExpressionPrescriptExpressionsPostscriptExpressions ¶
func (a AXMathExpressionMultiscript) InitWithBaseExpressionPrescriptExpressionsPostscriptExpressions(baseExpression IAXMathExpression, prescriptExpressions []AXMathExpressionSubSuperscript, postscriptExpressions []AXMathExpressionSubSuperscript) AXMathExpressionMultiscript
func (AXMathExpressionMultiscript) PostscriptExpressions ¶
func (a AXMathExpressionMultiscript) PostscriptExpressions() []AXMathExpressionSubSuperscript
func (AXMathExpressionMultiscript) PrescriptExpressions ¶
func (a AXMathExpressionMultiscript) PrescriptExpressions() []AXMathExpressionSubSuperscript
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 ¶
func (ac AXMathExpressionMultiscriptClass) Alloc() AXMathExpressionMultiscript
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionMultiscriptClass) Class ¶
func (ac AXMathExpressionMultiscriptClass) Class() objc.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 NewAXMathExpressionNumberWithContent ¶
func NewAXMathExpressionNumberWithContent(content string) AXMathExpressionNumber
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionNumber/init(content:)
func (AXMathExpressionNumber) Autorelease ¶
func (a AXMathExpressionNumber) Autorelease() AXMathExpressionNumber
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionNumber) Content ¶
func (a AXMathExpressionNumber) Content() string
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionNumber/content
func (AXMathExpressionNumber) Init ¶
func (a AXMathExpressionNumber) Init() AXMathExpressionNumber
Init initializes the instance.
func (AXMathExpressionNumber) InitWithContent ¶
func (a AXMathExpressionNumber) InitWithContent(content string) AXMathExpressionNumber
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionNumber/init(content:)
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 ¶
func (ac AXMathExpressionNumberClass) Alloc() AXMathExpressionNumber
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionNumberClass) Class ¶
func (ac AXMathExpressionNumberClass) Class() objc.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 NewAXMathExpressionOperatorWithContent ¶
func NewAXMathExpressionOperatorWithContent(content string) AXMathExpressionOperator
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionOperator/init(content:)
func (AXMathExpressionOperator) Autorelease ¶
func (a AXMathExpressionOperator) Autorelease() AXMathExpressionOperator
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionOperator) Content ¶
func (a AXMathExpressionOperator) Content() string
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionOperator/content
func (AXMathExpressionOperator) Init ¶
func (a AXMathExpressionOperator) Init() AXMathExpressionOperator
Init initializes the instance.
func (AXMathExpressionOperator) InitWithContent ¶
func (a AXMathExpressionOperator) InitWithContent(content string) AXMathExpressionOperator
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionOperator/init(content:)
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 ¶
func (ac AXMathExpressionOperatorClass) Alloc() AXMathExpressionOperator
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionOperatorClass) Class ¶
func (ac AXMathExpressionOperatorClass) Class() objc.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) AccessibilityMathExpression ¶
func (o AXMathExpressionProviderObject) AccessibilityMathExpression() IAXMathExpression
func (AXMathExpressionProviderObject) BaseObject ¶
func (o AXMathExpressionProviderObject) BaseObject() objectivec.Object
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 NewAXMathExpressionRootWithRadicandExpressionsRootIndexExpression ¶
func NewAXMathExpressionRootWithRadicandExpressionsRootIndexExpression(radicandExpressions []AXMathExpression, rootIndexExpression IAXMathExpression) AXMathExpressionRoot
func (AXMathExpressionRoot) Autorelease ¶
func (a AXMathExpressionRoot) Autorelease() AXMathExpressionRoot
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionRoot) Init ¶
func (a AXMathExpressionRoot) Init() AXMathExpressionRoot
Init initializes the instance.
func (AXMathExpressionRoot) InitWithRadicandExpressionsRootIndexExpression ¶
func (a AXMathExpressionRoot) InitWithRadicandExpressionsRootIndexExpression(radicandExpressions []AXMathExpression, rootIndexExpression IAXMathExpression) AXMathExpressionRoot
func (AXMathExpressionRoot) RadicandExpressions ¶
func (a AXMathExpressionRoot) RadicandExpressions() []AXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRoot/radicandExpressions
func (AXMathExpressionRoot) RootIndexExpression ¶
func (a AXMathExpressionRoot) RootIndexExpression() IAXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRoot/rootIndexExpression
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 ¶
func (ac AXMathExpressionRootClass) Alloc() AXMathExpressionRoot
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionRootClass) Class ¶
func (ac AXMathExpressionRootClass) Class() objc.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 NewAXMathExpressionRowWithExpressions ¶
func NewAXMathExpressionRowWithExpressions(expressions []AXMathExpression) AXMathExpressionRow
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRow/init(expressions:)
func (AXMathExpressionRow) Autorelease ¶
func (a AXMathExpressionRow) Autorelease() AXMathExpressionRow
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionRow) Expressions ¶
func (a AXMathExpressionRow) Expressions() []AXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRow/expressions
func (AXMathExpressionRow) Init ¶
func (a AXMathExpressionRow) Init() AXMathExpressionRow
Init initializes the instance.
func (AXMathExpressionRow) InitWithExpressions ¶
func (a AXMathExpressionRow) InitWithExpressions(expressions []AXMathExpression) AXMathExpressionRow
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRow/init(expressions:)
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 ¶
func (ac AXMathExpressionRowClass) Alloc() AXMathExpressionRow
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 ¶
- AXMathExpressionSubSuperscript.BaseExpression
- AXMathExpressionSubSuperscript.SubscriptExpressions
- AXMathExpressionSubSuperscript.SuperscriptExpressions
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 NewAXMathExpressionSubSuperscriptWithBaseExpressionSubscriptExpressionsSuperscriptExpressions ¶
func NewAXMathExpressionSubSuperscriptWithBaseExpressionSubscriptExpressionsSuperscriptExpressions(baseExpression []AXMathExpression, subscriptExpressions []AXMathExpression, superscriptExpressions []AXMathExpression) AXMathExpressionSubSuperscript
func (AXMathExpressionSubSuperscript) Autorelease ¶
func (a AXMathExpressionSubSuperscript) Autorelease() AXMathExpressionSubSuperscript
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionSubSuperscript) BaseExpression ¶
func (a AXMathExpressionSubSuperscript) BaseExpression() IAXMathExpression
func (AXMathExpressionSubSuperscript) Init ¶
func (a AXMathExpressionSubSuperscript) Init() AXMathExpressionSubSuperscript
Init initializes the instance.
func (AXMathExpressionSubSuperscript) InitWithBaseExpressionSubscriptExpressionsSuperscriptExpressions ¶
func (a AXMathExpressionSubSuperscript) InitWithBaseExpressionSubscriptExpressionsSuperscriptExpressions(baseExpression []AXMathExpression, subscriptExpressions []AXMathExpression, superscriptExpressions []AXMathExpression) AXMathExpressionSubSuperscript
func (AXMathExpressionSubSuperscript) SubscriptExpressions ¶
func (a AXMathExpressionSubSuperscript) SubscriptExpressions() []AXMathExpression
func (AXMathExpressionSubSuperscript) SuperscriptExpressions ¶
func (a AXMathExpressionSubSuperscript) SuperscriptExpressions() []AXMathExpression
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 ¶
func (ac AXMathExpressionSubSuperscriptClass) Alloc() AXMathExpressionSubSuperscript
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionSubSuperscriptClass) Class ¶
func (ac AXMathExpressionSubSuperscriptClass) Class() objc.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 NewAXMathExpressionTableWithExpressions ¶
func NewAXMathExpressionTableWithExpressions(expressions []AXMathExpression) AXMathExpressionTable
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTable/init(expressions:)
func (AXMathExpressionTable) Autorelease ¶
func (a AXMathExpressionTable) Autorelease() AXMathExpressionTable
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionTable) Expressions ¶
func (a AXMathExpressionTable) Expressions() []AXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTable/expressions
func (AXMathExpressionTable) Init ¶
func (a AXMathExpressionTable) Init() AXMathExpressionTable
Init initializes the instance.
func (AXMathExpressionTable) InitWithExpressions ¶
func (a AXMathExpressionTable) InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTable
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTable/init(expressions:)
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 NewAXMathExpressionTableCellWithExpressions ¶
func NewAXMathExpressionTableCellWithExpressions(expressions []AXMathExpression) AXMathExpressionTableCell
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableCell/init(expressions:)
func (AXMathExpressionTableCell) Autorelease ¶
func (a AXMathExpressionTableCell) Autorelease() AXMathExpressionTableCell
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionTableCell) Expressions ¶
func (a AXMathExpressionTableCell) Expressions() []AXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableCell/expressions
func (AXMathExpressionTableCell) Init ¶
func (a AXMathExpressionTableCell) Init() AXMathExpressionTableCell
Init initializes the instance.
func (AXMathExpressionTableCell) InitWithExpressions ¶
func (a AXMathExpressionTableCell) InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTableCell
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableCell/init(expressions:)
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 ¶
func (ac AXMathExpressionTableCellClass) Alloc() AXMathExpressionTableCell
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionTableCellClass) Class ¶
func (ac AXMathExpressionTableCellClass) Class() objc.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 ¶
func (ac AXMathExpressionTableClass) Alloc() AXMathExpressionTable
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionTableClass) Class ¶
func (ac AXMathExpressionTableClass) Class() objc.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 NewAXMathExpressionTableRowWithExpressions ¶
func NewAXMathExpressionTableRowWithExpressions(expressions []AXMathExpression) AXMathExpressionTableRow
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableRow/init(expressions:)
func (AXMathExpressionTableRow) Autorelease ¶
func (a AXMathExpressionTableRow) Autorelease() AXMathExpressionTableRow
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionTableRow) Expressions ¶
func (a AXMathExpressionTableRow) Expressions() []AXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableRow/expressions
func (AXMathExpressionTableRow) Init ¶
func (a AXMathExpressionTableRow) Init() AXMathExpressionTableRow
Init initializes the instance.
func (AXMathExpressionTableRow) InitWithExpressions ¶
func (a AXMathExpressionTableRow) InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTableRow
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableRow/init(expressions:)
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 ¶
func (ac AXMathExpressionTableRowClass) Alloc() AXMathExpressionTableRow
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionTableRowClass) Class ¶
func (ac AXMathExpressionTableRowClass) Class() objc.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 NewAXMathExpressionTextWithContent ¶
func NewAXMathExpressionTextWithContent(content string) AXMathExpressionText
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionText/init(content:)
func (AXMathExpressionText) Autorelease ¶
func (a AXMathExpressionText) Autorelease() AXMathExpressionText
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionText) Content ¶
func (a AXMathExpressionText) Content() string
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionText/content
func (AXMathExpressionText) Init ¶
func (a AXMathExpressionText) Init() AXMathExpressionText
Init initializes the instance.
func (AXMathExpressionText) InitWithContent ¶
func (a AXMathExpressionText) InitWithContent(content string) AXMathExpressionText
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionText/init(content:)
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 ¶
func (ac AXMathExpressionTextClass) Alloc() AXMathExpressionText
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionTextClass) Class ¶
func (ac AXMathExpressionTextClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type AXMathExpressionUnderOver ¶
type AXMathExpressionUnderOver struct {
AXMathExpression
}
Initializers ¶
Instance Properties ¶
- AXMathExpressionUnderOver.BaseExpression
- AXMathExpressionUnderOver.OverExpression
- AXMathExpressionUnderOver.UnderExpression
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 NewAXMathExpressionUnderOverWithBaseExpressionUnderExpressionOverExpression ¶
func NewAXMathExpressionUnderOverWithBaseExpressionUnderExpressionOverExpression(baseExpression IAXMathExpression, underExpression IAXMathExpression, overExpression IAXMathExpression) AXMathExpressionUnderOver
func (AXMathExpressionUnderOver) Autorelease ¶
func (a AXMathExpressionUnderOver) Autorelease() AXMathExpressionUnderOver
Autorelease adds the receiver to the current autorelease pool.
func (AXMathExpressionUnderOver) BaseExpression ¶
func (a AXMathExpressionUnderOver) BaseExpression() IAXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionUnderOver/baseExpression
func (AXMathExpressionUnderOver) Init ¶
func (a AXMathExpressionUnderOver) Init() AXMathExpressionUnderOver
Init initializes the instance.
func (AXMathExpressionUnderOver) InitWithBaseExpressionUnderExpressionOverExpression ¶
func (a AXMathExpressionUnderOver) InitWithBaseExpressionUnderExpressionOverExpression(baseExpression IAXMathExpression, underExpression IAXMathExpression, overExpression IAXMathExpression) AXMathExpressionUnderOver
func (AXMathExpressionUnderOver) OverExpression ¶
func (a AXMathExpressionUnderOver) OverExpression() IAXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionUnderOver/overExpression
func (AXMathExpressionUnderOver) UnderExpression ¶
func (a AXMathExpressionUnderOver) UnderExpression() IAXMathExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionUnderOver/underExpression
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 ¶
func (ac AXMathExpressionUnderOverClass) Alloc() AXMathExpressionUnderOver
Alloc allocates memory for a new instance of the class.
func (AXMathExpressionUnderOverClass) Class ¶
func (ac AXMathExpressionUnderOverClass) Class() objc.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 ¶
- AXNumericDataAxisDescriptor.ValueDescriptionProvider: A description to speak for a particular data value on the axis.
- AXNumericDataAxisDescriptor.SetValueDescriptionProvider
Configuring the axis scale ¶
- AXNumericDataAxisDescriptor.ScaleType: The scale for the axis.
- AXNumericDataAxisDescriptor.SetScaleType
Configuring the gridlines ¶
- AXNumericDataAxisDescriptor.GridlinePositions: The positions of the gridlines along the axis.
- AXNumericDataAxisDescriptor.SetGridlinePositions
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 ¶
func (a AXNumericDataAxisDescriptor) AttributedTitle() foundation.NSAttributedString
An attributed version of the axis title.
See: https://developer.apple.com/documentation/Accessibility/AXDataAxisDescriptor/attributedTitle
func (AXNumericDataAxisDescriptor) Autorelease ¶
func (a AXNumericDataAxisDescriptor) Autorelease() AXNumericDataAxisDescriptor
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.
func (AXNumericDataAxisDescriptor) Init ¶
func (a AXNumericDataAxisDescriptor) Init() AXNumericDataAxisDescriptor
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.
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.
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 ¶
func (a AXNumericDataAxisDescriptor) ScaleType() AXNumericDataAxisDescriptorScale
The scale for the axis.
Discussion ¶
Match the value of this property to the visual representation in the chart.
The default value is AXScaleTypeLinear.
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 (a AXNumericDataAxisDescriptor) SetScaleType(value AXNumericDataAxisDescriptorScale)
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 ¶
func (a AXNumericDataAxisDescriptor) Title() string
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.
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 ¶
func (ac AXNumericDataAxisDescriptorClass) Alloc() AXNumericDataAxisDescriptor
Alloc allocates memory for a new instance of the class.
func (AXNumericDataAxisDescriptorClass) Class ¶
func (ac AXNumericDataAxisDescriptorClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type AXNumericDataAxisDescriptorScale ¶
type AXNumericDataAxisDescriptorScale int
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 ¶
func (e AXNumericDataAxisDescriptorScale) String() string
type AXRequest ¶
type AXRequest struct {
objectivec.Object
}
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AccessibilityRequest
func AXRequestFromID ¶
AXRequestFromID constructs a AXRequest from an objc.ID.
func (AXRequest) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (AXRequest) EncodeWithCoder ¶
func (a AXRequest) EncodeWithCoder(coder foundation.INSCoder)
func (AXRequest) Technology ¶
func (a AXRequest) Technology() AXTechnology
See: https://developer.apple.com/documentation/Accessibility/AccessibilityRequest/technology
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.
func (AXRequestClass) CurrentRequest ¶
func (_AXRequestClass AXRequestClass) CurrentRequest() AXRequest
See: https://developer.apple.com/documentation/Accessibility/AccessibilityRequest/current
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 AXTechnology ¶
type AXTechnology = string
See: https://developer.apple.com/documentation/Accessibility/AccessibilityTechnology
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 ¶
- IAXBrailleMap.Dimensions: The number of pins in each dimension of the braille display.
Accessing dots ¶
- IAXBrailleMap.SetHeightAtPoint: Sets the height of an individual pin on the braille display.
- IAXBrailleMap.HeightAtPoint: Retrieves the height of an individual pin on the braille display.
Displaying images ¶
- IAXBrailleMap.PresentImage: Converts the data from the image you specify into the braille map.
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 ¶
- IAXBrailleTable.InitWithCoder
- IAXBrailleTable.InitWithIdentifier: Returns nil if there is no table with the given identifier.
Instance Properties ¶
- IAXBrailleTable.Identifier: A unique string that identifies this table.
- IAXBrailleTable.IsEightDot: Returns true if this table makes use of eight dots as opposed to six dots.
- IAXBrailleTable.Language: The 3-character code from ISO 639-2 for the language this Braille table pertains to.
- IAXBrailleTable.Locales: All locales this table supports.
- IAXBrailleTable.LocalizedName: The localized name of this table for user display.
- IAXBrailleTable.LocalizedProviderName: The localized name of the provider of this table for user display.
- IAXBrailleTable.ProviderIdentifier: The identifier of the provider of this table.
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 ¶
- IAXBrailleTranslationResult.ResultString: The resulting string after translation or back-translation.
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 ¶
- IAXBrailleTranslator.BackTranslateBraille: Input Braille should use the unicode Braille characters (0x2800-0x28FF).
- IAXBrailleTranslator.TranslatePrintText: Output Braille uses the unicode Braille characters (0x2800-0x28FF).
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 ¶
- IAXCategoricalDataAxisDescriptor.InitWithTitleCategoryOrder: Creates a categorical data axis with the specified title and an array of categories in the specified order.
- IAXCategoricalDataAxisDescriptor.InitWithAttributedTitleCategoryOrder: Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.
Configuring the order of categories ¶
- IAXCategoricalDataAxisDescriptor.CategoryOrder: A list of every category value for the axis in the order they appear visually in the graph or legend.
- IAXCategoricalDataAxisDescriptor.SetCategoryOrder
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 ¶
- IAXChartDescriptor.Title: The title of the chart.
- IAXChartDescriptor.SetTitle
- IAXChartDescriptor.AttributedTitle: An attributed version of the chart title.
- IAXChartDescriptor.SetAttributedTitle
Specifying the chart summary ¶
- IAXChartDescriptor.Summary: A description of the key takeaways or features of the chart.
- IAXChartDescriptor.SetSummary
Specifying the axes ¶
- IAXChartDescriptor.XAxis: The axis descriptor for the chart’s x-axis.
- IAXChartDescriptor.SetXAxis
- IAXChartDescriptor.YAxis: The axis descriptor for the chart’s y-axis.
- IAXChartDescriptor.SetYAxis
- IAXChartDescriptor.AdditionalAxes: The descriptors for additional categorical or numerical axes beyond the x-axis and y-axis.
- IAXChartDescriptor.SetAdditionalAxes
Specifying a series of data points ¶
- IAXChartDescriptor.Series: The descriptors for each data series in the chart.
- IAXChartDescriptor.SetSeries
Specifying the content layout ¶
- IAXChartDescriptor.ContentFrame: The bounds of the view, in screen coordinates, for visually rendering data values.
- IAXChartDescriptor.SetContentFrame
- IAXChartDescriptor.ContentDirection: The direction of the content in the chart.
- IAXChartDescriptor.SetContentDirection
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 ¶
- IAXCustomContent.Label: A localized string that identifies the label for this content.
- IAXCustomContent.AttributedLabel: A localized attributed string that identifies the label for this content.
- IAXCustomContent.Value: A localized string that provides a value for the label.
- IAXCustomContent.AttributedValue: A localized attributed string that provides a value for the label.
- IAXCustomContent.Importance: An object that determines when to output custom accessibility content.
- IAXCustomContent.SetImportance
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 ¶
- IAXDataPoint.XValue: The value of the x-axis for the data point.
- IAXDataPoint.SetXValue
- IAXDataPoint.YValue: The value of the y-axis for the data point.
- IAXDataPoint.SetYValue
Specifying the label ¶
- IAXDataPoint.Label: The label for the data point.
- IAXDataPoint.SetLabel
- IAXDataPoint.AttributedLabel: An attributed version of the label for the data point.
- IAXDataPoint.SetAttributedLabel
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 ¶
- IAXDataSeriesDescriptor.InitWithNameIsContinuousDataPoints: Creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.
- IAXDataSeriesDescriptor.InitWithAttributedNameIsContinuousDataPoints: Creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.
Naming the series ¶
- IAXDataSeriesDescriptor.Name: The name of the data series.
- IAXDataSeriesDescriptor.SetName
- IAXDataSeriesDescriptor.AttributedName: An attributed version of the data series name.
- IAXDataSeriesDescriptor.SetAttributedName
Configuring the data points ¶
- IAXDataSeriesDescriptor.IsContinuous: A Boolean value that determines whether the data series is continuous.
- IAXDataSeriesDescriptor.SetIsContinuous
- IAXDataSeriesDescriptor.DataPoints: The data points that the series contains.
- IAXDataSeriesDescriptor.SetDataPoints
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 IAXMathExpressionFenced ¶
type IAXMathExpressionFenced interface {
IAXMathExpression
InitWithExpressionsOpenStringCloseString(expressions []AXMathExpression, openString string, closeString string) AXMathExpressionFenced
CloseString() string
Expressions() []AXMathExpression
OpenString() string
}
An interface definition for the AXMathExpressionFenced class.
Initializers ¶
Instance Properties ¶
- IAXMathExpressionFenced.CloseString
- IAXMathExpressionFenced.Expressions
- IAXMathExpressionFenced.OpenString
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFenced
type IAXMathExpressionFraction ¶
type IAXMathExpressionFraction interface {
IAXMathExpression
InitWithNumeratorExpressionDenimonatorExpression(numeratorExpression IAXMathExpression, denimonatorExpression IAXMathExpression) AXMathExpressionFraction
DenimonatorExpression() IAXMathExpression
NumeratorExpression() IAXMathExpression
}
An interface definition for the AXMathExpressionFraction class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionFraction
type IAXMathExpressionIdentifier ¶
type IAXMathExpressionIdentifier interface {
IAXMathExpression
InitWithContent(content string) AXMathExpressionIdentifier
Content() string
}
An interface definition for the AXMathExpressionIdentifier class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionIdentifier
type IAXMathExpressionMultiscript ¶
type IAXMathExpressionMultiscript interface {
IAXMathExpression
InitWithBaseExpressionPrescriptExpressionsPostscriptExpressions(baseExpression IAXMathExpression, prescriptExpressions []AXMathExpressionSubSuperscript, postscriptExpressions []AXMathExpressionSubSuperscript) AXMathExpressionMultiscript
BaseExpression() IAXMathExpression
PostscriptExpressions() []AXMathExpressionSubSuperscript
PrescriptExpressions() []AXMathExpressionSubSuperscript
}
An interface definition for the AXMathExpressionMultiscript class.
Initializers ¶
Instance Properties ¶
- IAXMathExpressionMultiscript.BaseExpression
- IAXMathExpressionMultiscript.PostscriptExpressions
- IAXMathExpressionMultiscript.PrescriptExpressions
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionMultiscript
type IAXMathExpressionNumber ¶
type IAXMathExpressionNumber interface {
IAXMathExpression
InitWithContent(content string) AXMathExpressionNumber
Content() string
}
An interface definition for the AXMathExpressionNumber class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionNumber
type IAXMathExpressionOperator ¶
type IAXMathExpressionOperator interface {
IAXMathExpression
InitWithContent(content string) AXMathExpressionOperator
Content() string
}
An interface definition for the AXMathExpressionOperator class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionOperator
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 IAXMathExpressionRow ¶
type IAXMathExpressionRow interface {
IAXMathExpression
InitWithExpressions(expressions []AXMathExpression) AXMathExpressionRow
Expressions() []AXMathExpression
}
An interface definition for the AXMathExpressionRow class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionRow
type IAXMathExpressionSubSuperscript ¶
type IAXMathExpressionSubSuperscript interface {
IAXMathExpression
InitWithBaseExpressionSubscriptExpressionsSuperscriptExpressions(baseExpression []AXMathExpression, subscriptExpressions []AXMathExpression, superscriptExpressions []AXMathExpression) AXMathExpressionSubSuperscript
BaseExpression() IAXMathExpression
SubscriptExpressions() []AXMathExpression
SuperscriptExpressions() []AXMathExpression
}
An interface definition for the AXMathExpressionSubSuperscript class.
Initializers ¶
Instance Properties ¶
- IAXMathExpressionSubSuperscript.BaseExpression
- IAXMathExpressionSubSuperscript.SubscriptExpressions
- IAXMathExpressionSubSuperscript.SuperscriptExpressions
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionSubSuperscript
type IAXMathExpressionTable ¶
type IAXMathExpressionTable interface {
IAXMathExpression
InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTable
Expressions() []AXMathExpression
}
An interface definition for the AXMathExpressionTable class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTable
type IAXMathExpressionTableCell ¶
type IAXMathExpressionTableCell interface {
IAXMathExpression
InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTableCell
Expressions() []AXMathExpression
}
An interface definition for the AXMathExpressionTableCell class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableCell
type IAXMathExpressionTableRow ¶
type IAXMathExpressionTableRow interface {
IAXMathExpression
InitWithExpressions(expressions []AXMathExpression) AXMathExpressionTableRow
Expressions() []AXMathExpression
}
An interface definition for the AXMathExpressionTableRow class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionTableRow
type IAXMathExpressionText ¶
type IAXMathExpressionText interface {
IAXMathExpression
InitWithContent(content string) AXMathExpressionText
Content() string
}
An interface definition for the AXMathExpressionText class.
Initializers ¶
Instance Properties ¶
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionText
type IAXMathExpressionUnderOver ¶
type IAXMathExpressionUnderOver interface {
IAXMathExpression
InitWithBaseExpressionUnderExpressionOverExpression(baseExpression IAXMathExpression, underExpression IAXMathExpression, overExpression IAXMathExpression) AXMathExpressionUnderOver
BaseExpression() IAXMathExpression
OverExpression() IAXMathExpression
UnderExpression() IAXMathExpression
}
An interface definition for the AXMathExpressionUnderOver class.
Initializers ¶
Instance Properties ¶
- IAXMathExpressionUnderOver.BaseExpression
- IAXMathExpressionUnderOver.OverExpression
- IAXMathExpressionUnderOver.UnderExpression
See: https://developer.apple.com/documentation/Accessibility/AXMathExpressionUnderOver
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 ¶
- IAXNumericDataAxisDescriptor.ValueDescriptionProvider: A description to speak for a particular data value on the axis.
- IAXNumericDataAxisDescriptor.SetValueDescriptionProvider
Configuring the axis scale ¶
- IAXNumericDataAxisDescriptor.ScaleType: The scale for the axis.
- IAXNumericDataAxisDescriptor.SetScaleType
Configuring the gridlines ¶
- IAXNumericDataAxisDescriptor.GridlinePositions: The positions of the gridlines along the axis.
- IAXNumericDataAxisDescriptor.SetGridlinePositions
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
type StringFloat64Handler ¶
StringFloat64Handler handles a primitive value and returns a primitive value.
Used by:
Source Files
¶
- ax_braille_map.gen.go
- ax_braille_map_renderer_protocol.gen.go
- ax_braille_table.gen.go
- ax_braille_translation_result.gen.go
- ax_braille_translator.gen.go
- ax_categorical_data_axis_descriptor.gen.go
- ax_chart_descriptor.gen.go
- ax_chart_protocol.gen.go
- ax_custom_content.gen.go
- ax_custom_content_provider_protocol.gen.go
- ax_data_axis_descriptor_protocol.gen.go
- ax_data_point.gen.go
- ax_data_point_value.gen.go
- ax_data_series_descriptor.gen.go
- ax_live_audio_graph.gen.go
- ax_math_expression.gen.go
- ax_math_expression_fenced.gen.go
- ax_math_expression_fraction.gen.go
- ax_math_expression_identifier.gen.go
- ax_math_expression_multiscript.gen.go
- ax_math_expression_number.gen.go
- ax_math_expression_operator.gen.go
- ax_math_expression_provider_protocol.gen.go
- ax_math_expression_root.gen.go
- ax_math_expression_row.gen.go
- ax_math_expression_sub_superscript.gen.go
- ax_math_expression_table.gen.go
- ax_math_expression_table_cell.gen.go
- ax_math_expression_table_row.gen.go
- ax_math_expression_text.gen.go
- ax_math_expression_under_over.gen.go
- ax_numeric_data_axis_descriptor.gen.go
- ax_request.gen.go
- blocks.gen.go
- doc.gen.go
- enums.gen.go
- functions.gen.go
- generate.go
- global_vars.gen.go
- typedefs.gen.go
- types.gen.go
- undefined_types.gen.go