From: Mark Doffman A structure that encapsulates the characteristics of the event notifications
- that should be sent to an EventListener in response to a call to
- DeviceEventController.registerKeystrokeListener or
- DeviceEventController.registerDeviceEventListener. If \c If If An identifier which identifies this event in the event stream.
- On X Window systems this corresponds to the XEvent serial number. A numeric code which is hardware and system-dependent, identifying the
- specific hardware button or key on the device for which the event has
- occurred. On X Window systems, for global key notifications and for most
- non-global key notifications as well, this code corresponds to the
- XKeycode. For switch and button events it indicates the switch
- or button number.
-
- For technical reasons, this code may differ from the XKeycode
- when generated by Java applications for consumption by non-global
- key listeners. This is subject to change in future versions of the
- DeviceEventController implementation.
- An unsigned short int consisting of zero or more of the following
- values OR'ed together:
- True
, specifies that
- DeviceEventController should block while waiting
- for client to process the requested event notifications;
- ordinarily should be used only when client needs to perform
- operations synchronously with event delivery. Note that because
- of the architecture of device event systems in general,
- use of this flag may not block delivery of the event to
- the currently focussed application unless it is used in
- conjunction with the preemptive flag. True
, specifies that
- Listener is allowed to pre-empt the delivery of the event,
- effectively 'consuming' it such that it is not delivered
- to the currently focussed desktop application.
- Key events consumed via this API will not be
- available for use by other applications or services, so this
- option should be used sparingly. True
, specifies that
- Event notifications should be sent regardless of whether the
- currently focussed application participates in the AT-SPI
- infrastructure. On systems with the XEvIE X extension, this flag
- also allows access to events which are already subject to
- interception via a 'system keygrab' (as described in the X Window System
- documentation for XGrabKey). The 'global' and 'preemptive' flags
- should only be used together for the purposes of registering
- 'system global key shortcuts' i.e. command keys for use by the
- assistive technology.
-
- MODIFIER_SHIFT
(=1, corresponds to Xlib's ShiftMask)MODIFIER_SHIFTLOCK
(=2, corresponds to Xlib's LockMask)MODIFIER_CONTROL
(=4, corresponds to Xlib's ControlMask)MODIFIER_ALT
(=8, corresponds to Xlib's Mod1Mask)MODIFIER_META
(=16, corresponds to Xlib's Mod2Mask)MODIFIER_META2
(=32, corresponds to Xlib's Mod3Mask)MODIFIER_META3
(=64, corresponds to Xlib's Mod4Mask)
An unsigned integer representing the time that the - event occurred. On X Window systems this event is - a time in milliseconds from some arbitrary starting - point; it therefore has a cycle time of approximately - 50 days.
-A string representation of the event. If is_text is
- True
, then this string represents the character or typographic
- sequence that would be received by a focussed text input field.
- event_string is in general suitable for exposure to the
- end-user for purposes of keyboard echo.
True
if the event results in the insertion of characters
- into an input text buffer, or would do so if delivered to a focussed
- text input field. 'Typographical' key events have this field set to
- True
, whereas 'control' key events generally do not.
A structure which defines the identity of a key for which notifications - are to be requested. The data in the members of a KeyDefinition are used to - determine which keyboard events 'match' the notification request filed by a client.
-Ordinarily a KeyDefinition specifies one and only one of the criteria below; - the result of using a KeyDefinition with multiple members defined as nonzero is - undefined.
+keysym
based notifications, but some hardware (notably many laptops) may generate
- more than one keycode for the same physical key, depending on the state of physical
- shift/modifier keys.
- True
, or the string representing the
- 'name' of the key. On X11 systems, the string 'name' of non-printing keysyms corresponds
- to the values in 'keysymdef.h' as provided by Xlib, with the leading 'XK_'; stripped off.
- This interface should be implemented by AT-SPI clients who wish to - make use of the DeviceEventController to receive device event notifications. - DeviceEvents include keyboard events and mouse button/motion events.
-True
if the recipient/consumer wishes to consume the event, i.e.prevent it from being delivered to the desktop, False
if the event should continue to be delivered as normal.
- The interface via which clients request notification of device events, and - through which device events may be simulated.
-Register to intercept keyboard events, and either pass them on or - consume them.
-True
if the DeviceEventListener was successfully registeredfor the requested KeySet, ControllerEventMask, event types, and EventListenerMode; otherwise returns False
.
- Register to intercept events, and either pass them on or - consume them. To listen to keyboard events use registerKeystrokeListener - instead.
-True
if successful, False
if not
- Notify the Registry instance that a device event has taken place, and - allow pre-emptive listeners the opportunity to 'consume' the event - and thus prevent its further issuance/forwarding. This is the - method used by accessibility bridges to forward 'toolkit dependent' - device events to the Registry from the application's process space.
-AT clients do not normally need to use this method, it is intended for use - by toolkit bridges and special-purpose applications.
-True
if the event was consumed by a (pre-emptive) listener, False
if not (in which case the device event will be forwardedas normal to any application which would normally receive it, e.g.the currently active application in the case of mouse or keyboard events).
- Notify the Registry instance that a device event has taken place in - an asynchronous manner. This is the - method used by accessibility bridges to forward 'toolkit dependent' - device events to the Registry from the application's process space. - If the event in question is potentially pre-emptible. - notifyListenersSync should be used instead.
+AT clients do not normally need to use this method, it is intended for use - by toolkit bridges and special-purpose applications.
-A KeySynthType indicating the type of event(s) to be synthesized: a key press, release, press-release pair,or a complex input string (for instance from aninternationalized or complex text input method, ora composed character).
+Keycode may be truncated before beingprocessed, as keycode length may be platform-dependentand keycode ranges are generally much smaller thanCORBA_long. One or the other of keycode or keystring are generally NULL, (but not both), depending on the value of type
.
@brief An interface for use by assistive technologies by which +
An interface for use by assistive technologies by which they can access system information and services on a 'need to know' basis while the screen is locked, during user authentication, or during other sensitive operations.
@@ -15,23 +15,23 @@ service.Such 'applications' (for instance, screen lock dialogs and - security-enabled web browsers) use the ::LoginHelper client + security-enabled web browsers) use the LoginHelper client interfaces, and the bonobo-activation query service, to - query for assistive technologies which advertise the ::LoginHelper + query for assistive technologies which advertise the LoginHelper service. The client then queries these assistive technologies - for their device I/O requirements, via the ::getDeviceReqs call. - The client may then issue the advisory request ::setSafe (TRUE), - which requests that the ::LoginHelper -implementing service make a + for their device I/O requirements, via the getDeviceReqs call. + The client may then issue the advisory request setSafe (TRUE), + which requests that the LoginHelper -implementing service make a best-effort attempt to make itself more secure (for instance, an onscreen keyboard might turn off word prediction, and a screenreader may turn off keyboard echo via speech). The return - value of ::setSafe is an advisory indication of whether this attempt + value of setSafe is an advisory indication of whether this attempt was successful (no specific guarantees are implied). Once the 'security sensitive' state is exited, the client should - call ::setSafe (FALSE).
+ call setSafe (FALSE). -The return values from ::getDeviceReqs inform the client of which - services the ::LoginHelper service (e. g. assistive technology) needs +
The return values from getDeviceReqs inform the client of which
+ services the LoginHelper service (e. g. assistive technology) needs
in order to do its job. The client may use this information to
loosen any restrictions on access which it may currently have in
place (for instance, keyboard grabs, etc.). If it does not do so,
@@ -41,70 +41,64 @@
A structure containing info about toplevel X windows that
- the ::LoginHelper instance wishes to have raised.
string display; - short screen;
-DeviceReq:
-The system and device access and services which the LoginHelper-implementing assistive technology requires in order to enable the user to use the system.
True
if the client is requesting that 'safe mode' be initiated.
+ False
if the client is advising that 'safe mode' may be
+ exited. i.e. Normal operation may be resumed.
+
+ Request a LoginHelper to enter "safe" mode, orinform LoginHelper that "safe" mode may be exited.
+ If safe_mode is True
, but the return value is False
,the requesting
+ client may wish to deny services to the LoginHelper, for instance avoid raising its toplevels.
+ The return value is purely advisory, and no guarantees are intended about what the implementing
+ LoginHelper will do to improve security when in "safe" mode.
getDeviceReqs:
- -Query a ::LoginHelper for the types of +
Query a LoginHelper for the types of device I/O it requires, in order to do its job. - For instance, a ::LoginHelper which needs to receive keyboard + For instance, a LoginHelper which needs to receive keyboard events will include Accessibility_LoginHelper_CORE_KEYBOARD in this list.
getRaiseWindows:
- -Get a list of window IDs that need raising on login.
+Get a list of window IDs that need raising on login.
The Registry is a service through which applications providing @@ -14,33 +9,29 @@ interact with those applications.
The Registry service provides four basic functions to Assistive Technology (AT) clients: - \li it provides a list of the applications who have registered with the AT-SPI - framework, thereby announcing their participation in the AT-SPI framework; - \li it allows AT clients to register for notification of changes in application - state (at-spi Events); - \li it dispatches/relays said events from participating applications to - the registered listeners; - \li it gives access to system device events via the associated DeviceEventController - interface.
+From the point of view of accessible applications (i.e. AT-SPI service producers), the Registry is primarily a registration and event delivery service. Applications normally only call the registerApplication and deregisterApplication Registry methods, and its inherited EventListener::notifyEvent method.
-@note Although all application events are dispatched via the Registry, other AT client +
Although all application events are dispatched via the Registry, other AT client calls are serviced directly by the applications, rather than being relayed via the Registry. The AT client obtains references to these application objects via the enumeration of Desktop instances whose children are Application instances - (Registry::getDesktopList) and via examination of the 'source' member of the Event + (Registry.getDesktopList) and via examination of the 'source' member of the Event structure.
The Registry normally lives in its own process space; communication via Registry and both application services and AT clients takes place via IPC. A process space diagram - illustrating the relationship between applications, Registry, and AT is shown below. - @image html "http://developer.gnome.org/projects/gap/tech-docs/SPIBlockDiagram.png"
- -@see Desktop, Application, Event, EventListener
+ illustrating the relationship between applications, Registry, and AT is shown at: + http://developer.gnome.org/projects/gap/tech-docs/SPIBlockDiagram.pngevent types: "Window" "Desktop" +
Event types: "Window" "Desktop" "Window:Create" "Window:Destroy" "Window:Iconify" "Window:Restore" "Window:Fullscreen" "Window:Resize" @@ -110,32 +95,27 @@ "Desktop:Reorder" "Focus" "GtkWidget:show" - "GObject:notify:<propertyname>"
+ "GObject:notify:propertyname"( not sure we should allow these last 2 forms, since they are toolkit-specific, but they're powerful )
-getDesktopCount:
-Get the current number of desktops.
getDesktop: - @n: the index of the requested Desktop.
-Get the nth accessible desktop.
RelationType specifies a relationship between objects (possibly one-to-many or many-to-one) @@ -14,7 +9,7 @@ that should accompany the accessibleName property when presenting an object's content or identity to the end user. Similarly, RELATION_CONTROLLER_FOR can be used to further specify the context in which a valuator is useful, and/or the other UI components which are directly effected by - user interactions with the valuator. Common examples include association of scrollbars with + user interactions with the valuator. Common examples include association of scrollbars with the viewport or panel which they control.
Object renders content which flows logically to another object. For instance, text in a paragraph may flow to another object which is not the - ¨next sibling¨ in the accessibility hierarchy.
+ 'next sibling' in the accessibility hierarchy.Denotes that the object is a transient window or frame associated with another onscreen object. Similar to TOOLTIP_FOR, but more general. Useful for windows which are technically toplevels but which, for one or more reasons, do not explicitly cause their associated - window to lose ¨window focus¨. Creation of a ROLE_WINDOW object with the POPUP_FOR relation + window to lose 'window focus'. Creation of a ROLE_WINDOW object with the POPUP_FOR relation usually requires some presentation action on the part of assistive technology clients, even though the previous toplevel ROLE_FRAME object may still be the active window.
diff --git a/xml/org.freedesktop.atspi.Role.xml b/xml/org.freedesktop.atspi.Role.xml index 7467919..ea455fb 100644 --- a/xml/org.freedesktop.atspi.Role.xml +++ b/xml/org.freedesktop.atspi.Role.xml @@ -1,10 +1,5 @@An object which labels a particular row in a Table. Table rows and columns may also be labelled via the RELATION_LABEL_FOR/RELATION_LABELLED_BY relationships; - \see Accessibility::RelationSet.
+ see Accessibility.RelationSet.The object is a component whose textual content may be entered or modified by the user, - provided STATE_EDITABLE is present. - @note a readonly ROLE_ENTRY object (i.e. where STATE_EDITABLE is not present) implies a - read-only ¨text field¨ in a form, as opposed to a title, label, or caption.
- -@since AT-SPI 1.7.0
+ provided STATE_EDITABLE is present. +A readonly ROLE_ENTRY object (i.e. where STATE_EDITABLE is not present) implies a + read-only 'text field' in a form, as opposed to a title, label, or caption.
@since AT-SPI 1.7.0
+ See ROLE_CAPTIONThe object contains descriptive information, usually textual, about another user interface element such as a table, chart, or image.
- -@since AT-SPI 1.7.0
@since AT-SPI 1.7.0
The object serves as a heading for content which follows it in a document. The 'heading level' of the heading, if availabe, may be obtained by querying the object's attributes.
- -@since AT-SPI 1.7.0
The object is a containing instance which encapsulates a page of information. ROLE_PAGE is used in documents and content which support a paginated navigation model.
- -@since AT-SPI 1.7.0
@since AT-SPI 1.7.0
The object is redundant with another object in the hierarchy, and is exposed for purely technical reasons. Objects of this role should be ignored by clients, if they are encountered at all.
- -@since AT-SPI 1.7.6
@since AT-SPI 1.7.6
@since AT-SPI 1.7.6
The object is a window or similar viewport which is used to allow composition or input of a 'complex character', in other words it is an "input method window."
- -@since AT-SPI 1.7.6
An interface which indicates that an object exposes a 'selection' model, allowing the selection of one or more of its children. Read-only Selection instances are possible, in which case the interface is used to programmatically - determine the selected-ness of its children. A selected child has ::State::STATE_SELECTED, + determine the selected-ness of its children. A selected child has State.STATE_SELECTED, and a child which may hypothetically be selected (though possibly not programmatically - selectable) has ::State::STATE_SELECTABLE. - @note Events emitted by implementors of Selection include: - \li \c "object:selection-changed" An instance of Selection has undergone a change in the + selectable) has State.STATE_SELECTABLE.
+Events emitted by implementors of Selection include:
+ object:selection-changed
An instance of Selection has undergone a change in the
'selected-ness' of its children, i.e. had a selection added,
removed, and/or modified. Usually accompanied by
- corresponding \c "object:state-changed:selected" events
+ corresponding object:state-changed:selected
events
from the corresponding children, unless the children are
previously un-queried via AT-SPI and the Selection instance
- has ::State::STATE_MANAGES_DESCENDANTS.
Get the i-th selected Accessible child of a Selection. - @note \c selectedChildIndex refers to the index in the list of +
Get the i-th selected Accessible child of a Selection.
+selectedChildIndex
refers to the index in the list of
'selected' children as opposed to the more general 'child index'
of an object; as such it generally differs from that used in
- Accessible::getChildAtIndex() or returned by
- Accessible::getIndexInParent().
- \c selectedChildIndex must lie between 0
- and Selection::nSelectedChildren-1, inclusive.
selectedChildIndex
must lie between 0
+ and Selection.nSelectedChildren-1, inclusive.
selectedChildIndex
.
Add a child to the selected children list of a Selection. - @note For Selection implementors that only allow +
Add a child to the selected children list of a Selection.
+For Selection implementors that only allow
single selections, this call may result in the
replacement of the (single) current
- selection. The call may return \c False if
- the child is not selectable (i.e. does not have ::State::STATE_SELECTABLE),
+ selection. The call may return False
if
+ the child is not selectable (i.e. does not have State.STATE_SELECTABLE),
if the user does not have permission to change the selection,
- or if the Selection instance does not have ::State::STATE_SENSITIVE.
True
if the child was successfully selected, False
otherwise.
Remove a child to the selected children list of a Selection. - @note \c childIndex is the index in the selected-children list, - not the index in the parent container. \c selectedChildIndex in this - method, and \c childIndex in Selection::selectChild - are asymmettric.
+Remove a child to the selected children list of a Selection.
+childIndex
is the index in the selected-children list,
+ not the index in the parent container. selectedChildIndex
in this
+ method, and childIndex
in Selection.selectChild
+ are asymmettric.
True
if the child was successfully deselected, False
otherwise, see deselectChild
Determine whether a particular child of an Selection implementor
- is currently selected. Note that \c childIndex is the zero-offset
+ is currently selected. Note that childIndex
is the zero-offset
index into the standard Accessible container's list of children.
True
if the specified child is currently selected,False
otherwise.
Attempt to select all of the children of a Selection implementor. Not all Selection implementors support this operation (for instance, - implementations which support only "single selection" do not support this operation).
+ implementations which support only "single selection" do not support this operation).True
if successful, False
otherwise.
Attempt to clear all selections (i.e. deselect all children) of a Selection. Not all Selection implementations allow the removal of all selections.
-@note this operation may fail if the object must have at least one selected child, +
This operation may fail if the object must have at least one selected child, if the user does not have permission to change the selection, or if the Selection - does not have ::State::STATE_SENSITIVE.
+ does not have State.STATE_SENSITIVE.True
if the selections were successfully cleared, False
otherwise.
Remove a child from the selected children list of a Selection, if the child is currently selected.
-@note unlike deselectSelectedChild, \c childIndex is the zero-offset +
Unlike deselectSelectedChild, childIndex
is the zero-offset
index into the Accessible instance's list of children,
not the index into the 'selected child list'.
True
if the child was successfully selected, False
otherwise, see deselectSelectedChild.
unImplemented:
- -placeholders for future expansion.
-Notify the CommandListener instance of changes to the currently - available commands, by sending the current ::CommandList.
- -@param commands The newly-available list of ::Command objects which - may be invoked by the listener.
+ available commands, by sending the current CommandList.The newly-available list of Command objects which + may be invoked by the listener.
+Examples of the use of this interface include voice-command and remote-control applications, in which the user interaction is wholly or partly delegated by the - implementor to an external agent. - @since AT-SPI 1.7.0
+ implementor to an external agent.A code returned by a call to ::activateCommand, indicating +
A code returned by a call to activateCommand, indicating the result of the activation request.
< The command was invalid or ill-formed; usually indicates +
The command was invalid or ill-formed; usually indicates an error condition.
< The command was valid, but could not be activated. +
The command was valid, but could not be activated. This may be due to problems with permissions or error conditions.
< The command is no longer valid in the current program context. +
The command is no longer valid in the current program context. This may mean that the application has changed state in such a way that the specified command it no longer applicable, or because changes to the application state have rendered it @@ -68,23 +64,23 @@
< Defines size of enumeration; +
Defines size of enumeration; do not use this value as a parameter.
True
if this Selector allows its CommandList to be specified by the client
Query the ::Selector for the current ::CommandList.
+Query the Selector for the current CommandList.
True
if the replacement request was successful, True
if the
+ request could not be honored.
Ask the ::Selector to re-calculate its ::CommandList. - @note in most cases the ::Selector will continuously - update its ::CommandList without recourse to this call. - This call is equivalent to ::getCommands, except that - after ::refreshCommands the new ::CommandList will be returned - via any registered ::CommandListener instances rather than - synchronously via this call.
+Ask the Selector to re-calculate its CommandList.
+In most cases the Selector will continuously + update its CommandList without recourse to this call. + This call is equivalent to getCommands, except that + after refreshCommands the new CommandList will be returned + via any registered CommandListener instances rather than + synchronously via this call.
True
if the CommandList changed.
Request that the ::Selector invoke the specified ::Command. - @param cmd the ::Command to activate/invoke.
+Request that the Selector invoke the specified Command.
The Command to activate/invoke.
+Register a :CommandListener instance for notification of - changes to the command set. - @param listener the ::CommandListener to be notified of changes.
+ changes to the command set.The CommandListener to be notified of changes.
+Tell the ::Selector instance to cease notifying the - specified ::CommandListener of changes to the command list. - @param listener the ::CommandListener to remove from the - notification list.
-\cond - unImplemented:
- -placeholders for future expansion.
+Tell the Selector instance to cease notifying the + specified CommandListener of changes to the command list.
The CommandListener to remove from the + notification list.
+Indicates this object is visible, e.g. has been explicitly marked for exposure to the user. - @note: STATE_VISIBLE is no guarantee that the object is actually unobscured on the screen, only +
Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.
+STATE_VISIBLE is no guarantee that the object is actually unobscured on the screen, only that it is 'potentially' visible, barring obstruction, being scrolled or clipped out of the field of view, or having an ancestor container that has not yet made visible. A widget is potentially onscreen if it has both STATE_VISIBLE and STATE_SHOWING. @@ -222,21 +217,18 @@
Indicates that an object's onscreen content is truncated, e.g. a text value in a spreadsheet cell. - @since AT-SPI 1.7.0.
+Indicates that an object's onscreen content is truncated, e.g. a text value in a spreadsheet cell.
Indicates this object's visual representation is dynamic, not static. This state may be applied to an object during an animated 'effect' and - be removed from the object once its visual representation becomes static. - @note some applications, notably content viewers, may not be able to detect + be removed from the object once its visual representation becomes static.
+some applications, notably content viewers, may not be able to detect all kinds of animated content. Therefore the absence of this state should not be taken as definitive evidence that the object's visual representation is - static; this state is advisory.
- -@since AT-SPI 1.7.0
+ static; this state is advisory.This object has indicated an error condition due to failure of input validation. For instance, a form control may acquire this state in response to invalid or malformed user input.
- -@since AT-SPI 1.7.0
@since AT-SPI 1.7.0
@since AT-SPI 1.7.0
This state indicates that the object in question is the 'default' interaction object in a dialog, i.e. the one that gets activated if the user presses "Enter" when the dialog is initially posted.
- -@since AT-SPI 1.7.0
This state indicates that the object (typically a hyperlink) has already been activated or invoked, with the result that some backing data has been downloaded or rendered.
- -@since AT-SPI 1.7.1
Query a StateSet for a specific StateType. - @param state the StateType being queried for.
+Query a StateSet for a specific StateType.
The StateType being queried for.
+True
if the StateSet contains StateType state.
Compare two statesets for equivalence. - @param tarStateSet the StateSet to be compared with this one.
+Compare two statesets for equivalence.
The StateSet to be compared with this one.
+True
if the two StateSet objects are composed of the same StateTypes.
True
if the StateSet contains no states.
\cond - Private
-unImplemented:
- -placeholders for future expansion.
-An interface by which the requested data from a StreamableContent object - may be read by the client. - @note this interface supercedes the use of BonoboStream by previous - versions of StreamableContent.
- -@since AT-SPI 1.7.0
+ may be read by the client.Seek to a specified position in the Stream. - @param offset an offset specifying the requested position in the stream, - relative to the SeekType specified in \c whence. - @param whence a SeekType specifying the reference point from which the - seek offset is calculated. Some forms of seek are not supported by certain - implementations of Stream, in which case a NotSupported exception will be raised.
+Seek to a specified position in the Stream.
whence.
+ close the stream and release associated resources. A client should not perform further operations on a - StreamableContent::Stream object after closing it.
-An interface whereby an object allows its backing content @@ -115,53 +105,31 @@ transform, convert, or parse the content in order to present it in an alternate form to end-users.
-@note The StreamableContent interface is particularly useful for saving, +
The StreamableContent interface is particularly useful for saving, printing, or post-processing entire documents, or for persisting alternate views of a document. If document content itself is being serialized, stored, or converted, then use of the StreamableContent interface can help address performance - issues. Unlike most AT-SPI/Accessibility interfaces, this interface + issues. Unlike most AT-SPI/Accessibility interfaces, this interface is not strongly tied to the current user-agent view of the a particular document, but may in some cases give access to the underlying model data.
\n DEPRECATED, use getStream instead. +
DEPRECATED, use getStream instead. getContent: Retrieve this object's content, in a format appropriate to a requested mimetype.
- -@note the data is returned as an object of type ::Bonobo::Stream. - The primary methods which are supported on Bonobo::Streams for the - purposes of the ::StreamableContent API are \c seek and \c read. - \c seek may not be supported for all mimetypes or - all implementors.
- -\verbatim - long Bonobo::Stream:seek (in long offset, in SeekType whence) - raises (NoPermission, IOError) - void Bonobo::Stream:read (in long count, out iobuf buffer) - raises (NoPermission, IOError) - \endverbatim
- -@see ::Bonobo::Stream
-Retrieve this object's content, in a format appropriate to a requested mimetype, as a ::ContentStream instance.
-@note This method supercedes the older getContent method, which - relied on the Bonobo::Stream API. - \c seek may not be supported for all mimetypes or - all implementors.
- -@param contentType a string specifying the desired mimetype for the content stream.
-A string specifying the desired mimetype for the content stream.
+Get a URI pointing to the content of the specified type, if such a URI can be obtained. Not all streamable content providers have URI representations.
- -@param contentType a string specifying the desired mimetype for the content stream. - If NULL, then a URI for the default content type will be returned, if available.
A string specifying the desired mimetype for the content stream. + If NULL, then a URI for the default content type will be returned, if available.
+\cond - unImplemented:
- -placeholders for future expansion.
-An interface used by containers whose contained data is arranged in - a "tabular" (i.e.\ row-column) fashion. Tables may resemble a two-dimensional + a "tabular" (i.e. row/column) fashion. Tables may resemble a two-dimensional grid, as in a spreadsheet, or may feature objects which span multiple rows and/or columns, but whose bounds are aligned on a row/column matrix. Thus, the Table interface may be used to represent "spreadsheets" as well as "frames".
@@ -50,262 +45,270 @@The number of rows currently selected. A selected row is one in which all included cells are selected. - @note Not all tables support row selection.
+ Not all tables support row selection.The number of columns currently selected. A selected column is one in which all included cells are selected. - @note Not all tables support column selection.
+ Not all tables support column selection.Get the table cell at the specified row and column indices. - @note To get the accessible object at a particular (x, y) screen coordinate, - use Accessible::getAccessibleAtPoint ().
+ To get the accessible object at a particular (x, y) screen coordinate, + use Accessible.getAccessibleAtPoint ().Get the 1-D child index corresponding to the specified 2-D row and column indices. - @note To get the accessible object at a particular (x, y) screen coordinate, - use Accessible::getAccessibleAtPoint.
+ To get the accessible object at a particular (x, y) screen coordinate, + use Accessible.getAccessibleAtPoint.Get the table row index occupied by the child at a particular 1-D child index.
+Get the table row index occupied by the child at a particular 1-D child index.
Get the table column index occupied by the child at a particular 1-D child index.
+Get the table column index occupied by the child at a particular 1-D child index.
Get a text description of a particular table row. This differs from - AccessibleTable_getRowHeader, which returns an Accessible.
+Get a text description of a particular table row. This differs from + AccessibleTable.getRowHeader, which returns an Accessible.
Get a text description of a particular table column. This differs from - AccessibleTable_getColumnHeader, which returns an Accessible.
+Get a text description of a particular table column. This differs from + AccessibleTable.getColumnHeader, which returns an Accessible.
Get the number of rows spanned by the table cell at the specific row and column. - (some tables can have cells which span multiple rows and/or columns).
+ (some tables can have cells which span multiple rows and/or columns).Get the number of columns spanned by the table cell at the specific row and column. - (some tables can have cells which span multiple rows and/or columns).
+ (some tables can have cells which span multiple rows and/or columns).Get the header associated with a table row, if available. This differs from - getRowDescription, which returns a string.
+ getRowDescription, which returns a string.Get the header associated with a table column, if available, as an - instance of Accessible. This differs from - getColumnDescription, which returns a string.
+ instance of Accessible. This differs from + getColumnDescription, which returns a string.Obtain the indices of all rows which are currently selected. - @note Not all tables support row selection.
+ Not all tables support row selection.Obtain the indices of all columns which are currently selected. - @note Not all tables support column selection.
+ Not all tables support column selection.Determine whether a table row is selected. - @note Not all tables support row selection.
+ Not all tables support row selection.True
if the specified row is currently selected, False
if not.
Determine whether a table column is selected. - @note Not all tables support column selection.
+ Not all tables support column selection.True
if the specified column is currently selected, False
if not.
Determine whether the cell at a specific row and column is selected. - @param row a row occupied by the cell whose state is being queried. - @param column a column occupied by the cell whose state is being queried.
+Determine whether the cell at a specific row and column is selected.
True
if the specified cell is currently selected, False
if not.
Select the specified row, adding it to the current row selection, if the table's selection model permits it.
- -@param row - @note Possible reasons for addRowSelection to return \c False +
+ Possible reasons for addRowSelection to return False
include:
- \li The table does not support Selection
- \li The table row includes cells which do not have STATE_SELECTABLE
- \li The table does not support selection by row
- \li The table does not support selection of multiple rows, and
- one row is already selected.
- \li The table does not support non-contiguous selections (i.e.
- does not include STATE_MULTISELECTABLE), and the specified row
- would result in selection of non-contiguous rows.
- \li The table does not support user-instigated selection.
True
if the specified row was successfully selected, False
if not.
Select the specified column, adding it to the current column selection, if the table's selection model permits it.
- -@param column - @note Possible reasons for addColumnSelection to return \c False +
+ Possible reasons for addColumnSelection to return False
include:
- \li The table does not support Selection
- \li The table column includes cells which do not have STATE_SELECTABLE
- \li The table does not support selection by column
- \li The table does not support selection of multiple columns, and
- one column is already selected.
- \li The table does not support non-contiguous selections (i.e.
- does not include STATE_MULTISELECTABLE), and the specified column
- would result in selection of non-contiguous columns.
- \li The table does not support user-instigated selection.
True
if the specified column was successfully selected, False
if not.
Remove the specified row from current row selection, if the table's selection model permits it.
-@param row - @note Possible reasons for removeRowSelection to return \c False - include: - \li The table does not support user-instigated Selection - \li The table has no selected rows or does not support deselection by row
-
+ Possible reasons for removeRowSelection to return False
+ include:
+
True
if the specified row was successfully de-selected, False
if not.
Remove the specified column from current column selection, if the table's selection model permits it.
-@param column - @note Possible reasons for removeColumnSelection to return \c False - include: - \li The table does not support user-instigated modification of - selection state - \li The table has no selected columns or does not support - deselection by column.
-
+ Possible reasons for removeColumnSelection to return \c False
+ include:
+
True
if the specified column was successfully de-selected, False
if not.
Given a child index, determine the row and column indices and extents, and whether the cell is currently selected. If - the child at \c index is not a cell (for instance, if it is - a summary, caption, etc.), \c False is returned.
+ the child at index is not a cell (for instance, if it is + a summary, caption, etc.),False
is returned.
- @param index the index of the Table child whose row/column - extents are requested. - @param row back-filled with the first table row associated with - the cell with child index \c index. - @param col back-filled with the first table column associated - with the cell with child index \c index. - @param row_extents back-filled with the number of table rows - across which child \c i extends. - @param col_extents back-filled with the number of table columns - across which child \c i extends. - @param is_selected a boolean which is back-filled with \c True - if the child at index \c i corresponds to a selected table cell, - \c False otherwise.
Example:
If the Table child at index '6' extends across columns 5 and 6 of
row 2 of a Table instance, and is currently selected, then
- \code
+
retval = table::getRowColumnExtentsAtIndex (6, row, col,
row_extents,
col_extents,
is_selected);
- \endcode
- will return True, and after the call
- \c row, \c col, \c row_extents, \c col_extents,
- and \c is_selected will contain \c 2, \c 5, \c 1, \c 2, and
- \c True, respectively.
True
, and after the call
+ row, col, row_extents, col_extents,
+ is_selected
will contain 2, 5, 1, 2,
and
+ True
, respectively.
+
+
+ True
+ if the child at index i corresponds to a selected table cell,
+ False
otherwise.
+ True
if the index is associated with a valid table-cell,
+ False
if the index does not correspond to a cell.
+ If False
is returned, the values of the out parameters are undefined.
\cond - unImplemented:
- -placeholders for future expansion.
-Specifies the boundary conditions determining a run of text as returned from @@ -12,21 +7,21 @@
< Text is bounded by this character only. +
Text is bounded by this character only. Start and end offsets differ by one, by definition, for this value.
< Boundary condition is start of a word; i.e. range is from start of +
Boundary condition is start of a word; i.e. range is from start of one word to the start of another word.
< Boundary condition is the end of a word; i.e. range is from - the end of one word to the end of another. - @note some locales may not distinguish between words and +
Boundary condition is the end of a word; i.e. range is from + the end of one word to the end of another.
+Some locales may not distinguish between words and characters or glyphs, in particular those locales which use wholly or partially ideographic character sets. In these cases, characters may be returned in lieu of multi-character substrings.
@@ -34,32 +29,32 @@< Boundary condition is start of a sentence, as determined - by the application. - @note Some locales or character sets may not include explicit sentence +
Boundary condition is start of a sentence, as determined + by the application.
+Some locales or character sets may not include explicit sentence delimiters, so this boundary type can not always be honored. Some locales will return lines of text instead of grammatical sentences.
< Boundary condition is end of a sentence, as determined by the application, - including the sentence-delimiting character, for instance '.' - @note Some locales or character sets may not include explicit sentence +
Boundary condition is end of a sentence, as determined by the application, + including the sentence-delimiting character, for instance '.'
+Some locales or character sets may not include explicit sentence delimiters, so this boundary type can not always be honored. Some locales will return lines of text instead of grammatical sentences.
< Boundary condition is the start of a line; i.e. range is +
Boundary condition is the start of a line; i.e. range is from start of one line to the start of another. This generally means that an end-of-line character will appear at the end of the range.
< Boundary condition is the end of a line; i.e. range is +
Boundary condition is the end of a line; i.e. range is from start of one line to the start of another. This generally means that an end-of-line character will be the first character of the range.
In some cases a Text object may have, as its content, an empty string. In particular this can occur in the case of Hypertext objects which do not display explicitly textual information onscreen, - as Hypertext is derived from the Text interface. @see Hypertext.
+ as Hypertext is derived from the Text interface, see Hypertext.Typographic and semantic attributes of onscreen textual content, for instance typeface, weight, language, and such qualities as 'emphasis' or 'blockquote', are represented as text attributes. Contiguous sequences of characters over which these attributes are unchanged are referred to as - "attribute runs", and are available via Text::getAttributeRun. Where possible, implementing clients + 'attribute runs', and are available via Text.getAttributeRun. Where possible, implementing clients will report textual attributes which are the same over the entire text object, for instance those inherited from a default or document-scope style, via getDefaultAttributes instead of reporting them explicitly for each character. Therefore, for any span of text, the attributes in effect are the union - of the set returned by Text::getDefaultAttributes, and the set returned at a particular character - offset via Text::getAttributeRun.
+ of the set returned by Text.getDefaultAttributes, and the set returned at a particular character + offset via Text.getAttributeRun. -@note Events that may be emitted by instances of Text include: - \li \c "object:text-attributes-changed" The attributes of a range of text, or the range over - which attributes apply, has changed. - \li \c "object:text-changed" The text content of this object has changed. - \li \c "object:text-bounds-changed" The character bounds of a text object have changed, - for instance in response to a reformatting or reflow operation. - \li \c "object:text-caret-moved" The character offset of the text caret (visible or notional) within - this object has changed. Events of this type may also be generated when an onscreen - text caret appears or disappears. - \li \c "object:text-selection-changed" The range or number of text selections within this text object - has changed.
+Events that may be emitted by instances of Text include: +
@note In some cases, objects which are not onscreen may implement Text, but if such objects +
In some cases, objects which are not onscreen may implement Text, but if such objects implement Component, their potential visibility should be examined (via comparison with STATE_VISIBLE and STATE_SHOWING) before exposing them to the user. Objects which implement Text but not Component - may be encountered in special-purpose interfaces or as special ¨accessibility¨ extensions to visual + may be encountered in special-purpose interfaces or as special 'accessibility' extensions to visual interfaces to allow non-graphical access to application features. These instances should be considered the exception, rather than the rule.
@@ -159,7 +157,7 @@Obtain all or part of the onscreen textual content of a Text object. If endOffset is specified as "-1", then this method will return the entire onscreen textual contents of the Text object. - @note 'onscreen' in this context means "potentially onscreen", this method does not perform any sort + onscreen' in this context means "potentially onscreen", this method does not perform any sort of coordinate visibility clipping or window-stack-ordering clipping. The text thus reported corresponds to the text which would be presented onscreen if the object implementing the Text interface were entirely unobscured.
@@ -168,99 +166,135 @@Programmatically move the text caret (visible or virtual, as above) to a given position. - @param offset a long int indicating the desired character offset. Not all implementations of - Text will honor setCaretOffset requests, so the return value below should be checked by the client.
+Programmatically move the text caret (visible or virtual, as above) to a given position.
True
if the request was carried out, or False
if the caret could not be moved to the requested position.
Obtain a subset of the text content of an object which entirely precedes \c offset, - delimited by character, word, line, or sentence boundaries as specified by \c type. The - starting and ending offsets of the resulting substring are returned in \c startOffset - and \c endOffset. By definition, if such a substring exists, \c endOffset is less than or - equal to \c offset. - @param offset the offset from which the substring search begins. - @param type the text-boundary delimiter which determines whether the returned text constitures +
Obtain a subset of the text content of an object which entirely precedes offset
,
+ delimited by character, word, line, or sentence boundaries as specified by type
. The
+ starting and ending offsets of the resulting substring are returned in startOffset
+ and startOffset
. By definition, if such a substring exists, startOffset
+ is less than or equal to offset.
Obtain a subset of the text content of an object which includes the specified \c offset, - delimited by character, word, line, or sentence boundaries as specified by \c type. The - starting and ending offsets of the resulting substring are returned in \c startOffset - and \c endOffset. - @param offset the offset from which the substring search begins, and which must +
Obtain a subset of the text content of an object which includes the specified offset
,
+ delimited by character, word, line, or sentence boundaries as specified by type
. The
+ starting and ending offsets of the resulting substring are returned in startOffset
+ and endOffset
.
Obtain a subset of the text content of an object which entirely follows \c offset, - delimited by character, word, line, or sentence boundaries as specified by \c type. The - starting and ending offsets of the resulting substring are returned in \c startOffset - and \c endOffset. By definition, if such a substring exists, \c startOffset must be greater than - \c offset. - @param offset the offset from which the substring search begins, and which must +
Obtain a subset of the text content of an object which entirely follows offset
,
+ delimited by character, word, line, or sentence boundaries as specified by type
. The
+ starting and ending offsets of the resulting substring are returned in startOffset
+ and endOffset
. By definition, if such a substring exists, startOffset
+ must be greater than offset
.
Get the string value of a named attribute at a given offset, if defined. - @param offset the offset of the character for which the attribute run is to be obtained. - @param attributeName the name of the attribute for which the value is to be returned, if defined. - @param startOffset back-filled with the offset of the first character in the attribute run - containing the character at \c offset. - @param endOffset back-filled with the offset of the first character past the end of the - attribute run containing the character at \c offset. - @param defined back-filled with \c True if the attributeName has a defined value at \c offset, - \c False otherwise.
+Get the string value of a named attribute at a given offset, if defined.
offset
.
+ offset
.
+ True
if the attributeName has a defined value at offset
,
+ False
otherwise.
+ offset
.
+ offset
.
+ offset
.
+ offset
.
+ If 0, the results will be reported in screen coordinates, i.e. in pixels relative to the upper-left corner of the screen, with the x axis pointing right and the y axis pointing down. If 1, the results will be reported relative to the containing toplevel window, with the x axis pointing right and the y axis pointing down.
-Get the offset of the character at a given onscreen coordinate. The coordinate system used to interpret - x and y is determined by parameter coordType. - @param x - @param y - @param coordType if 0, the input coordinates are interpreted relative to the entire screen, if 1, - they are relative to the toplevel window containing this Text object.
+ x and y is determined by parameter coordType.True
of the selection was successfully added, False
otherwise. Selection mayfail if the object does not support selection of text (see STATE_SELECTABLE_TEXT), if theobject does not support multiple selections and a selection is already defined, or for other reasons(for instance if the user does not have permission to copy the text into the relevant selection buffer).
True
if the selection was successfully removed, False
otherwise.
Calling setSelection for a selectionNum that is not already defined has no effect. The result of calling setSelection with a selectionNum greater than 0 for objects that - do not include STATE_MULTISELECTABLE is undefined. - @param selectionNum indicates which of a set of non-contiguous selections to modify. - @param startOffset the new starting offset for the selection - @param endOffset the new ending offset for the selection
+ do not include STATE_MULTISELECTABLE is undefined. -True
if the selection corresponding to selectionNum is successfully
+ modified, False
otherwise.
Obtain the bounding box which entirely contains a given text range. Negative values may be returned for the bounding box parameters in the event - that all or part of the text range is offscreen or not mapped to the screen. + that all or part of the text range is offscreen or not mapped to the screen.
+For example, CSS attributes which should be exposed on text (either as default attributes, or as explicitly-set attributes when non-default values are specified in the content view) include the Font attributes (i.e. "css2:font-weight", "css2:font-style"), the "css2:color" and "css2:background-color" attributes, and "css2:text-decoration" attribute.
-If includeDefaults is TRUE, then this AttributeSet should include the default +
If includeDefaults is True
, then this AttributeSet should include the default
attributes as well as those which are explicitly assigned to the attribute run in question.
startOffset and endOffset will be back-filled to indicate the start and end of the attribute run
which contains 'offset' - an attribute run is a contiguous section of text whose attributes are
- homogeneous.
- @param offset the offset of the character whose attributes will be reported.
- @param startOffset backfilled with the starting offset of the character range over which all
- text attributes match those of \c offset, i.e. the start of the homogeneous
- attribute run including \c offset.
- @param endOffset backfilled with the offset of the first character past the character range over which all
- text attributes match those of \c offset, i.e. the character immediately after
- the homogeneous attribute run including \c offset.
- @param includeDefaults if False, the call should only return those attributes which are
- explicitly set on the current attribute run, omitting any attributes which are inherited from
- the default values. See also Text::getDefaultAttributes.
@note Clients seeking annotations or properties of a more general nature, which +
Clients seeking annotations or properties of a more general nature, which are not specific to the onscreen textual content of objects and cannot logically be applied to specific character offset ranges, - should use Accessible::getAttributes instead. - The attributes returned by Text::getAttributeRun (with or without 'default attributes'), - are distinct from the properties/attributes returned by Accessible::getAttributes.
- -@see Accessible::getAttributes
- -offset
, i.e. the start of the homogeneous
+ attribute run including offset
.
+ offset
, i.e. the character immediately after
+ the homogeneous attribute run including offset
.
+ Return an ::AttributeSet containing the text attributes which apply to all text in the object +
Return an AttributeSet containing the text attributes which apply to all text in the object by virtue of the default settings of the document, view, or user agent; e.g. those attributes which are implied rather than explicitly applied to the text object. For instance, an object whose entire text content has been explicitly marked as 'bold' will report the 'bold' attribute via getAttributeRun(), whereas an object whose text weight is inspecified may report the default or implied text weight in the default AttributeSet.
- -@since AT-SPI 1.7.0
\cond - unImplemented:
- -placeholders for future expansion.
-The wire structure of an Accessible object proxy
diff --git a/xml/org.freedesktop.atspi.Value.xml b/xml/org.freedesktop.atspi.Value.xml index cb96f8a..8c7d2ac 100644 --- a/xml/org.freedesktop.atspi.Value.xml +++ b/xml/org.freedesktop.atspi.Value.xml @@ -1,10 +1,5 @@An interface supporting controls which allow a @@ -12,8 +7,8 @@ reflect a scalar quantity. (If STATE_EDITABLE is not present, the valuator is treated as "read only".
-@note Events generated by Image instances include: - \li \c "object:value-changed"
+Events generated by Image instances include: + 'object:value-changed'
\cond - unImplemented:
- -placeholders for future expansion.
-