zinger.bsheet.commands
Class contains

java.lang.Object
  extended by zinger.bsheet.commands.contains

public class contains
extends java.lang.Object


Field Summary
static contains INSTANCE
           
 
Constructor Summary
protected contains()
           
 
Method Summary
 boolean cellContains(bsh.Interpreter env, bsh.CallStack callStack, int col, int row, java.lang.String text, boolean caseInsensitive)
           
 boolean cellContains(bsh.Interpreter env, bsh.CallStack callStack, int col, int row, java.lang.String text, boolean caseInsensitive, boolean testRaw, boolean testEval, boolean testFormatted)
           
static boolean invoke(bsh.Interpreter env, bsh.CallStack callStack, int col, int row, java.lang.String text, boolean caseInsensitive)
           
static boolean invoke(bsh.Interpreter env, bsh.CallStack callStack, java.awt.Point p, int dx, int dy, java.lang.String text, boolean caseInsensitive)
           
static boolean invoke(bsh.Interpreter env, bsh.CallStack callStack, java.awt.Point p, java.lang.String text, boolean caseInsensitive)
           
 boolean testText(java.lang.Object obj, java.lang.String text, boolean toLower)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final contains INSTANCE
Constructor Detail

contains

protected contains()
Method Detail

invoke

public static boolean invoke(bsh.Interpreter env,
                             bsh.CallStack callStack,
                             int col,
                             int row,
                             java.lang.String text,
                             boolean caseInsensitive)
                      throws bsh.EvalError
Throws:
bsh.EvalError

invoke

public static boolean invoke(bsh.Interpreter env,
                             bsh.CallStack callStack,
                             java.awt.Point p,
                             int dx,
                             int dy,
                             java.lang.String text,
                             boolean caseInsensitive)
                      throws bsh.EvalError
Throws:
bsh.EvalError

invoke

public static boolean invoke(bsh.Interpreter env,
                             bsh.CallStack callStack,
                             java.awt.Point p,
                             java.lang.String text,
                             boolean caseInsensitive)
                      throws bsh.EvalError
Throws:
bsh.EvalError

cellContains

public boolean cellContains(bsh.Interpreter env,
                            bsh.CallStack callStack,
                            int col,
                            int row,
                            java.lang.String text,
                            boolean caseInsensitive)
                     throws bsh.EvalError
Throws:
bsh.EvalError

cellContains

public boolean cellContains(bsh.Interpreter env,
                            bsh.CallStack callStack,
                            int col,
                            int row,
                            java.lang.String text,
                            boolean caseInsensitive,
                            boolean testRaw,
                            boolean testEval,
                            boolean testFormatted)
                     throws bsh.EvalError
Throws:
bsh.EvalError
Since:
0.9.2

testText

public boolean testText(java.lang.Object obj,
                        java.lang.String text,
                        boolean toLower)