wt.clients.widgets
Class IBAUtility

java.lang.Object
  extended bywt.clients.widgets.IBAUtility

public class IBAUtility
extends Object


Field Summary
private static WTContext context
           
static boolean iebrowser
           
static int MAX
           
 
Constructor Summary
IBAUtility()
           
 
Method Summary
static String chop(String msg)
           
static String chop(String msg, int max)
           
static Frame getParentFrame(Component comp)
           
static boolean isEquivalent(Object obj1, Object obj2)
          Comparing two user object if they are equivalent.
static void setAppletEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX

public static final int MAX
See Also:
Constant Field Values

context

private static WTContext context

iebrowser

public static boolean iebrowser
Constructor Detail

IBAUtility

public IBAUtility()
Method Detail

setAppletEnabled

public static void setAppletEnabled(boolean enabled)

getParentFrame

public static Frame getParentFrame(Component comp)

chop

public static String chop(String msg)

chop

public static String chop(String msg,
                          int max)

isEquivalent

public static boolean isEquivalent(Object obj1,
                                   Object obj2)
Comparing two user object if they are equivalent. If the user updates the object, the two object will not be the same; however, they should have the same objectID. Using the isPersistedObjectEqual method can check whether the two objects are actually the same object on the database.