|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/*
|
|
Packit |
8b6d7a |
An interface which indicates that an object exposes a 'selection' model,
|
|
Packit |
8b6d7a |
allowing the 'selection' of one or more of its children.
|
|
Packit |
8b6d7a |
*/
|
|
Packit |
8b6d7a |
interface org.freestandards.atspi.Selection {
|
|
Packit |
8b6d7a |
/* The number of children that are currently selected. */
|
|
Packit |
8b6d7a |
read property int32 NSelectedChildren;
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Gets the ith SELECTED child. This is different to the index of all children. */
|
|
Packit |
8b6d7a |
method GetSelectedChild {
|
|
Packit |
8b6d7a |
int32 index;
|
|
Packit |
8b6d7a |
} reply {
|
|
Packit |
8b6d7a |
Reference child;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Select the child, add it to the list of selected children. */
|
|
Packit |
8b6d7a |
method SelectChild {
|
|
Packit |
8b6d7a |
int32 index;
|
|
Packit |
8b6d7a |
} reply {
|
|
Packit |
8b6d7a |
boolean success;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Deselect a child. The index refers to the index into the list of selected children. */
|
|
Packit |
8b6d7a |
method DeselectSelectedChild {
|
|
Packit |
8b6d7a |
int32 index;
|
|
Packit |
8b6d7a |
} reply {
|
|
Packit |
8b6d7a |
boolean success;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Determine whether a particular child is currently selected. */
|
|
Packit |
8b6d7a |
method IsChildSelected {
|
|
Packit |
8b6d7a |
int32 index;
|
|
Packit |
8b6d7a |
} reply {
|
|
Packit |
8b6d7a |
boolean selected;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Apptemt to select all of the containers children. */
|
|
Packit |
8b6d7a |
method SelectAll reply {
|
|
Packit |
8b6d7a |
boolean success;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Attempt to deselect all selected children. */
|
|
Packit |
8b6d7a |
method ClearSelection reply {
|
|
Packit |
8b6d7a |
boolean success;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
|
|
Packit |
8b6d7a |
/* Deselect a child. The index refers to the index into the list of all children. */
|
|
Packit |
8b6d7a |
method DeselectChild {
|
|
Packit |
8b6d7a |
int32 index;
|
|
Packit |
8b6d7a |
} reply {
|
|
Packit |
8b6d7a |
boolean success;
|
|
Packit |
8b6d7a |
}
|
|
Packit |
8b6d7a |
}
|