下面列出了javax.swing.SwingUtilities#getAccessibleChild ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @param c a {@code JComponent} for which to get a child object
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
* @see #getAccessibleChildrenCount
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @param c a {@code JComponent} for which to get a child object
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
* @see #getAccessibleChildrenCount
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}
/**
* Returns the <code>i</code>th <code>Accessible</code> child of the object.
* UIs might need to override this if they present areas on the
* screen that can be viewed as components, but actual components
* are not used for presenting those areas.
*
* <p>
*
* Note: As of v1.3, it is recommended that developers call
* <code>Component.AccessibleAWTComponent.getAccessibleChild()</code> instead of
* this method.
*
* @see #getAccessibleChildrenCount
* @param i zero-based index of child
* @return the <code>i</code>th <code>Accessible</code> child of the object
*/
public Accessible getAccessibleChild(JComponent c, int i) {
return SwingUtilities.getAccessibleChild(c, i);
}