javax.swing.table

Class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry

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

Constructor Summary
AccessibleJTableHeaderEntry(int c, JTableHeader p, JTable t)
Method Summary
voidaddFocusListener(FocusListener l)
voidaddPropertyChangeListener(PropertyChangeListener l)
booleancontains(Point p)
AccessibleActiongetAccessibleAction()
AccessiblegetAccessibleAt(Point p)
AccessiblegetAccessibleChild(int i)
Returns null as the header entry has no accessible children.
intgetAccessibleChildrenCount()
Returns the number of accessible children, zero in this case.
AccessibleComponentgetAccessibleComponent()
Returns the accessible component for this header entry.
AccessibleContextgetAccessibleContext()
Returns the accessible context for this header entry.
StringgetAccessibleDescription()
Returns the accessible description.
intgetAccessibleIndexInParent()
Returns the index of this header entry.
StringgetAccessibleName()
Returns the accessible name.
AccessibleRolegetAccessibleRole()
Returns the accessible role for the header entry.
AccessibleSelectiongetAccessibleSelection()
AccessibleStateSetgetAccessibleStateSet()
AccessibleTextgetAccessibleText()
AccessibleValuegetAccessibleValue()
ColorgetBackground()
RectanglegetBounds()
CursorgetCursor()
FontgetFont()
FontMetricsgetFontMetrics(Font f)
ColorgetForeground()
LocalegetLocale()
PointgetLocation()
PointgetLocationOnScreen()
DimensiongetSize()
booleanisEnabled()
booleanisFocusTraversable()
booleanisShowing()
booleanisVisible()
voidremoveFocusListener(FocusListener l)
voidremovePropertyChangeListener(PropertyChangeListener l)
voidrequestFocus()
voidsetAccessibleDescription(String s)
voidsetAccessibleName(String s)
voidsetBackground(Color c)
voidsetBounds(Rectangle r)
voidsetCursor(Cursor c)
voidsetEnabled(boolean b)
voidsetFont(Font f)
voidsetForeground(Color c)
voidsetLocation(Point p)
voidsetSize(Dimension d)
voidsetVisible(boolean b)

Constructor Detail

AccessibleJTableHeaderEntry

public AccessibleJTableHeaderEntry(int c, JTableHeader p, JTable t)

Method Detail

addFocusListener

public void addFocusListener(FocusListener l)

See Also: removeFocusListener

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)

See Also: removePropertyChangeListener

contains

public boolean contains(Point p)

getAccessibleAction

public AccessibleAction getAccessibleAction()

getAccessibleAt

public Accessible getAccessibleAt(Point p)

getAccessibleChild

public Accessible getAccessibleChild(int i)
Returns null as the header entry has no accessible children.

Returns: null.

getAccessibleChildrenCount

public int getAccessibleChildrenCount()
Returns the number of accessible children, zero in this case.

Returns: 0

getAccessibleComponent

public AccessibleComponent getAccessibleComponent()
Returns the accessible component for this header entry.

Returns: this.

getAccessibleContext

public AccessibleContext getAccessibleContext()
Returns the accessible context for this header entry.

Returns: this.

getAccessibleDescription

public String getAccessibleDescription()
Returns the accessible description.

Returns: The accessible description.

See Also: setAccessibleDescription

getAccessibleIndexInParent

public int getAccessibleIndexInParent()
Returns the index of this header entry.

Returns: The index of this header entry.

getAccessibleName

public String getAccessibleName()
Returns the accessible name.

Returns: The accessible name.

See Also: setAccessibleName

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role for the header entry.

Returns: The accessible role.

getAccessibleSelection

public AccessibleSelection getAccessibleSelection()

getAccessibleStateSet

public AccessibleStateSet getAccessibleStateSet()

getAccessibleText

public AccessibleText getAccessibleText()

getAccessibleValue

public AccessibleValue getAccessibleValue()

getBackground

public Color getBackground()

getBounds

public Rectangle getBounds()

getCursor

public Cursor getCursor()

getFont

public Font getFont()

getFontMetrics

public FontMetrics getFontMetrics(Font f)

getForeground

public Color getForeground()

getLocale

public Locale getLocale()

getLocation

public Point getLocation()

getLocationOnScreen

public Point getLocationOnScreen()

getSize

public Dimension getSize()

isEnabled

public boolean isEnabled()

isFocusTraversable

public boolean isFocusTraversable()

isShowing

public boolean isShowing()

isVisible

public boolean isVisible()

removeFocusListener

public void removeFocusListener(FocusListener l)

See Also: addFocusListener

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)

See Also: addPropertyChangeListener

requestFocus

public void requestFocus()

See Also: addFocusListener

setAccessibleDescription

public void setAccessibleDescription(String s)

See Also: getAccessibleDescription

setAccessibleName

public void setAccessibleName(String s)

See Also: getAccessibleName

setBackground

public void setBackground(Color c)

setBounds

public void setBounds(Rectangle r)

setCursor

public void setCursor(Cursor c)

setEnabled

public void setEnabled(boolean b)

setFont

public void setFont(Font f)

setForeground

public void setForeground(Color c)

setLocation

public void setLocation(Point p)

setSize

public void setSize(Dimension d)

setVisible

public void setVisible(boolean b)