Bug 195951 Focus for PNG does not work [13]
Description: Focus for PNG does not work. Build number: 2.2.0.v20070710-1223 Steps to reproduce: 1. New a Chart, set Output Format as PNG, in "Format Chart" tab, add interactivity for Value Series, Event: Focus, Action: Hyperlink or invoke script. 2. Preview, focus in Value Series. Expected result: Interactivity works. Actual result: It does not work. Error log: N/A
chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/util/TriggerSupportMatrixTest.java
printTriggerCondition( sb, TriggerCondition.ONDBLCLICK_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONMOUSEDOWN_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONMOUSEUP_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONMOUSEOVER_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONMOUSEMOVE_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONMOUSEOUT_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONFOCUS_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONBLUR_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONKEYDOWN_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONKEYUP_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONKEYPRESS_LITERAL );
		printTriggerCondition( sb, TriggerCondition.ONLOAD_LITERAL );
		sb.append( "</table>" + SPLITOR ); 
		return sb.toString( );
	}
	private void printTd( StringBuffer sb, String str )
	{
		sb.append( "  <td>" + str + "</td>" + SPLITOR ); 
	}
	private void printTriggerCondition( StringBuffer sb,
			TriggerCondition condition )
	{
		sb.append( " <tr>" + SPLITOR ); 
		printTd( sb, condition.getLiteral( ) );
		for ( int i = 0; i < ACTION_TYPES.length; i++ )
		{
			printTd( sb, getSupport( condition, ACTION_TYPES[i] ) );
		}
		sb.append( " </tr>" + SPLITOR ); 
	}