net.sf.doolin.gui.field.table.style
Class DefaultTableStyle

java.lang.Object
  extended by net.sf.doolin.gui.field.table.style.DefaultTableStyle
All Implemented Interfaces:
TableStyle

public class DefaultTableStyle
extends Object
implements TableStyle

Style that just applies the default background to a row.

Author:
Damien Coraboeuf

Constructor Summary
DefaultTableStyle()
           
 
Method Summary
 Style getStyle(Object item, JTable table, int row, int column)
          Gets the style to apply on the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTableStyle

public DefaultTableStyle()
Method Detail

getStyle

public Style getStyle(Object item,
                      JTable table,
                      int row,
                      int column)
Description copied from interface: TableStyle
Gets the style to apply on the table.

Specified by:
getStyle in interface TableStyle
Parameters:
item - Item associated to the row
table - Table
row - Row index
column - Column index
Returns:
Style to apply


Copyright © 2011. All Rights Reserved.