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

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, JTable t)

Method Summary

void
addFocusListener(FocusListener l)
void
addPropertyChangeListener(PropertyChangeListener l)
boolean
contains(Point p)
AccessibleAction
getAccessibleAction()
Accessible
getAccessibleAt(Point p)
Accessible
getAccessibleChild(int i)
Returns null as the header entry has no accessible children.
int
getAccessibleChildrenCount()
Returns the number of accessible children, zero in this case.
AccessibleComponent
getAccessibleComponent()
Returns the accessible component for this header entry.
AccessibleContext
getAccessibleContext()
Returns the accessible context for this header entry.
String
getAccessibleDescription()
Returns the accessible description.
int
getAccessibleIndexInParent()
Returns the index of this header entry.
String
getAccessibleName()
Returns the accessible name.
AccessibleRole
getAccessibleRole()
Returns the accessible role for the header entry.
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,
                                   JTable t)

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)
Returns null as the header entry has no accessible children.
Overrides:
getAccessibleChild in interface AccessibleContext
Returns:
null.

getAccessibleChildrenCount

public int getAccessibleChildrenCount()
Returns the number of accessible children, zero in this case.
Overrides:
getAccessibleChildrenCount in interface AccessibleContext
Returns:
0

getAccessibleComponent

public AccessibleComponent getAccessibleComponent()
Returns the accessible component for this header entry.
Overrides:
getAccessibleComponent in interface AccessibleContext
Returns:
this.

getAccessibleContext

public AccessibleContext getAccessibleContext()
Returns the accessible context for this header entry.
Specified by:
getAccessibleContext in interface Accessible
Returns:
this.

getAccessibleDescription

public String getAccessibleDescription()
Returns the accessible description.
Overrides:
getAccessibleDescription in interface AccessibleContext
Returns:
The accessible description.

getAccessibleIndexInParent

public int getAccessibleIndexInParent()
Returns the index of this header entry.
Overrides:
getAccessibleIndexInParent in interface AccessibleContext
Returns:
The index of this header entry.

getAccessibleName

public String getAccessibleName()
Returns the accessible name.
Overrides:
getAccessibleName in interface AccessibleContext
Returns:
The accessible name.

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role for the header entry.
Overrides:
getAccessibleRole in interface AccessibleContext
Returns:
The accessible role.

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

JTableHeader.java -- Copyright (C) 2003, 2004, 2005, 2006, Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.