org.apache.beehive.netui.databinding.datagrid.runtime.model.style
Class DefaultStyleModel

Object
  extended by StyleModel
      extended by DefaultStyleModel
Direct Known Subclasses:
EmptyStyleModel

public class DefaultStyleModel
extends StyleModel


Constructor Summary
DefaultStyleModel()
           
DefaultStyleModel(String prefix)
           
 
Method Summary
 String getAltRowClass()
          Get the style class for an HTML tr tag rendered in a grid row.
 String getCaptionClass()
          Get the style class for an HTML caption tag.
 String getDataCellClass()
          Get the style class for an HTML td tag rendered for a grid cell.
 String getDataCellFilteredClass()
          Get the style class for an HTML td tag for a grid cell that is filtered.
 String getDataCellSortedClass()
          Get the style class for an HTML td tag for a grid cell that is sorted.
 String getFooterRowClass()
          Get the style class for an HTML tr tag rendered in the grid's footer.
 String getHeaderCellClass()
          Get the style class for an HTML th tag rendered for a grid's header cell.
 String getHeaderCellFilteredClass()
          Get the style class for an HTML th tag for a grid's header cell that is filtered.
 String getHeaderCellSortableClass()
          Get the style class for an HTML th tag for a grid's header cell that is sortable.
 String getHeaderCellSortedClass()
          Get the style class for an HTML th tag for a grid's header cell whose data is sorted.
 String getHeaderRowClass()
          Get the style class for an HTML tr tag rendered in the grid's header.
 String getRowClass()
          Get the style class for an HTML tr tag rendered in a grid row.
 String getTableClass()
          Get the style class for an HTML table tag.
 String getTableFootClass()
          Get the style class for an HTML tfoot tag.
 String getTableHeadClass()
          Get the style class for an HTML thead tag.
 
Methods inherited from class StyleModel
buildStyleClass, buildStyleClassValue, getStylePrefix, setStylePrefix
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStyleModel

public DefaultStyleModel()

DefaultStyleModel

public DefaultStyleModel(String prefix)
Method Detail

getTableClass

public String getTableClass()
Description copied from class: StyleModel
Get the style class for an HTML table tag.

Specified by:
getTableClass in class StyleModel
Returns:
the style class

getCaptionClass

public String getCaptionClass()
Description copied from class: StyleModel
Get the style class for an HTML caption tag.

Specified by:
getCaptionClass in class StyleModel
Returns:
the style class

getTableHeadClass

public String getTableHeadClass()
Description copied from class: StyleModel
Get the style class for an HTML thead tag.

Specified by:
getTableHeadClass in class StyleModel
Returns:
the style class

getTableFootClass

public String getTableFootClass()
Description copied from class: StyleModel
Get the style class for an HTML tfoot tag.

Specified by:
getTableFootClass in class StyleModel
Returns:
the style class

getHeaderRowClass

public String getHeaderRowClass()
Description copied from class: StyleModel
Get the style class for an HTML tr tag rendered in the grid's header.

Specified by:
getHeaderRowClass in class StyleModel
Returns:
the style class

getFooterRowClass

public String getFooterRowClass()
Description copied from class: StyleModel
Get the style class for an HTML tr tag rendered in the grid's footer.

Specified by:
getFooterRowClass in class StyleModel
Returns:
the style class

getRowClass

public String getRowClass()
Description copied from class: StyleModel
Get the style class for an HTML tr tag rendered in a grid row. This style class will be used on even numbered rows.

Specified by:
getRowClass in class StyleModel
Returns:
the style class

getAltRowClass

public String getAltRowClass()
Description copied from class: StyleModel
Get the style class for an HTML tr tag rendered in a grid row. This style class will be used on odd numbered rows.

Specified by:
getAltRowClass in class StyleModel
Returns:
the style class

getDataCellClass

public String getDataCellClass()
Description copied from class: StyleModel
Get the style class for an HTML td tag rendered for a grid cell.

Specified by:
getDataCellClass in class StyleModel
Returns:
the style class

getHeaderCellClass

public String getHeaderCellClass()
Description copied from class: StyleModel
Get the style class for an HTML th tag rendered for a grid's header cell.

Specified by:
getHeaderCellClass in class StyleModel
Returns:
the style class

getHeaderCellSortableClass

public String getHeaderCellSortableClass()
Description copied from class: StyleModel
Get the style class for an HTML th tag for a grid's header cell that is sortable.

Specified by:
getHeaderCellSortableClass in class StyleModel
Returns:
the style class

getHeaderCellSortedClass

public String getHeaderCellSortedClass()
Description copied from class: StyleModel
Get the style class for an HTML th tag for a grid's header cell whose data is sorted.

Specified by:
getHeaderCellSortedClass in class StyleModel
Returns:
the style class

getHeaderCellFilteredClass

public String getHeaderCellFilteredClass()
Description copied from class: StyleModel
Get the style class for an HTML th tag for a grid's header cell that is filtered.

Specified by:
getHeaderCellFilteredClass in class StyleModel
Returns:
the style class

getDataCellSortedClass

public String getDataCellSortedClass()
Description copied from class: StyleModel
Get the style class for an HTML td tag for a grid cell that is sorted.

Specified by:
getDataCellSortedClass in class StyleModel
Returns:
the style class

getDataCellFilteredClass

public String getDataCellFilteredClass()
Description copied from class: StyleModel
Get the style class for an HTML td tag for a grid cell that is filtered.

Specified by:
getDataCellFilteredClass in class StyleModel
Returns:
the style class