org.tastybug.bugwerk.bugtrail.widget.ticket
Class HTMLFactory
java.lang.Object
org.tastybug.bugwerk.bugtrail.widget.ticket.HTMLFactory
public class HTMLFactory
- extends Object
This HTML helper class creates HTML tables summarizing the base ticket properties.
Copyright 2006 Philipp Bartsch.
www.tastybug.com
Created on Feb 8, 2006
- Author:
- Philipp Bartsch, philipp.bartsch{at}tastybug{dot}com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLFactory
public HTMLFactory()
createTicketHTMLRepresentation
public static String createTicketHTMLRepresentation(Ticket ticket)
- Returns a HTML table listing the base properties of
ticket
including
the incident count.
- Parameters:
ticket
- the ticket
- Returns:
- the HTML table
getTableRow
public static final String getTableRow(String key,
String value,
boolean highlight)
- Returns a eyecandy table row.
- Parameters:
key
- the inserted keyvalue
- the inserted valuehighlight
- specifies wheter to highlight the row label with a
blue or the standard grey background
- Returns:
- the row (html code)
Copyright © 2006-2007 TastyBug Development. All Rights Reserved.