|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlconstructs.ConstructFactory
public class ConstructFactory
Method Summary | |
---|---|
static PTConstruct |
GetConstruct(PTConstructType type)
Call this method to obtain a PTConstruct. |
static PTConstruct |
GetConstruct(PTConstructType type,
boolean bUpdateStrings)
Call this method to obtain a PTConstruct. |
static void |
SetAltOnButtonImages(PTConstruct construct,
java.lang.String sAlt)
Call this method to set the alt attribute values on the images included within a construct that is one of PTButtonType constructs. |
static void |
SetTitleOnButtonImages(PTConstruct construct,
java.lang.String sTitle)
Call this method to set the title attribute values on the images included within a construct that is one of PTButtonType constructs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PTConstruct GetConstruct(PTConstructType type)
type
- Pass the type of construct you wish to obtain. Construct
types are available as static members of the various
PTConstructType classes.
public static PTConstruct GetConstruct(PTConstructType type, boolean bUpdateStrings)
type
- Pass the type of construct you wish to obtain. Construct
types are available as static members of the various
PTConstructType classes. bUpdateStrings
- Pass a boolean value indicating whether or not you
wish for the strings of this banner to be updated automatically.
If you pass true, all appropriate strings will be replaced with
localized versions. If you pass false, all strings will be left
with they prototypical values. You can update the strings
yourself, using the string dictionary returned by the
PTBannerType.GetStringDictionary method.
public static void SetAltOnButtonImages(PTConstruct construct, java.lang.String sAlt)
construct
- Pass a construct obtained with a PTButtonTypesAlt
- Pass a String alt attribute valuepublic static void SetTitleOnButtonImages(PTConstruct construct, java.lang.String sTitle)
construct
- Pass a construct obtained with a PTButtonTypesTitle
- Pass a String alt attribute value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |