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

java.lang.Object
  extended by net.sf.doolin.gui.style.FontStyle
      extended by net.sf.doolin.gui.field.table.style.FontTableStyle
All Implemented Interfaces:
TableStyle, Style

public class FontTableStyle
extends FontStyle
implements TableStyle

Style that updates the font used for the rows.

Author:
Damien Coraboeuf

Constructor Summary
FontTableStyle()
           
 
Method Summary
 Style getStyle(Object item, JTable table, int row, int column)
          Gets the style to apply on the table.
 
Methods inherited from class net.sf.doolin.gui.style.FontStyle
apply, getFontColor, isBold, isItalic, isStrikedThrough, setBold, setFontColor, setItalic, setStrikedThrough
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontTableStyle

public FontTableStyle()
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.