form.setAutoHeight();
form.setMargin(10);
form.setNumCols(4);
// row 1
currentField = new StaticTextItem("current", MSG.view_resource_monitor_availability_currentStatus());
currentField.setWrapTitle(false);
currentField.setColSpan(4);
// row 2
availField = new StaticTextItem("avail", MSG.common_title_availability());
availField.setWrapTitle(false);
prepareTooltip(availField, MSG.view_resource_monitor_availability_tooltip_up());
availTimeField = new StaticTextItem("availTime", MSG.view_resource_monitor_availability_uptime());
availTimeField.setWrapTitle(false);
prepareTooltip(availTimeField, MSG.view_resource_monitor_availability_uptime_tooltip());
// row 3
downField = new StaticTextItem("down", MSG.common_status_avail_down_lower());
downField.setWrapTitle(false);
prepareTooltip(downField, MSG.view_resource_monitor_availability_tooltip_down());
downTimeField = new StaticTextItem("downTime", MSG.view_resource_monitor_availability_downtime());
downTimeField.setWrapTitle(false);
prepareTooltip(downTimeField, MSG.view_resource_monitor_availability_downtime_tooltip());
// row 4
disabledField = new StaticTextItem("disabled", MSG.common_status_avail_disabled_lower());
disabledField.setWrapTitle(false);
prepareTooltip(disabledField, MSG.view_resource_monitor_availability_tooltip_disabled());
disabledTimeField = new StaticTextItem("disabledTime", MSG.view_resource_monitor_availability_disabledTime());
disabledTimeField.setWrapTitle(false);
prepareTooltip(disabledTimeField, MSG.view_resource_monitor_availability_disabledTime_tooltip());
// row 5
failureCountField = new StaticTextItem("failureCount", MSG.view_resource_monitor_availability_numFailures());
failureCountField.setWrapTitle(false);
prepareTooltip(failureCountField, MSG.view_resource_monitor_availability_numFailures_tooltip());
disabledCountField = new StaticTextItem("disabledCount", MSG.view_resource_monitor_availability_numDisabled());
disabledCountField.setWrapTitle(false);
prepareTooltip(disabledCountField, MSG.view_resource_monitor_availability_numDisabled_tooltip());
// row 6
mtbfField = new StaticTextItem("mtbf", MSG.view_resource_monitor_availability_mtbf());
mtbfField.setWrapTitle(false);
prepareTooltip(mtbfField, MSG.view_resource_monitor_availability_mtbf_tooltip());
mttrField = new StaticTextItem("mttr", MSG.view_resource_monitor_availability_mttr());
mttrField.setWrapTitle(false);
prepareTooltip(mttrField, MSG.view_resource_monitor_availability_mttr_tooltip());
// row 7
unknownField = new StaticTextItem("unknown");
unknownField.setWrapTitle(false);
unknownField.setColSpan(4);
unknownField.setShowTitle(false);
// row 8
currentTimeField = new StaticTextItem("currentTime");
currentTimeField.setWrapTitle(false);
currentTimeField.setColSpan(4);
currentTimeField.setShowTitle(false);
form.setItems(currentField, availField, availTimeField, downField, downTimeField, disabledField,