com.ibm.as400.ui.framework.java
Class JHShowICHelp

com.ibm.as400.ui.framework.java.JHShowICHelp

public class JHShowICHelp
implements java.awt.event.ActionListener


Field Summary
static java.lang.String LINK_BUTTON
           
static java.lang.String LINK_LABEL
           
 
Constructor Summary
JHShowICHelp()
          Create a secondaryviewer.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Displays the viewer according to the viewerType
 java.lang.String getTextColor()
          Returns the text Color of the activator text
 java.lang.String getTextFontFamily()
          Returns the text Font family name of the activator text
 java.lang.String getTextFontSize()
          Returns the text Font family name of the activator text
 java.lang.String getTextFontStyle()
          Returns the text Font style of the activator text
 java.lang.String getTextFontWeight()
          Returns the text Font weight of the activator text
 java.lang.String getTopic()
           
 java.lang.String getViewerActivator()
          Returns the viewer activator
 void setIconByID(java.lang.String name)
          Sets the icon in the activator by id.
 void setIconByName(java.lang.String name)
          Sets the icon in the activator by url or id.
 void setTextColor(java.lang.String name)
          Sets the text Color for the activator text.
 void setTextFontFamily(java.lang.String family)
          Sets the text Font family for the activator text.
 void setTextFontSize(java.lang.String size)
          Sets the text size for the activator text.
 void setTextFontStyle(java.lang.String style)
          Sets the text Font Style for the activator text.
 void setTextFontWeight(java.lang.String weight)
          Sets the text Font Weigth for the activator text.
 void setTopic(java.lang.String topic)
           
 void setViewData(javax.swing.text.View v)
          Sets data optained from the View
 void setViewerActivator(java.lang.String activator)
          Sets the viewer activator.
 

Field Detail

LINK_BUTTON

public static java.lang.String LINK_BUTTON

LINK_LABEL

public static java.lang.String LINK_LABEL
Constructor Detail

JHShowICHelp

public JHShowICHelp()
Create a secondaryviewer. By default the viewer creates a button with the text of ">"
Method Detail

setViewData

public void setViewData(javax.swing.text.View v)
Sets data optained from the View

setTopic

public void setTopic(java.lang.String topic)

getTopic

public java.lang.String getTopic()

setViewerActivator

public void setViewerActivator(java.lang.String activator)
Sets the viewer activator. Valid activators are The new activatory type will be used the next time a view is displayed.

getViewerActivator

public java.lang.String getViewerActivator()
Returns the viewer activator

setIconByName

public void setIconByName(java.lang.String name)
Sets the icon in the activator by url or id. The url is relative to the base address of the document.
See Also:
getIcon

setIconByID

public void setIconByID(java.lang.String name)
Sets the icon in the activator by id.
See Also:
getIcon

setTextFontFamily

public void setTextFontFamily(java.lang.String family)
Sets the text Font family for the activator text. For JDK 1.1 this must a family name of Dialog, DialogInput, Monospaced, Serif, SansSerif, or Symbol.

getTextFontFamily

public java.lang.String getTextFontFamily()
Returns the text Font family name of the activator text

setTextFontSize

public void setTextFontSize(java.lang.String size)
Sets the text size for the activator text. The String size is a valid Cascading Style Sheet value for text size. Acceptable values are as follows:

getTextFontSize

public java.lang.String getTextFontSize()
Returns the text Font family name of the activator text

setTextFontWeight

public void setTextFontWeight(java.lang.String weight)
Sets the text Font Weigth for the activator text. Valid weights are

getTextFontWeight

public java.lang.String getTextFontWeight()
Returns the text Font weight of the activator text

setTextFontStyle

public void setTextFontStyle(java.lang.String style)
Sets the text Font Style for the activator text. Valid font styles are

getTextFontStyle

public java.lang.String getTextFontStyle()
Returns the text Font style of the activator text

setTextColor

public void setTextColor(java.lang.String name)
Sets the text Color for the activator text. The following is a list of supported Color names

getTextColor

public java.lang.String getTextColor()
Returns the text Color of the activator text

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Displays the viewer according to the viewerType
Specified by:
actionPerformed in interface java.awt.event.ActionListener