wt.templateutil.processor
Class VisualizationRendererIfc

java.lang.Object
  extended bywt.templateutil.processor.VisualizationRendererIfc
Direct Known Subclasses:
PJLVisRenderer, WCVisualizationRenderer

public abstract class VisualizationRendererIfc
extends Object

The VisualizationRendererIfc class provides HTML rendering methods for thumbnail and visualization action buttons on object property pages.

Supported API: false


Field Summary
private static boolean VERBOSE
           
 
Constructor Summary
VisualizationRendererIfc()
           
 
Method Summary
 String displayCommonThumbnailButtonCmp(Object object, HTTPState state, Locale locale, OutputStream os)
          Returns HTML for displaying the common thumbnail plus buttons component for a Representable or Viewable.
abstract  String displayThumbnail(Object obj, VisualizationHelperIfc visHelper, String thumbnailURL, HTTPState state, Locale locale)
          Returns HTML in string form for displaying a thumbnail of a Representable or Viewable.
abstract  void displayThumbnail(Object obj, VisualizationHelperIfc visHelper, String thumbnailURL, HTTPState state, Locale locale, OutputStream os)
          Returns HTML for displaying a thumbnail of a Representable or Viewable.
abstract  String displayVisualizationButton(String buttonURL, String width, String cellAlignment, HTTPState state, Locale locale)
          Returns HTML in string form for displaying one visualization action button.
abstract  void displayVisualizationButton(String buttonURL, String width, String cellAlignment, HTTPState state, Locale locale, OutputStream os)
          Returns HTML for displaying one visualization action button.
private  void getVisualizationActions(Object contextObj, String[] visData, VisualizationHelperIfc visHelper, Vector actionIndices)
          Find the elements in the visualization data array appropriate to display for the context object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static final boolean VERBOSE
See Also:
Constant Field Values
Constructor Detail

VisualizationRendererIfc

public VisualizationRendererIfc()
Method Detail

displayVisualizationButton

public abstract void displayVisualizationButton(String buttonURL,
                                                String width,
                                                String cellAlignment,
                                                HTTPState state,
                                                Locale locale,
                                                OutputStream os)
Returns HTML for displaying one visualization action button. HTML starts and ends with a TD tag.

Supported API: false


displayVisualizationButton

public abstract 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.

Supported API: false


displayThumbnail

public abstract void displayThumbnail(Object obj,
                                      VisualizationHelperIfc visHelper,
                                      String thumbnailURL,
                                      HTTPState state,
                                      Locale locale,
                                      OutputStream os)
Returns HTML for displaying a thumbnail of a Representable or Viewable. HTML starts and ends with a TABLE tag.

Supported API: false


displayThumbnail

public abstract String displayThumbnail(Object obj,
                                        VisualizationHelperIfc visHelper,
                                        String thumbnailURL,
                                        HTTPState state,
                                        Locale locale)
Returns HTML in string form for displaying a thumbnail of a Representable or Viewable. HTML starts and ends with a TABLE tag.

Supported API: false


displayCommonThumbnailButtonCmp

public String displayCommonThumbnailButtonCmp(Object object,
                                              HTTPState state,
                                              Locale locale,
                                              OutputStream os)
                                       throws WTException
Returns HTML for displaying the common thumbnail plus buttons component for a Representable or Viewable. HTML starts and ends with a TABLE tag.

Supported API: false

Throws:
WTException

getVisualizationActions

private void getVisualizationActions(Object contextObj,
                                     String[] visData,
                                     VisualizationHelperIfc visHelper,
                                     Vector actionIndices)
Find the elements in the visualization data array appropriate to display for the context object.

Supported API: false