public AccessibleTreeNode createChild (AccessibleTreeNode aParent, int nIndex)
{
if (aParent instanceof AccTreeNode)
{
XAccessibleImage xImage = getImage ((AccTreeNode)aParent);
if (xImage != null)
return new StringNode (
"Image: " +
xImage.getAccessibleImageDescription() + " (" +
xImage.getAccessibleImageWidth() + "x" +
xImage.getAccessibleImageHeight() + ")",
aParent);
}
return null;
}