wt.templateutil.processor
Class WCVisualizationRenderer
java.lang.Object
wt.templateutil.processor.VisualizationRendererIfc
wt.templateutil.processor.WCVisualizationRenderer
- public class WCVisualizationRenderer
- extends VisualizationRendererIfc
Method Summary |
String |
displayThumbnail(Object obj,
VisualizationHelperIfc visHelper,
String thumbnailURL,
HTTPState state,
Locale locale)
Returns HTML for displaying a thumbnail of a Representable or Viewable. |
void |
displayThumbnail(Object obj,
VisualizationHelperIfc visHelper,
String thumbnailURL,
HTTPState state,
Locale locale,
OutputStream os)
Displays a thumbnail image, Publish action icon, or Launch ProductView action icon
in a table row. |
String |
displayVisualizationButton(String buttonURL,
String width,
String cellAlignment,
HTTPState state,
Locale locale)
Returns HTML in string form for displaying one visualization action button. |
void |
displayVisualizationButton(String buttonURL,
String width,
String cellAlignment,
HTTPState state,
Locale locale,
OutputStream os)
Displays a Windchill-style button-like table cell with an icon and link for a visualization action. |
static WCVisualizationRenderer |
newWCVisualizationRenderer()
Default factory for the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WCVisualizationRenderer
public WCVisualizationRenderer()
newWCVisualizationRenderer
public static WCVisualizationRenderer newWCVisualizationRenderer()
- Default factory for the class.
Supported API: false
- Returns:
- WCVisualizationRenderer
displayThumbnail
public String displayThumbnail(Object obj,
VisualizationHelperIfc visHelper,
String thumbnailURL,
HTTPState state,
Locale locale)
- Returns HTML for displaying a thumbnail of a Representable or Viewable.
HTML starts and ends with a TABLE tag.
Supported API: false
- Specified by:
displayThumbnail
in class VisualizationRendererIfc
displayThumbnail
public void displayThumbnail(Object obj,
VisualizationHelperIfc visHelper,
String thumbnailURL,
HTTPState state,
Locale locale,
OutputStream os)
- Displays a thumbnail image, Publish action icon, or Launch ProductView action icon
in a table row. Used in the ObjectIdentificationVerbose html page for Representables
and Viewables.
Supported API: false
- Specified by:
displayThumbnail
in class VisualizationRendererIfc
displayVisualizationButton
public String displayVisualizationButton(String buttonURL,
String width,
String cellAlignment,
HTTPState state,
Locale locale)
- Returns HTML in string form for displaying one visualization action button.
HTML starts and ends with a TD tag. The HTML produced is the same as the HTML
generated by the other displayVisualizationButton method that takes an OutputStream
as input.
Supported API: false
- Specified by:
displayVisualizationButton
in class VisualizationRendererIfc
displayVisualizationButton
public void displayVisualizationButton(String buttonURL,
String width,
String cellAlignment,
HTTPState state,
Locale locale,
OutputStream os)
- Displays a Windchill-style button-like table cell with an icon and link for a visualization action.
Used in the ObjectIdentificationVerbose html page for Representables and Viewables.
Supported API: false
- Specified by:
displayVisualizationButton
in class VisualizationRendererIfc