railo.runtime.dump
Class DumpTable

java.lang.Object
  extended by railo.runtime.dump.DumpTable
All Implemented Interfaces:
DumpData

public class DumpTable
extends Object
implements DumpData

class to generate Railo HTML Boxes for dumps


Constructor Summary
DumpTable(String highLightColor, String normalColor, String borderColor)
           
DumpTable(String type, String highLightColor, String normalColor, String borderColor)
           
DumpTable(String type, String highLightColor, String normalColor, String borderColor, String fontColor)
           
 
Method Summary
 void appendRow(DumpRow row)
           
 void appendRow(int highlightType, DumpData item1)
           
 void appendRow(int highlightType, DumpData item1, DumpData item2)
           
 void appendRow(int highlightType, DumpData item1, DumpData item2, DumpData item3)
           
 void appendRow(int highlightType, DumpData item1, DumpData item2, DumpData item3, DumpData item4)
           
 void appendRow(int highlightType, DumpData item1, DumpData item2, DumpData item3, DumpData item4, DumpData item5)
           
 void appendRow(int highlightType, DumpData item1, DumpData item2, DumpData item3, DumpData item4, DumpData item5, DumpData item6)
           
 void clear()
          clear all data set in the HTMLBox
 String getBorderColor()
           
 String getComment()
          returns the comment of the DumpTable, if not defined returns null
 String getFontColor()
           
 String getHeight()
           
 String getHighLightColor()
           
 String getId()
           
 String getNormalColor()
           
 String getRef()
           
 DumpRow[] getRows()
           
 String getTitle()
          returns the title of the DumpTable, if not defined returns null
 String getType()
           
 String getWidth()
           
 boolean isEmpty()
           
 void prependRow(DumpRow row)
           
 void setBorderColor(String borderColor)
           
 void setComment(String comment)
           
 void setFontColor(String fontColor)
           
 void setHeight(String height)
           
 void setHighLightColor(String highLightColor)
           
 void setId(String id)
           
 void setNormalColor(String normalColor)
           
 void setRef(String ref)
           
 void setTitle(String title)
           
 void setWidth(String width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpTable

public DumpTable(String highLightColor,
                 String normalColor,
                 String borderColor)

DumpTable

public DumpTable(String type,
                 String highLightColor,
                 String normalColor,
                 String borderColor)

DumpTable

public DumpTable(String type,
                 String highLightColor,
                 String normalColor,
                 String borderColor,
                 String fontColor)
Method Detail

isEmpty

public boolean isEmpty()
Returns:
returns if the box has content or not

clear

public void clear()
clear all data set in the HTMLBox


setTitle

public void setTitle(String title)
Parameters:
title - sets the title of the HTML Box

getTitle

public String getTitle()
returns the title of the DumpTable, if not defined returns null

Returns:
title of the DumpTable

setComment

public void setComment(String comment)
Parameters:
comment - sets the comment of the HTML Box

getComment

public String getComment()
returns the comment of the DumpTable, if not defined returns null

Returns:
title of the DumpTable

setWidth

public void setWidth(String width)
Parameters:
width - sets the With of the HTML Box, can be a number or a procentual value

setHeight

public void setHeight(String height)
Parameters:
height - sets the Height of the HTML Box, can be a number or a procentual value

getBorderColor

public String getBorderColor()
Returns:
the borderColor

setBorderColor

public void setBorderColor(String borderColor)
Parameters:
borderColor - the borderColor to set

getFontColor

public String getFontColor()
Returns:
the fontColor

setFontColor

public void setFontColor(String fontColor)
Parameters:
fontColor - the fontColor to set

getHighLightColor

public String getHighLightColor()
Returns:
the highLightColor

setHighLightColor

public void setHighLightColor(String highLightColor)
Parameters:
highLightColor - the highLightColor to set

getNormalColor

public String getNormalColor()
Returns:
the normalColor

setNormalColor

public void setNormalColor(String normalColor)
Parameters:
normalColor - the normalColor to set

getHeight

public String getHeight()
Returns:
the height

getRows

public DumpRow[] getRows()
Returns:
the rows

appendRow

public void appendRow(DumpRow row)

appendRow

public void appendRow(int highlightType,
                      DumpData item1)

appendRow

public void appendRow(int highlightType,
                      DumpData item1,
                      DumpData item2)

appendRow

public void appendRow(int highlightType,
                      DumpData item1,
                      DumpData item2,
                      DumpData item3)

appendRow

public void appendRow(int highlightType,
                      DumpData item1,
                      DumpData item2,
                      DumpData item3,
                      DumpData item4)

appendRow

public void appendRow(int highlightType,
                      DumpData item1,
                      DumpData item2,
                      DumpData item3,
                      DumpData item4,
                      DumpData item5)

appendRow

public void appendRow(int highlightType,
                      DumpData item1,
                      DumpData item2,
                      DumpData item3,
                      DumpData item4,
                      DumpData item5,
                      DumpData item6)

prependRow

public void prependRow(DumpRow row)

getWidth

public String getWidth()
Returns:
the width

getType

public String getType()
Returns:
the type

setId

public void setId(String id)

getId

public String getId()

setRef

public void setRef(String ref)

getRef

public String getRef()


Copyright © 2012 Railo