|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.accessibility.AccessibleContext | +--java.awt.Component.AccessibleAWTComponent | +--java.awt.Container.AccessibleAWTContainer | +--javax.swing.JComponent.AccessibleJComponent | +--com.eliad.swing.AccessibleGrid
The class used to obtain the accessible role for this object.
Inner Class Summary | |
protected class |
AccessibleGrid.AccessibleGridCell
The class used to obtain the AccessibleRole for a cell. |
protected class |
AccessibleGrid.AccessibleGridModelChange
Describes a change in the accessible table model. |
Inner classes inherited from class javax.swing.JComponent.AccessibleJComponent |
javax.swing.JComponent.AccessibleJComponent.AccessibleContainerHandler,
javax.swing.JComponent.AccessibleJComponent.AccessibleFocusHandler |
Inner classes inherited from class java.awt.Container.AccessibleAWTContainer |
java.awt.Container.AccessibleAWTContainer.AccessibleContainerHandler |
Inner classes inherited from class java.awt.Component.AccessibleAWTComponent |
java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler,
java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
Fields inherited from class javax.swing.JComponent.AccessibleJComponent |
accessibleContainerHandler,
accessibleFocusHandler |
Fields inherited from class java.awt.Container.AccessibleAWTContainer |
accessibleContainerHandler |
Fields inherited from class java.awt.Component.AccessibleAWTComponent |
accessibleAWTComponentHandler,
accessibleAWTFocusHandler |
Fields inherited from class javax.accessibility.AccessibleContext |
ACCESSIBLE_ACTION_PROPERTY,
ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY,
ACCESSIBLE_CARET_PROPERTY,
ACCESSIBLE_CHILD_PROPERTY,
ACCESSIBLE_DESCRIPTION_PROPERTY,
ACCESSIBLE_NAME_PROPERTY,
ACCESSIBLE_SELECTION_PROPERTY,
ACCESSIBLE_STATE_PROPERTY,
ACCESSIBLE_TABLE_CAPTION_CHANGED,
ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED,
ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED,
ACCESSIBLE_TABLE_MODEL_CHANGED,
ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED,
ACCESSIBLE_TABLE_ROW_HEADER_CHANGED,
ACCESSIBLE_TABLE_SUMMARY_CHANGED,
ACCESSIBLE_TEXT_PROPERTY,
ACCESSIBLE_VALUE_PROPERTY,
ACCESSIBLE_VISIBLE_DATA_PROPERTY,
accessibleDescription,
accessibleName,
accessibleParent |
Constructor Summary | |
AccessibleGrid(JSmartGrid grid)
|
Method Summary | |
void |
addAccessibleSelection(int i)
Adds the specified Accessible child of the object to the object's selection. |
void |
anchorChanged(GridSelectionEvent e)
Track changes to table cell selections. |
void |
beforeItemsMoved(RulerModelEvent e)
|
void |
clearAccessibleSelection()
Clears the selection in the object, so that no children in the object are selected. |
protected void |
columnMoved(int from,
int to)
Track changes of a column repositioning. |
protected void |
columnsDeleted(int start,
int count)
Track changes to the grid shape (columns deletions). |
protected void |
columnsInserted(int start,
int count)
Track changes to the grid shape (columns insertions). |
protected void |
columnsResized(int index)
Track column resizing. |
void |
editingCanceled(javax.swing.event.ChangeEvent e)
Invoked when editing is canceled. |
void |
editingStopped(javax.swing.event.ChangeEvent e)
Track changes to a cell's contents. |
javax.accessibility.Accessible |
getAccessibleAt(int r,
int c)
|
javax.accessibility.Accessible |
getAccessibleAt(java.awt.Point p)
Returns the Accessible child, if one exists, contained at the local coordinate Point. |
javax.accessibility.Accessible |
getAccessibleCaption()
Returns the caption for the table. |
javax.accessibility.Accessible |
getAccessibleChild(int i)
Return the nth Accessible child of the object. |
int |
getAccessibleChildrenCount()
Returns the number of accessible children in the object. |
int |
getAccessibleColumnAtIndex(int i)
|
int |
getAccessibleColumnCount()
|
javax.accessibility.Accessible |
getAccessibleColumnDescription(int c)
Return the description of the specified column in the table. |
int |
getAccessibleColumnExtentAt(int row,
int column)
Returns the number of columns occupied by the Accessible at a given (row, column) |
javax.accessibility.AccessibleTable |
getAccessibleColumnHeader()
Return the column headers as an AccessibleTable. |
int |
getAccessibleIndexAt(int r,
int c)
Returns the index at a given (row, column) in the table |
javax.accessibility.AccessibleRole |
getAccessibleRole()
Returns the role of this object. |
int |
getAccessibleRowAtIndex(int i)
|
int |
getAccessibleRowCount()
|
javax.accessibility.Accessible |
getAccessibleRowDescription(int r)
Return the description of the specified row in the table. |
int |
getAccessibleRowExtentAt(int row,
int column)
Returns the number of rows occupied by the Accessible at a specified row and column in the table. |
javax.accessibility.AccessibleTable |
getAccessibleRowHeader()
Return the row headers as an AccessibleTable. |
javax.accessibility.AccessibleSelection |
getAccessibleSelection()
Returns the AccessibleSelection associated with this object if one exists. |
javax.accessibility.Accessible |
getAccessibleSelection(int i)
Returns an Accessible representing the specified selected child in the object. |
int |
getAccessibleSelectionCount()
Returns the number of Accessible children currently selected. |
javax.accessibility.Accessible |
getAccessibleSummary()
Returns the summary description of the table. |
javax.accessibility.AccessibleTable |
getAccessibleTable()
Gets the AccessibleTable associated with this object if one exists. |
int[] |
getSelectedAccessibleColumns()
Returns the selected columns in a table. |
int[] |
getSelectedAccessibleRows()
Returns the selected rows in a table. |
void |
gridDataChanged(GridModelEvent e)
Track changes to the grid data. |
void |
gridModelChanged(GridModelEvent e)
Track global changes to the grid model. |
void |
gridStructureChanged(GridModelEvent e)
Track changes to the grid model structure. |
boolean |
isAccessibleChildSelected(int i)
Determines if the current child of this object is selected. |
boolean |
isAccessibleColumnSelected(int c)
Returns a boolean value indicating whether the specified column is selected |
boolean |
isAccessibleRowSelected(int r)
Returns a boolean value indicating whether the specified row is selected |
boolean |
isAccessibleSelected(int r,
int c)
Returns a boolean value indicating whether the accessible at a given (row, column) is selected |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Tracks changes to selection model, column model, etc. so as to be able to re-place listeners and to pass on information to the Accessibility PropertyChange mechanism. |
void |
rangeChanged(GridSelectionEvent e)
Track changes to table cell selections. |
void |
removeAccessibleSelection(int i)
Removes the specified child of the object from the object's selection. |
protected void |
rowsDeleted(int start,
int count)
Track changes to the grid shape (row deletions). |
protected void |
rowsInserted(int start,
int count)
Track changes to the grid shape (row insertions). |
protected void |
rowsResized(int index)
Track row resizing. |
void |
rulerDataChanged(RulerModelEvent e)
|
void |
rulerModelChanged(RulerModelEvent e)
|
void |
rulerStructureChanged(RulerModelEvent e)
This is not meant for us! |
void |
selectAllAccessibleSelection()
Causes every child of the object to be selected, but only if the JSmartGrid supports multiple selections, and if individual cell selection is enabled. |
void |
setAccessibleCaption(javax.accessibility.Accessible a)
Sets the caption for the table. |
void |
setAccessibleColumnDescription(int c,
javax.accessibility.Accessible a)
Sets the description text of the specified column of the table. |
void |
setAccessibleColumnHeader(javax.accessibility.AccessibleTable a)
Return the column headers as an AccessibleTable. |
void |
setAccessibleRowDescription(int r,
javax.accessibility.Accessible a)
Sets the description text of the specified row of the table. |
void |
setAccessibleRowHeader(javax.accessibility.AccessibleTable a)
Return the row headers as an AccessibleTable. |
void |
setAccessibleSummary(javax.accessibility.Accessible a)
Sets the summary description of the table. |
Methods inherited from class javax.swing.JComponent.AccessibleJComponent |
addPropertyChangeListener,
getAccessibleDescription,
getAccessibleName,
getAccessibleStateSet,
getBorderTitle,
removePropertyChangeListener |
Methods inherited from class java.awt.Component.AccessibleAWTComponent |
addFocusListener,
contains,
getAccessibleComponent,
getAccessibleIndexInParent,
getAccessibleParent,
getBackground,
getBounds,
getCursor,
getFont,
getFontMetrics,
getForeground,
getLocale,
getLocation,
getLocationOnScreen,
getSize,
isEnabled,
isFocusTraversable,
isShowing,
isVisible,
removeFocusListener,
requestFocus,
setBackground,
setBounds,
setCursor,
setEnabled,
setFont,
setForeground,
setLocation,
setSize,
setVisible |
Methods inherited from class javax.accessibility.AccessibleContext |
firePropertyChange,
getAccessibleAction,
getAccessibleIcon,
getAccessibleRelationSet,
getAccessibleText,
getAccessibleValue,
setAccessibleDescription,
setAccessibleName,
setAccessibleParent |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AccessibleGrid(JSmartGrid grid)
Method Detail |
public void propertyChange(java.beans.PropertyChangeEvent e)
public void gridDataChanged(GridModelEvent e)
public void gridModelChanged(GridModelEvent e)
public void gridStructureChanged(GridModelEvent e)
protected void rowsInserted(int start, int count)
protected void rowsDeleted(int start, int count)
protected void columnsInserted(int start, int count)
protected void columnsDeleted(int start, int count)
protected void columnMoved(int from, int to)
RulerModelListener
protected void rowsResized(int index)
RulerModelListener
protected void columnsResized(int index)
RulerModelListener
public void rulerModelChanged(RulerModelEvent e)
public void rulerStructureChanged(RulerModelEvent e)
public void rulerDataChanged(RulerModelEvent e)
public void beforeItemsMoved(RulerModelEvent e) throws java.beans.PropertyVetoException
public void editingStopped(javax.swing.event.ChangeEvent e)
CellEditorListener
public void editingCanceled(javax.swing.event.ChangeEvent e)
CellEditorListener
public void rangeChanged(GridSelectionEvent e)
public void anchorChanged(GridSelectionEvent e)
public javax.accessibility.AccessibleSelection getAccessibleSelection()
public javax.accessibility.AccessibleRole getAccessibleRole()
AccessibleRole
public javax.accessibility.Accessible getAccessibleAt(java.awt.Point p)
p
- the point defining the top-left corner of the Accessible,
given in the coordinate space of the object's parent.public int getAccessibleChildrenCount()
public javax.accessibility.Accessible getAccessibleChild(int i)
i
- zero-based index of childpublic int getAccessibleSelectionCount()
public javax.accessibility.Accessible getAccessibleSelection(int i)
Note that the index represents the i-th selected child, which is different from the i-th child.
i
- the zero-based index of selected childrengetAccessibleSelectionCount()
public boolean isAccessibleChildSelected(int i)
i
- the zero-based index of the child in this Accessible object.AccessibleContext.getAccessibleChild(int)
public void addAccessibleSelection(int i)
i
- the zero-based index of the childAccessibleContext.getAccessibleChild(int)
public void removeAccessibleSelection(int i)
i
- the zero-based index of the childAccessibleContext.getAccessibleChild(int)
public void clearAccessibleSelection()
public void selectAllAccessibleSelection()
public javax.accessibility.AccessibleTable getAccessibleTable()
public javax.accessibility.Accessible getAccessibleCaption()
public void setAccessibleCaption(javax.accessibility.Accessible a)
a
- the caption for the tablepublic javax.accessibility.Accessible getAccessibleSummary()
public void setAccessibleSummary(javax.accessibility.Accessible a)
a
- the summary description of the tablepublic int getAccessibleRowCount()
public int getAccessibleColumnCount()
public javax.accessibility.Accessible getAccessibleAt(int r, int c)
public int getAccessibleRowExtentAt(int row, int column)
public int getAccessibleColumnExtentAt(int row, int column)
public javax.accessibility.AccessibleTable getAccessibleRowHeader()
public void setAccessibleRowHeader(javax.accessibility.AccessibleTable a)
public javax.accessibility.AccessibleTable getAccessibleColumnHeader()
public void setAccessibleColumnHeader(javax.accessibility.AccessibleTable a)
public javax.accessibility.Accessible getAccessibleRowDescription(int r)
r
- zero-based row of the tablepublic void setAccessibleRowDescription(int r, javax.accessibility.Accessible a)
r
- zero-based row of the tablea
- the description of the rowpublic javax.accessibility.Accessible getAccessibleColumnDescription(int c)
c
- zero-based column of the tablepublic void setAccessibleColumnDescription(int c, javax.accessibility.Accessible a)
c
- zero-based column of the tablea
- the description of the columnpublic boolean isAccessibleSelected(int r, int c)
r
- zero-based row of the tablec
- zero-based column of the tablepublic boolean isAccessibleRowSelected(int r)
r
- zero-based row of the tablepublic boolean isAccessibleColumnSelected(int c)
r
- zero-based column of the tablepublic int[] getSelectedAccessibleRows()
public int[] getSelectedAccessibleColumns()
public int getAccessibleRowAtIndex(int i)
public int getAccessibleColumnAtIndex(int i)
public int getAccessibleIndexAt(int r, int c)
r
- zero-based row of the tablec
- zero-based column of the table
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |