com.objectplanet.gui
Class Filter

java.lang.Object
  extended bycom.objectplanet.gui.Filter

public class Filter
extends java.lang.Object

This class is used for the filter values and operations.


Field Summary
 java.lang.String displayed
          Contains the currently displayed text in the filter field.
 boolean enabled
          Marks the filter as enabled.
static int FILTER_ENDS_WITH
           
static int FILTER_EQUALS
           
static int FILTER_INCLUDES
           
static int FILTER_LARGER
           
static int FILTER_LARGER_EQUALS
           
static int FILTER_LESS
           
static int FILTER_LESS_EQUALS
           
static int FILTER_NOT_EQUALS
           
static int FILTER_NOT_INCLUDES
           
static int FILTER_STARTS_WITH
           
 boolean filterOnLabel
          Forces filtering on label for equals and !
 Filter next
          The next filter value within this filter expression.
 double number
          This field contains any numerical representation of the filter.
 boolean on
          Marks the filter as activated.
 int operator
          This is the operator for the filter match check.
 int position
          The current caret position within the filter field.
 java.lang.String separator
          The separator used between filter labels on combination filters.
 java.lang.String value
          This contains the current filter value to check agains.
 
Constructor Summary
Filter()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayed

public java.lang.String displayed
Contains the currently displayed text in the filter field.


enabled

public boolean enabled
Marks the filter as enabled.


FILTER_ENDS_WITH

public static final int FILTER_ENDS_WITH
See Also:
Constant Field Values

FILTER_EQUALS

public static final int FILTER_EQUALS
See Also:
Constant Field Values

FILTER_INCLUDES

public static final int FILTER_INCLUDES
See Also:
Constant Field Values

FILTER_LARGER

public static final int FILTER_LARGER
See Also:
Constant Field Values

FILTER_LARGER_EQUALS

public static final int FILTER_LARGER_EQUALS
See Also:
Constant Field Values

FILTER_LESS

public static final int FILTER_LESS
See Also:
Constant Field Values

FILTER_LESS_EQUALS

public static final int FILTER_LESS_EQUALS
See Also:
Constant Field Values

FILTER_NOT_EQUALS

public static final int FILTER_NOT_EQUALS
See Also:
Constant Field Values

FILTER_NOT_INCLUDES

public static final int FILTER_NOT_INCLUDES
See Also:
Constant Field Values

FILTER_STARTS_WITH

public static final int FILTER_STARTS_WITH
See Also:
Constant Field Values

filterOnLabel

public boolean filterOnLabel
Forces filtering on label for equals and !equals filtering.


next

public Filter next
The next filter value within this filter expression.


number

public double number
This field contains any numerical representation of the filter. It contains a Double.NaN for invalid numbers (used for filter performance).


on

public boolean on
Marks the filter as activated.


operator

public int operator
This is the operator for the filter match check. Used for filter performance.


position

public int position
The current caret position within the filter field.


separator

public java.lang.String separator
The separator used between filter labels on combination filters.


value

public java.lang.String value
This contains the current filter value to check agains. The filter value is the same as the filter text but without the filter operators (*,<,>,<=,>=,<>). This text is also lowercase.

Constructor Detail

Filter

public Filter()