|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.wvs.common.ui.VisualizationHelper
public class VisualizationHelper
The VisualizationHelper class provides abstract access to class methods in the com.ptc.wvs
package from external packages such as wt and provides visualization helper methods.
Supported API: true
| Field Summary | |
|---|---|
static String |
DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE
Thumbnail preference default value to use in getIndexOfVisLink Supported API: true |
static String |
THUMBNAILS_PROP_PAGE_PREF_KEY
Thumbnail preference key to use in getIndexOfVisLink Supported API: true |
| Method Summary | |
|---|---|
int |
clipboardLinkIndex()
Returns the index of the Add to Clipboard link in the data array returned by getDefaultVisualizationData Supported API: true |
String |
getCreateDialogWindow()
Returns the JavaScript to create a Dialog Window. |
String[] |
getDefaultVisualizationData(String representableObjectReference,
Boolean forListing,
Locale locale)
Returns a set of HTML fragments to display thumbnails and other visualization action links Supported API: true |
int |
getIndexOfVisLink(String prefKey,
String prefDefault)
Returns the index in the data array returned by getDefaultVisualizationData of the HTML fragment to use for launching PV. |
int[] |
getThumbnailSize()
Returns the thumbnail width and height Supported API: true |
boolean |
isDisplayPartViewEnabled()
Returns true if the WVS property partstructureview is true. |
boolean |
isVisualNavigationInstalled()
Returns true if visual nagigation is installed Supported API: true |
boolean |
isWVSEnabled()
Returns true if visualization services are enabled Supported API: true |
int |
printLinkIndex()
Returns the index of the Print link in the data array returned by getDefaultVisualizationData Supported API: true |
int |
productViewLinkIndex()
Returns the index of the Launch ProductView link in the data array returned by getDefaultVisualizationData Supported API: true |
int |
thumbnailLinkIndex()
Returns the index of the thumbnail, Publish Me, or Launch ProductView link in the data array returned by getDefaultVisualizationData. |
int |
viewRepsLinkIndex()
Returns the index of the view representations link in the data array returned by getDefaultVisualizationData Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String THUMBNAILS_PROP_PAGE_PREF_KEY
public static final String DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE
| Method Detail |
|---|
public boolean isWVSEnabled()
public boolean isVisualNavigationInstalled()
public boolean isDisplayPartViewEnabled()
public int[] getThumbnailSize()
public String getCreateDialogWindow()
public String[] getDefaultVisualizationData(String representableObjectReference,
Boolean forListing,
Locale locale)
representableObjectReference - The object reference of the representableforListing - Specifies if the resulting HTML is to be used in a listinglocale - Specifies the locale to use for tooltip display
public int productViewLinkIndex()
public int thumbnailLinkIndex()
public int clipboardLinkIndex()
public int printLinkIndex()
public int viewRepsLinkIndex()
public int getIndexOfVisLink(String prefKey,
String prefDefault)
prefKey - The key for the user preference to display thumbnails
use THUMBNAILS_PROP_PAGE_PREF_KEY for the property page
preference keyprefDefault - The default value for the key, use
DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE for the default property page value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||