debugString("bk -- The Virtual Accessible Name was obtained from AccessibleContext::getAccessibleDescription.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from AccessibleContext::getAccessibleDescription.");
references.increment(descriptionString);
returndescriptionString;
}
debugString("The Virtual Accessible Name was not found using AccessibleContext::getAccessibleDescription. or getAccessibleName");
debugString("[WARN]: The Virtual Accessible Name was not found using AccessibleContext::getAccessibleDescription. or getAccessibleName");
/*
Step 2:
=======
...
...
@@ -807,7 +807,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
if(false==bExtendedSearch){
debugString("bk -- getVirtualAccessibleNameFromContext will not use the extended name search algorithm. role = "+(role!=null?role.toDisplayString(Locale.US):"null"));
debugString("[INFO]: bk -- getVirtualAccessibleNameFromContext will not use the extended name search algorithm. role = "+(role!=null?role.toDisplayString(Locale.US):"null"));
/*
Step 3:
=======
...
...
@@ -840,7 +840,7 @@ final public class AccessBridge extends AccessBridgeLoader {
@@ -900,7 +900,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(iconDescription!=null){
debugString("bk -- The Virtual Accessible Name was obtained from the description of the first Accessible Icon found in the Table Cell object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from the description of the first Accessible Icon found in the Table Cell object.");
references.increment(iconDescription);
returniconDescription;
}
...
...
@@ -914,7 +914,7 @@ final public class AccessBridge extends AccessBridgeLoader {
/*
Does the button support the Accessible Icon Interface?
*/
debugString("bk -- Attempting to obtain the Virtual Accessible Name from the Accessible Icon information.");
debugString("[INFO]: bk -- Attempting to obtain the Virtual Accessible Name from the Accessible Icon information.");
@@ -927,7 +927,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(iconDescription!=null){
debugString("bk -- The Virtual Accessible Name was obtained from the description of the first Accessible Icon found in the TOGGLE_BUTTON or PUSH_BUTTON object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from the description of the first Accessible Icon found in the TOGGLE_BUTTON or PUSH_BUTTON object.");
references.increment(iconDescription);
returniconDescription;
}
...
...
@@ -1007,7 +1007,7 @@ final public class AccessBridge extends AccessBridgeLoader {
if((AccessibleRole.SLIDER==role)&&
(AccessibleRole.PANEL==parentRole)&&
(null!=parentName)){
debugString("bk -- The Virtual Accessible Name was obtained from the Accessible Name of the SLIDER object's parent object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from the Accessible Name of the SLIDER object's parent object.");
references.increment(parentName);
returnparentName;
}
...
...
@@ -1024,11 +1024,11 @@ final public class AccessBridge extends AccessBridgeLoader {
(AccessibleRole.COMBO_BOX==parentRole)){
bIsEditCombo=true;
if(null!=parentName){
debugString("bk -- The Virtual Accessible Name for this Edit Combo box was obtained from the Accessible Name of the object's parent object.");
debugString("[INFO]: bk -- The Virtual Accessible Name for this Edit Combo box was obtained from the Accessible Name of the object's parent object.");
references.increment(parentName);
returnparentName;
}elseif(null!=parentDescription){
debugString("bk -- The Virtual Accessible Name for this Edit Combo box was obtained from the Accessible Description of the object's parent object.");
debugString("[INFO]: bk -- The Virtual Accessible Name for this Edit Combo box was obtained from the Accessible Description of the object's parent object.");
references.increment(parentDescription);
returnparentDescription;
}
...
...
@@ -1072,11 +1072,11 @@ final public class AccessBridge extends AccessBridgeLoader {
debugString("bk -- The Virtual Accessible Name was obtained using the LABELED_BY AccessibleRelation -- Name Case.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained using the LABELED_BY AccessibleRelation -- Name Case.");
references.increment(labelName);
returnlabelName;
}elseif(null!=labelDescription){
debugString("bk -- The Virtual Accessible Name was obtained using the LABELED_BY AccessibleRelation -- Description Case.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained using the LABELED_BY AccessibleRelation -- Description Case.");
references.increment(labelDescription);
returnlabelDescription;
}
...
...
@@ -1085,7 +1085,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
}
}else{
debugString("bk -- This version of Java does not support AccessibleContext::getAccessibleRelationSet.");
debugString("[ERROR]:bk -- This version of Java does not support AccessibleContext::getAccessibleRelationSet.");
}
//Note: add AccessibleContext to use InvocationUtils.invokeAndWait
...
...
@@ -1172,7 +1172,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childName){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned to the left of the object.");
references.increment(childName);
returnchildName;
}
...
...
@@ -1182,7 +1182,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childDescription){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned to the left of the object.");
references.increment(childDescription);
returnchildDescription;
}
...
...
@@ -1194,7 +1194,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childName){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned above the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned above the object.");
references.increment(childName);
returnchildName;
}
...
...
@@ -1204,7 +1204,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childDescription){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned above the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned above the object.");
references.increment(childDescription);
returnchildDescription;
}
...
...
@@ -1251,7 +1251,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childName){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned to the left of the object.");
references.increment(childName);
returnchildName;
}
...
...
@@ -1261,7 +1261,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childDescription){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned to the left of the object.");
references.increment(childDescription);
returnchildDescription;
}
...
...
@@ -1273,7 +1273,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childName){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned above the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Name of a LABEL object positioned above the object.");
references.increment(childName);
returnchildName;
}
...
...
@@ -1283,7 +1283,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childDescription){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned above the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Description of a LABEL object positioned above the object.");
references.increment(childDescription);
returnchildDescription;
}
...
...
@@ -1344,7 +1344,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childName){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Name of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Name of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
references.increment(childName);
returnchildName;
}
...
...
@@ -1354,7 +1354,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childDescription){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Description of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Description of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
references.increment(childDescription);
returnchildDescription;
}
...
...
@@ -1402,7 +1402,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childName){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Name of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Name of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
references.increment(childName);
returnchildName;
}
...
...
@@ -1412,7 +1412,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
},ac);
if(null!=childDescription){
debugString("bk -- The Virtual Accessible Name was obtained from Accessible Description of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
debugString("[INFO]: bk -- The Virtual Accessible Name was obtained from Accessible Description of a PUSH_BUTTON or TOGGLE_BUTTON object positioned to the left of the object.");
references.increment(childDescription);
returnchildDescription;
}
...
...
@@ -1425,7 +1425,7 @@ final public class AccessBridge extends AccessBridgeLoader {
}
returnnull;
}else{
debugString("AccessBridge::getVirtualAccessibleNameFromContext error - ac == null.");
debugString("[ERROR]: AccessBridge::getVirtualAccessibleNameFromContext error - ac == null.");
returnnull;
}
}
...
...
@@ -1443,11 +1443,11 @@ final public class AccessBridge extends AccessBridgeLoader {
},ac);
if(s!=null){
references.increment(s);
debugString("Returning AccessibleDescription from Context: "+s);
debugString("[INFO]: Returning AccessibleDescription from Context: "+s);
returns;
}
}else{
debugString("getAccessibleDescriptionFromContext; ac = null");
debugString("[ERROR]: getAccessibleDescriptionFromContext; ac = null");
}
returnnull;
}
...
...
@@ -1467,12 +1467,12 @@ final public class AccessBridge extends AccessBridgeLoader {
Strings=role.toDisplayString(Locale.US);
if(s!=null){
references.increment(s);
debugString("Returning AccessibleRole from Context: "+s);
debugString("[INFO]: Returning AccessibleRole from Context: "+s);
returns;
}
}
}else{
debugString("getAccessibleRoleStringFromContext; ac = null");
debugString("[ERROR]: getAccessibleRoleStringFromContext; ac = null");
}
returnnull;
}
...
...
@@ -1511,12 +1511,12 @@ final public class AccessBridge extends AccessBridgeLoader {
#ifdef ACCESSBRIDGE_ARCH_LEGACY // JOBJECT64 is jobject (32 bit pointer)
constcharfireIntPropertyChangeDebugString[]="\r\nIn AccessBridgeEventHandler::%s, Firing an int property change (%p, %p, %d, %d):\r\n";
constcharfireIntPropertyChangeDebugString[]="[INFO]: In AccessBridgeEventHandler::%s, Firing an int property change (%p, %p, %d, %d):\r\n";
#else // JOBJECT64 is jlong (64 bit)
constcharfireIntPropertyChangeDebugString[]="\r\nIn AccessBridgeEventHandler::%s, Firing an int property change (%016I64X, %016I64X, %d, %d):\r\n";
constcharfireIntPropertyChangeDebugString[]="[INFO]: In AccessBridgeEventHandler::%s, Firing an int property change (%016I64X, %016I64X, %d, %d):\r\n";
#ifdef ACCESSBRIDGE_ARCH_LEGACY // JOBJECT64 is jobject (32 bit pointer)
constcharfireACPropertyChangeDebugString[]="\r\nIn AccessBridgeEventHandler::%s, Firing an AC property change (%p, %p, %p, %p):\r\n";
constcharfireACPropertyChangeDebugString[]="[INFO]: In AccessBridgeEventHandler::%s, Firing an AC property change (%p, %p, %p, %p):\r\n";
#else // JOBJECT64 is jlong (64 bit)
constcharfireACPropertyChangeDebugString[]="\r\nIn AccessBridgeEventHandler::%s, Firing an AC property change (%016I64X, %016I64X, %016I64X, %016I64X):\r\n";
constcharfireACPropertyChangeDebugString[]="[INFO]: In AccessBridgeEventHandler::%s, Firing an AC property change (%016I64X, %016I64X, %016I64X, %016I64X):\r\n";