com.swfm.mica.widgets
Class MiVirtualTableRowHighlighter

java.lang.Object
  extended bycom.swfm.mica.widgets.MiVirtualTableRowHighlighter
All Implemented Interfaces:
MiiVirtualTableHighlighter

public class MiVirtualTableRowHighlighter
extends java.lang.Object
implements MiiVirtualTableHighlighter

This class supports the 'virtual' table, which is called virtual by virtue of it building only the visible rows of the table at one time - instead of the whole table at once - which scales better and is more efficient, though less flexible.

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
static int ENDS_WITH
           
static int EQUALS
           
static int STARTS_WITH
           
 
Constructor Summary
MiVirtualTableRowHighlighter(MiTable table, int columnNumberOfValues, int compareMethod, java.lang.String toMatch, int compareMethod2, java.lang.String toMatch2, MiPart rowBackgroundRectangle)
           
MiVirtualTableRowHighlighter(MiTable table, int columnNumberOfValues, int compareMethod, java.lang.String toMatch, MiPart rowBackgroundRectangle)
           
 
Method Summary
 boolean highlight(java.util.ArrayList rows)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EQUALS

public static final int EQUALS
See Also:
Constant Field Values

STARTS_WITH

public static final int STARTS_WITH
See Also:
Constant Field Values

ENDS_WITH

public static final int ENDS_WITH
See Also:
Constant Field Values
Constructor Detail

MiVirtualTableRowHighlighter

public MiVirtualTableRowHighlighter(MiTable table,
                                    int columnNumberOfValues,
                                    int compareMethod,
                                    java.lang.String toMatch,
                                    int compareMethod2,
                                    java.lang.String toMatch2,
                                    MiPart rowBackgroundRectangle)

MiVirtualTableRowHighlighter

public MiVirtualTableRowHighlighter(MiTable table,
                                    int columnNumberOfValues,
                                    int compareMethod,
                                    java.lang.String toMatch,
                                    MiPart rowBackgroundRectangle)
Method Detail

highlight

public boolean highlight(java.util.ArrayList rows)
Specified by:
highlight in interface MiiVirtualTableHighlighter