return str.toString();
}
public Renderer getRenderer()
{
return new IconListColumnRenderer();
}
});
list.addColumn(new ListColumn("title", msgs.get("list.column.jobName"), "150", true));
list.addColumn(new ListColumn("lastFireTime", msgs.get("list.column.lastFireTime"), "150", true));
list.addColumn(new ListColumn()
{
{
setName("terminatedWithError");
setColumnName("terminatedWithError");
setLabel(msgs.get("list.column.status"));
setWidth("55px");
}
public Object getValue()
{
Boolean status = Boolean.valueOf(super.getValue().toString());
StringBuilder str = new StringBuilder("/.resources/scheduler/css/images/");
if (status == null)
{
str.append("warning.png");
}
else if (status.booleanValue())
{
str.append("error.png");
}
else
{
str.append("success.png");
}
return str.toString();
}
public Renderer getRenderer()
{
return new IconListColumnRenderer();
}
});
list.addColumn(new ListColumn("nextFireTime", "Next fire time", "150", true));
list.addColumn(new ListColumn("startTime", msgs.get("list.column.startTime"), "150", true));