javax.swing
Class JTabbedPane.Page

java.lang.Object
  extended byjavax.accessibility.AccessibleContext
      extended byjavax.swing.JTabbedPane.Page
All Implemented Interfaces:
javax.accessibility.Accessible, javax.accessibility.AccessibleComponent, Serializable
Enclosing class:
JTabbedPane

private class JTabbedPane.Page
extends javax.accessibility.AccessibleContext
implements Serializable, javax.accessibility.Accessible, javax.accessibility.AccessibleComponent


Field Summary
(package private)  Color background
           
(package private)  Component component
           
(package private)  Icon disabledIcon
           
(package private)  boolean enabled
           
(package private)  Color foreground
           
(package private)  Icon icon
           
(package private)  int mnemonic
           
(package private)  int mnemonicIndex
           
(package private)  boolean needsUIUpdate
           
(package private)  JTabbedPane parent
           
(package private)  String tip
           
(package private)  String title
           
 
Fields inherited from class javax.accessibility.AccessibleContext
ACCESSIBLE_ACTION_PROPERTY, ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY, ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_CHILD_PROPERTY, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_HYPERTEXT_OFFSET, 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
(package private) JTabbedPane.Page(JTabbedPane parent, String title, Icon icon, Icon disabledIcon, Component component, String tip)
           
 
Method Summary
 void addFocusListener(FocusListener l)
           
 boolean contains(Point p)
           
 javax.accessibility.Accessible getAccessibleAt(Point p)
           
 javax.accessibility.Accessible getAccessibleChild(int i)
           
 int getAccessibleChildrenCount()
           
 javax.accessibility.AccessibleComponent getAccessibleComponent()
           
 javax.accessibility.AccessibleContext getAccessibleContext()
           
 String getAccessibleDescription()
           
 int getAccessibleIndexInParent()
           
 String getAccessibleName()
           
 javax.accessibility.AccessibleRole getAccessibleRole()
           
 javax.accessibility.AccessibleStateSet getAccessibleStateSet()
           
 Color getBackground()
           
 Rectangle getBounds()
           
 Cursor getCursor()
           
(package private)  int getDisplayedMnemonicIndex()
           
 Font getFont()
           
 FontMetrics getFontMetrics(Font f)
           
 Color getForeground()
           
 Locale getLocale()
           
 Point getLocation()
           
 Point getLocationOnScreen()
           
(package private)  int getMnemonic()
           
 Dimension getSize()
           
 boolean isEnabled()
           
 boolean isFocusTraversable()
           
 boolean isShowing()
           
 boolean isVisible()
           
 void removeFocusListener(FocusListener l)
           
 void requestFocus()
           
 void setBackground(Color c)
           
 void setBounds(Rectangle r)
           
 void setCursor(Cursor c)
           
(package private)  void setDisplayedMnemonicIndex(int mnemonicIndex)
           
 void setEnabled(boolean b)
           
 void setFont(Font f)
           
 void setForeground(Color c)
           
 void setLocation(Point p)
           
(package private)  void setMnemonic(int mnemonic)
           
 void setSize(Dimension d)
           
 void setVisible(boolean b)
           
(package private)  void updateDisplayedMnemonicIndex()
           
 
Methods inherited from class javax.accessibility.AccessibleContext
addPropertyChangeListener, firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleParent, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, getAccessibleValue, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

String title

background

Color background

foreground

Color foreground

icon

Icon icon

disabledIcon

Icon disabledIcon

parent

JTabbedPane parent

component

Component component

tip

String tip

enabled

boolean enabled

needsUIUpdate

boolean needsUIUpdate

mnemonic

int mnemonic

mnemonicIndex

int mnemonicIndex
Constructor Detail

JTabbedPane.Page

JTabbedPane.Page(JTabbedPane parent,
                 String title,
                 Icon icon,
                 Icon disabledIcon,
                 Component component,
                 String tip)
Method Detail

setMnemonic

void setMnemonic(int mnemonic)

getMnemonic

int getMnemonic()

setDisplayedMnemonicIndex

void setDisplayedMnemonicIndex(int mnemonicIndex)

getDisplayedMnemonicIndex

int getDisplayedMnemonicIndex()

updateDisplayedMnemonicIndex

void updateDisplayedMnemonicIndex()

getAccessibleContext

public javax.accessibility.AccessibleContext getAccessibleContext()
Specified by:
getAccessibleContext in interface javax.accessibility.Accessible

getAccessibleName

public String getAccessibleName()

getAccessibleDescription

public String getAccessibleDescription()

getAccessibleRole

public javax.accessibility.AccessibleRole getAccessibleRole()

getAccessibleStateSet

public javax.accessibility.AccessibleStateSet getAccessibleStateSet()

getAccessibleIndexInParent

public int getAccessibleIndexInParent()

getAccessibleChildrenCount

public int getAccessibleChildrenCount()

getAccessibleChild

public javax.accessibility.Accessible getAccessibleChild(int i)

getLocale

public Locale getLocale()

getAccessibleComponent

public javax.accessibility.AccessibleComponent getAccessibleComponent()

getBackground

public Color getBackground()
Specified by:
getBackground in interface javax.accessibility.AccessibleComponent

setBackground

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

getForeground

public Color getForeground()
Specified by:
getForeground in interface javax.accessibility.AccessibleComponent

setForeground

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

getCursor

public Cursor getCursor()
Specified by:
getCursor in interface javax.accessibility.AccessibleComponent

setCursor

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

getFont

public Font getFont()
Specified by:
getFont in interface javax.accessibility.AccessibleComponent

setFont

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

getFontMetrics

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

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface javax.accessibility.AccessibleComponent

setEnabled

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

isVisible

public boolean isVisible()
Specified by:
isVisible in interface javax.accessibility.AccessibleComponent

setVisible

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

isShowing

public boolean isShowing()
Specified by:
isShowing in interface javax.accessibility.AccessibleComponent

contains

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

getLocationOnScreen

public Point getLocationOnScreen()
Specified by:
getLocationOnScreen in interface javax.accessibility.AccessibleComponent

getLocation

public Point getLocation()
Specified by:
getLocation in interface javax.accessibility.AccessibleComponent

setLocation

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

getBounds

public Rectangle getBounds()
Specified by:
getBounds in interface javax.accessibility.AccessibleComponent

setBounds

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

getSize

public Dimension getSize()
Specified by:
getSize in interface javax.accessibility.AccessibleComponent

setSize

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

getAccessibleAt

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

isFocusTraversable

public boolean isFocusTraversable()
Specified by:
isFocusTraversable in interface javax.accessibility.AccessibleComponent

requestFocus

public void requestFocus()
Specified by:
requestFocus in interface javax.accessibility.AccessibleComponent

addFocusListener

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

removeFocusListener

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