javax.swing.table

Class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry

Enclosing Class:
JTableHeader.AccessibleJTableHeader
Implemented Interfaces:
Accessible, AccessibleComponent

protected class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry
extends AccessibleContext
implements Accessible, AccessibleComponent

This class provides an implementation of the Java Accessibility API appropropriate for JTableHeader entries.

Field Summary

Fields inherited from class javax.accessibility.AccessibleContext

ACCESSIBLE_ACTION_PROPERTY, ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY, ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_CHILD_PROPERTY, ACCESSIBLE_COMPONENT_BOUNDS_CHANGED, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_HYPERTEXT_OFFSET, ACCESSIBLE_INVALIDATE_CHILDREN, 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_ATTRIBUTES_CHANGED, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent

Constructor Summary

AccessibleJTableHeaderEntry(int c, JTableHeader p, javax.swing.JTable t)
Constructs an AccessiblJTableHeaaderEntry

Method Summary

void
addFocusListener(FocusListener l)
void
addPropertyChangeListener(PropertyChangeListener l)
boolean
contains(Point p)
AccessibleAction
getAccessibleAction()
Accessible
getAccessibleAt(Point p)
Accessible
getAccessibleChild(int i)
int
getAccessibleChildrenCount()
AccessibleComponent
getAccessibleComponent()
Get the AccessibleComponent associated with this object.
AccessibleContext
getAccessibleContext()
Get the AccessibleContext associated with this object.
String
getAccessibleDescription()
int
getAccessibleIndexInParent()
String
getAccessibleName()
AccessibleRole
getAccessibleRole()
AccessibleSelection
getAccessibleSelection()
AccessibleStateSet
getAccessibleStateSet()
AccessibleText
getAccessibleText()
AccessibleValue
getAccessibleValue()
Color
getBackground()
Rectangle
getBounds()
Cursor
getCursor()
Font
getFont()
FontMetrics
getFontMetrics(Font f)
Color
getForeground()
Locale
getLocale()
Point
getLocation()
Point
getLocationOnScreen()
Dimension
getSize()
boolean
isEnabled()
boolean
isFocusTraversable()
boolean
isShowing()
boolean
isVisible()
void
removeFocusListener(FocusListener l)
void
removePropertyChangeListener(PropertyChangeListener l)
void
requestFocus()
void
setAccessibleDescription(String s)
void
setAccessibleName(String s)
void
setBackground(Color c)
void
setBounds(Rectangle r)
void
setCursor(Cursor c)
void
setEnabled(boolean b)
void
setFont(Font f)
void
setForeground(Color c)
void
setLocation(Point p)
void
setSize(Dimension d)
void
setVisible(boolean b)

Methods inherited from class javax.accessibility.AccessibleContext

addPropertyChangeListener, firePropertyChange, getAccessibleAction, getAccessibleChild, getAccessibleChildrenCount, getAccessibleComponent, getAccessibleDescription, getAccessibleEditableText, getAccessibleIcon, getAccessibleIndexInParent, getAccessibleName, getAccessibleParent, getAccessibleRelationSet, getAccessibleRole, getAccessibleSelection, getAccessibleStateSet, getAccessibleTable, getAccessibleText, getAccessibleValue, getLocale, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParent

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

AccessibleJTableHeaderEntry

public AccessibleJTableHeaderEntry(int c,
                                   JTableHeader p,
                                   javax.swing.JTable t)
Constructs an AccessiblJTableHeaaderEntry

Method Details

addFocusListener

public void addFocusListener(FocusListener l)
Specified by:
addFocusListener in interface AccessibleComponent

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Overrides:
addPropertyChangeListener in interface AccessibleContext

contains

public boolean contains(Point p)
Specified by:
contains in interface AccessibleComponent

getAccessibleAction

public AccessibleAction getAccessibleAction()
Overrides:
getAccessibleAction in interface AccessibleContext

getAccessibleAt

public Accessible getAccessibleAt(Point p)
Specified by:
getAccessibleAt in interface AccessibleComponent

getAccessibleChild

public Accessible getAccessibleChild(int i)
Overrides:
getAccessibleChild in interface AccessibleContext

getAccessibleChildrenCount

public int getAccessibleChildrenCount()
Overrides:
getAccessibleChildrenCount in interface AccessibleContext

getAccessibleComponent

