|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.explorer.WT
Windchill Technologies Client Utility Class (WT)
This is a convenience class for providing static access for:
- Printing to Standard Out
- isA
- Is this class a sub-class of this
- getIcon & loadImage & getImageURL
- load an ImageIcon from the Images subdirectory or path
- get--Color & set--Color
- Manage the standard foreground, background and selected colors. Define symbolic names for various colors.
- get--Font & set--Font
- Manage the standard normal, title and selected fonts
- Printing to Standard Out
Field Summary | |
static Color |
ArmyGreen
Colors defined for convenience |
static Color |
Beige
|
static Color |
Black
|
static Color |
Cream
|
static Color |
Grey
|
static Color |
Lavender
|
static Color |
LightArmyGreen
|
static Color |
LightBeige
|
static Color |
LightBlue
|
static Color |
Mustard
|
private static Applet |
myApplet
|
private static Color |
myBG
|
private static WTContext |
myContext
|
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
|
static Color |
Peach
|
static Color |
Purple
|
static Color |
SkyBlue
|
static Color |
SteelBlue
|
static Color |
Taupe
|
static Color |
White
|
static Color |
WindchillBG
|
static Color |
WindchillFG
|
Constructor Summary | |
WT()
Constructs a WT object |
Method Summary | |
static Applet |
getApplet()
Gets the applet for the class |
static Color |
getBGColor()
Gets the default background color to use |
static WTContext |
getContext()
Gets the WTContext for the class |
static Color |
getFGColor()
Gets the default foreground color to use |
static Image |
getIcon(String aName)
Gets a Image for the specified .gif file. |
static URL |
getImageURL(String aName)
Gets a URL for the specified .gif file. |
static Font |
getNormalFont()
Gets the default normal font to use |
static Font |
getSelectedFont()
Gets the default selected font to use |
static Color |
getSLColor()
Gets the default selected color to use |
static Font |
getTitleFont()
Gets the default title font to use |
static void |
Initialize(Applet aApplet)
Initializes the class with the specified applet |
static boolean |
isA(Object aObj,
String aClassName)
Tests an object to see if it is a specified class. |
static Image |
loadImage(String aName)
Gets a Image for the specified .gif file. |
static void |
print(String aValue)
Prints a string to system console |
static void |
print(String aPad,
String aValue)
Prints a string to system console with the specified padding |
static void |
setApplet(Applet aApplet)
Sets the applet for the class |
static void |
setBGColor(Color aColor)
Sets the default background color |
static void |
setContext(WTContext context)
Sets the WTContext for the class |
static void |
setFGColor(Color aColor)
Sets the default foreground color |
static void |
setNormalFont(Font aFont)
Sets the default normal font to use |
static void |
setSelectedFont(Font aFont)
Sets the default selected font to use |
static void |
setSLColor(Color aColor)
Sets the default selected color to use |
static void |
setTitleFont(Font aFont)
Sets the default title font to use |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static WT myWT
private static Applet myApplet
private static WTContext myContext
public static Color ArmyGreen
public static Color Beige
public static Color Black
public static Color Cream
public static Color Grey
public static Color Lavender
public static Color LightArmyGreen
public static Color LightBeige
public static Color LightBlue
public static Color Mustard
public static Color NavyBlue
public static Color Peach
public static Color Purple
public static Color SkyBlue
public static Color SteelBlue
public static Color Taupe
public static Color White
public static Color WindchillBG
public static Color WindchillFG
private static Color myBG
private static Color myFG
private static Color mySL
private static Font myNF
private static Font mySF
private static Font myTF
Constructor Detail |
public WT()
Method Detail |
public static void Initialize(Applet aApplet)
aApplet
- the applet to initialize the class withpublic static void setApplet(Applet aApplet)
aApplet
- the applet to initialize the class withpublic static Applet getApplet()
public static void setContext(WTContext context)
context
- the WTContextpublic static WTContext getContext()
public static void setBGColor(Color aColor)
aColor
- the new default background colorpublic static Color getBGColor()
public static void setFGColor(Color aColor)
aColor
- the new default foreground colorpublic static Color getFGColor()
public static void setSLColor(Color aColor)
public static Color getSLColor()
public static void setNormalFont(Font aFont)
aFont
- the default normal fontpublic static Font getNormalFont()
public static void setSelectedFont(Font aFont)
aFont
- the selected title fontpublic static Font getSelectedFont()
public static void setTitleFont(Font aFont)
aFont
- the default title fontpublic static Font getTitleFont()
public static boolean isA(Object aObj, String aClassName)
aObj
- the object to testaClassName
- the name of the class to test with
public static Image getIcon(String aName)
aName
- the name of the gifpublic static Image loadImage(String aName)
aName
- the name of the gifpublic static URL getImageURL(String aName)
aName
- the name of the gifpublic static void print(String aValue)
aValue
- the string to printpublic static void print(String aPad, String aValue)
aValue
- the string to printaPad
- the padding
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |