wt.clients.workflow.definer
Class Util

java.lang.Object
  extended bywt.clients.workflow.definer.Util

public final class Util
extends Object


Field Summary
(package private) static String HELP_RESOURCE
           
(package private) static HelpSystem helpSystem
           
private static String[] primitives
           
(package private) static String RESOURCE
           
private static String versionID
           
 
Constructor Summary
Util()
           
 
Method Summary
static void displayException(Component component, Throwable exception)
           
static void displayException(Throwable exception)
           
static Externalizable duplicate(Externalizable object, boolean make_non_persistent)
           
static WTContainerRef getContext()
           
static WTUser getCurrentUser()
           
static String getLabel(ClassInfo class_info, String property)
           
static String getLabel(Class clas, String property)
           
static int getLowerLimit(WTObject object, String property)
           
static Frame getParentFrame(Component component)
           
static Window getParentWindow(Component component)
           
static Point getStagger(Component component)
           
static int getUpperLimit(WTObject object, String property)
           
(package private) static boolean isPrimitive(String classname)
           
static Image mergeImages(Image main_image, Image glyph_image, Panel temp)
           
static void setLabel(Component component, ClassInfo class_info, String property)
           
static void showHelp(String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

RESOURCE

static final String RESOURCE
See Also:
Constant Field Values

HELP_RESOURCE

static final String HELP_RESOURCE
See Also:
Constant Field Values

primitives

private static final String[] primitives

helpSystem

static HelpSystem helpSystem
Constructor Detail

Util

public Util()
Method Detail

setLabel

public static void setLabel(Component component,
                            ClassInfo class_info,
                            String property)
                     throws WTIntrospectionException
Throws:
WTIntrospectionException

getLabel

public static String getLabel(ClassInfo class_info,
                              String property)
                       throws WTIntrospectionException
Throws:
WTIntrospectionException

getLabel

public static String getLabel(Class clas,
                              String property)
                       throws WTIntrospectionException
Throws:
WTIntrospectionException

getUpperLimit

public static int getUpperLimit(WTObject object,
                                String property)
                         throws WTIntrospectionException
Throws:
WTIntrospectionException

getLowerLimit

public static int getLowerLimit(WTObject object,
                                String property)
                         throws WTIntrospectionException
Throws:
WTIntrospectionException

displayException

public static void displayException(Throwable exception)

displayException

public static void displayException(Component component,
                                    Throwable exception)

getParentFrame

public static Frame getParentFrame(Component component)

getParentWindow

public static Window getParentWindow(Component component)

getStagger

public static Point getStagger(Component component)

isPrimitive

static boolean isPrimitive(String classname)

getCurrentUser

public static WTUser getCurrentUser()
                             throws WTException
Throws:
WTException

duplicate

public static Externalizable duplicate(Externalizable object,
                                       boolean make_non_persistent)
                                throws WTException
Throws:
WTException

showHelp

public static void showHelp(String tag)

mergeImages

public static Image mergeImages(Image main_image,
                                Image glyph_image,
                                Panel temp)
                         throws InterruptedException
Throws:
InterruptedException

getContext

public static WTContainerRef getContext()
                                 throws WTException
Throws:
WTException