public AccessibleComponent getAccessibleComponent()
Get the AccessibleComponent associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleComponent interface on behalf of itself.
Overrides:
getAccessibleComponent in interface AccessibleContext
Returns:
this object

getAccessibleContext

public AccessibleContext getAccessibleContext()
Get the AccessibleContext associated with this object. In the implementation of the Java Accessibility API for this class, returns this object, which serves as its own AccessibleContext.
Specified by:
getAccessibleContext in interface Accessible
Returns:
this object

getAccessibleDescription

public String getAccessibleDescription()
Overrides:
getAccessibleDescription in interface AccessibleContext

getAccessibleIndexInParent

public int getAccessibleIndexInParent()
Overrides:
getAccessibleIndexInParent in interface AccessibleContext

getAccessibleName

public String getAccessibleName()
Overrides:
getAccessibleName in interface AccessibleContext

getAccessibleRole

public AccessibleRole getAccessibleRole()
Overrides:
getAccessibleRole in interface AccessibleContext

getAccessibleSelection

public AccessibleSelection getAccessibleSelection()
Overrides:
getAccessibleSelection in interface AccessibleContext

getAccessibleStateSet

public AccessibleStateSet getAccessibleStateSet()
Overrides:
getAccessibleStateSet in interface AccessibleContext

getAccessibleText

public AccessibleText getAccessibleText()
Overrides:
getAccessibleText in interface AccessibleContext

getAccessibleValue

public AccessibleValue getAccessibleValue()
Overrides:
getAccessibleValue in interface AccessibleContext

getBackground

public Color getBackground()
Specified by:
getBackground in interface AccessibleComponent

getBounds

public Rectangle getBounds()
Specified by:
getBounds in interface AccessibleComponent

getCursor

public Cursor getCursor()
Specified by:
getCursor in interface AccessibleComponent

getFont

public Font getFont()
Specified by:
getFont in interface AccessibleComponent

getFontMetrics

public FontMetrics getFontMetrics(Font f)
Specified by:
getFontMetrics in interface AccessibleComponent

getForeground

public Color getForeground()
Specified by:
getForeground in interface AccessibleComponent

getLocale

public Locale getLocale()
Overrides:
getLocale in interface AccessibleContext

getLocation

public Point getLocation()
Specified by:
getLocation in interface AccessibleComponent

getLocationOnScreen

public Point getLocationOnScreen()
Specified by:
getLocationOnScreen in interface AccessibleComponent

getSize

public Dimension getSize()
Specified by:
getSize in interface AccessibleComponent

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface AccessibleComponent

isFocusTraversable

public boolean isFocusTraversable()
Specified by:
isFocusTraversable in interface AccessibleComponent

isShowing

public boolean isShowing()
Specified by:
isShowing in interface AccessibleComponent

isVisible

public boolean isVisible()
Specified by:
isVisible in interface AccessibleComponent

removeFocusListener

public void removeFocusListener(FocusListener l)
Specified by:
removeFocusListener in interface AccessibleComponent

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Overrides:
removePropertyChangeListener in interface AccessibleContext

requestFocus

public void requestFocus()
Specified by:
requestFocus in interface AccessibleComponent

setAccessibleDescription

public void setAccessibleDescription(String s)
Overrides:
setAccessibleDescription in interface AccessibleContext

setAccessibleName

public void setAccessibleName(String s)
Overrides:
setAccessibleName in interface AccessibleContext

setBackground

public void setBackground(Color c)
Specified by:
setBackground in interface AccessibleComponent

setBounds

public void setBounds(Rectangle r)
Specified by:
setBounds in interface AccessibleComponent

setCursor

public void setCursor(Cursor c)
Specified by:
setCursor in interface AccessibleComponent

setEnabled

public void setEnabled(boolean b)
Specified by:
setEnabled in interface AccessibleComponent

setFont

public void setFont(Font f)
Specified by:
setFont in interface AccessibleComponent

setForeground

public void setForeground(Color c)
Specified by:
setForeground in interface AccessibleComponent

setLocation

public void setLocation(Point p)
Specified by:
setLocation in interface AccessibleComponent

setSize

public void setSize(Dimension d)
Specified by:
setSize in interface AccessibleComponent

setVisible

public void setVisible(boolean b)
Specified by:
setVisible in interface AccessibleComponent