com.sun.java.help.impl
Class JHSecondaryViewer

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.AbstractButton
                  extended byjavax.swing.JButton
                      extended bycom.sun.java.help.impl.JHSecondaryViewer
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants, ViewAwareComponent

public class JHSecondaryViewer
extends javax.swing.JButton
implements java.awt.event.ActionListener, ViewAwareComponent

This class is a secondary viewer to be included in HTML content within JHContentViewer. The ViewerType can either be a SecondaryWindow or a Popup. Activation is done be either a Button or a mouse enabled Label. Both Button and Label support Text, Icon, or Text and Icon.

To use this class within HTML content use the <object> tag. Below is an example usage:

 <object CLASSID="java:com.sun.java.help.impl.JHSecondaryViewer">
 <param name="content" value="secondary_contents.html">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="viewerSize" value="300,400">
 <param name="text" value="Click here">
 <param name="textFontFamily" value="SansSerif">
 <param name="textFontSize" value="x-large">
 <param name="textFontWeight" value="plain">
 <param name="textFontStyle" value="italic">
 <param name="textColor" value="red">
 </object>
 

Valid parameters are: