wt.clients.beans.query
Class WT

java.lang.Object
  extended bywt.clients.beans.query.WT

public class WT
extends Object


Field Summary
static Color ArmyGreen
           
static Color Beige
           
static Color BG
           
static Color Black
           
static Color CanvasBG
           
static Color CanvasFG
           
private static WTContext context
           
static Color Cream
           
static Color FG
           
static Color Gray
           
private static IconCache iconCache
           
private static boolean iconCacheInitialized
           
static Color Lavender
           
static Color LightArmyGreen
           
static Color LightBeige
           
static Color LightBlue
           
static Color LightTaupe
           
private static ResourceBundle messagesResource
          The ResourceBundle containing localized error messages for this WTQuery
static Color Mustard
           
private static Applet myApplet
           
private static Color myBG
           
private static Color myFG
           
private static Font myNF
           
private static Font mySF
           
private static Color mySL
           
private static Font myTF
           
private static WT myWT
           
static Color NavyBlue
           
private static Frame parentFrame
           
static Color Peach
           
static Color Purple
           
private static String RESOURCE
          Defined constant used for referencing the ResourceBundle class for this WTContentHolder
static Color SkyBlue
           
static Color SteelBlue
           
static Color Taupe
           
private static String versionID
           
static Color White
           
 
Constructor Summary
WT()
           
 
Method Summary
static String formatDate(Timestamp time)
           
private static Applet getApplet()
           
static Color getBGColor()
           
protected static WTContext getContext()
           
static Color getFGColor()
           
private static IconCache getIconCache(Component a_component)
           
protected static ResourceBundle getMessagesResource()
           
static Font getNormalFont()
           
static Frame getParentFrame(Component a_comp)
          Returns the parent Frame to this Panel.
static Font getSelectedFont()
           
static Color getSLColor()
           
static Image getStandardIcon(Component a_component, Class a_class)
          Get the standard icon for a particular class.
static Image getStandardIcon(Component a_component, WTObject an_object)
          Get the current icon for a particular object.
static Font getTitleFont()
           
static void Initialize(Applet aApplet)
           
protected static ResourceBundle initializeResources(Component a_comp)
          getMessagesResource gets the ResourceBundle used for providing localized error-messages and feedback.
static boolean isA(Class aChild, Class aParent)
           
static boolean isA(Object aObj, Class aClass)
           
static boolean isA(Object aObj, String aClassName)
           
static Image loadImage(Component a_component, String aName)
           
static Image loadImage(String aName)
           
static void setBGColor(Color aColor)
           
static void setFGColor(Color aColor)
           
static void setNormalFont(Font aFont)
           
static void setSelectedFont(Font aFont)
           
static void setSLColor(Color aColor)
           
static void setTitleFont(Font aFont)
           
static void showMessageDialog(Component a_comp, boolean modal, String message)
           
 
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

myWT

private static WT myWT

myApplet

private static Applet myApplet

iconCache

private static IconCache iconCache

iconCacheInitialized

private static boolean iconCacheInitialized

parentFrame

private static Frame parentFrame

context

private static WTContext context

messagesResource

private static ResourceBundle messagesResource
The ResourceBundle containing localized error messages for this WTQuery


RESOURCE

private static final String RESOURCE
Defined constant used for referencing the ResourceBundle class for this WTContentHolder

See Also:
Constant Field Values

ArmyGreen

public static Color ArmyGreen

Beige

public static Color Beige

Black

public static Color Black

Cream

public static Color Cream

Gray

public static Color Gray

Lavender

public static Color Lavender

LightArmyGreen

public static Color LightArmyGreen

LightBeige

public static Color LightBeige

LightBlue

public static Color LightBlue

LightTaupe

public static Color LightTaupe

Mustard

public static Color Mustard

NavyBlue

public static Color NavyBlue

Peach

public static Color Peach

Purple

public static Color Purple

SkyBlue

public static Color SkyBlue

SteelBlue

public static Color SteelBlue

Taupe

public static Color Taupe

White

public static Color White

FG

public static Color FG

BG

public static Color BG

CanvasFG

public static Color CanvasFG

CanvasBG

public static Color CanvasBG

myBG

private static Color myBG

myFG

private static Color myFG

mySL

private static Color mySL

myNF

private static Font myNF

mySF

private static Font mySF

myTF

private static Font myTF
Constructor Detail

WT

public WT()
Method Detail

getApplet

private static Applet getApplet()

Initialize

public static void Initialize(Applet aApplet)

setBGColor

public static void setBGColor(Color aColor)

getBGColor

public static Color getBGColor()

setFGColor

public static void setFGColor(Color aColor)

getFGColor

public static Color getFGColor()

setSLColor

public static void setSLColor(Color aColor)

getSLColor

public static Color getSLColor()

setNormalFont

public static void setNormalFont(Font aFont)

getNormalFont

public static Font getNormalFont()

setSelectedFont

public static void setSelectedFont(Font aFont)

getSelectedFont

public static Font getSelectedFont()

setTitleFont

public static void setTitleFont(Font aFont)

getTitleFont

public static Font getTitleFont()

isA

public static boolean isA(Object aObj,
                          String aClassName)

isA

public static boolean isA(Object aObj,
                          Class aClass)

isA

public static boolean isA(Class aChild,
                          Class aParent)

formatDate

public static String formatDate(Timestamp time)

getContext

protected static WTContext getContext()

getMessagesResource

protected static ResourceBundle getMessagesResource()

initializeResources

protected static ResourceBundle initializeResources(Component a_comp)
getMessagesResource gets the ResourceBundle used for providing localized error-messages and feedback.

See Also:
ResourceBundle

showMessageDialog

public static void showMessageDialog(Component a_comp,
                                     boolean modal,
                                     String message)

getParentFrame

public static Frame getParentFrame(Component a_comp)
Returns the parent Frame to this Panel.


getIconCache

private static IconCache getIconCache(Component a_component)

getStandardIcon

public static Image getStandardIcon(Component a_component,
                                    Class a_class)
Get the standard icon for a particular class.

Parameters:
a_component - the component that contains the icon cache
a_class - the Class of the icon to obtain
Returns:
the Image that represents the class

getStandardIcon

public static Image getStandardIcon(Component a_component,
                                    WTObject an_object)
Get the current icon for a particular object.

Parameters:
a_component - the component that contains the icon cache
an_object - the object the icon describes
Returns:
the image that represents the object

loadImage

public static Image loadImage(String aName)

loadImage

public static Image loadImage(Component a_component,
                              String aName)