Navigation: Customisation > popup.properties > Popup windows |
![]() ![]() ![]() |
These properties are used by object.properties an popup.properties files. In the object.properties files they only apply to objects that use the __SECONDARY_VIEWER__ tag.
property |
value |
objectClassid |
This defines the class for the viewer. For popups should be left at its default setting of the java secondary viewer. E.g. for secondary viewers used for objects, this must be set to the fully qualified name of the custom class such as objectClassid=java\:uk.henspace.hm2jhelp.viewers.HelpJMFViewer |
viewerActivator |
This defines the activator for the popup. You can set this to either javax.help.LinkLabel or javax.help.LinkButton.
Note that for normal popups, the label for the link is taken from the Help and Manual link. For objects, it is taken from the text following the __SECONDARY_VIEWER__ text in the objects.properties file. For example, if the object property in the object.properties file was set to:
CLSID\:x-x-x-x-x=__SECONDARY_VIEWER__Windows Media Player\: __SOURCE__
Then the resulting link would be as shown below. (Two examples are shown for a LinkButton and LinkLabel) |
viewerStyle |
This should be set to javax.help.Popup. JavaHelp also allows the use of javax.help.SecondaryWindow but it is recommended to stay with the popup option. |
viewerSize |
This can be used to alter the size of the popup window. To define the size, enter the width and height in pixels, separated by a comma. e.g. |
viewerName |
This allows reuse of already opened windows but is ignored by popups. Do not change this from the default setting of secondary window. |
textFontFamily |
Use this to define the font family; if you omit this property, the attribute will be omitted from the resulting code and JavaHelp will use its default value. Acceptable values are: Serif, SansSerif, Monospaced, Dialog, DialogInput and Symbol |
textFontSize |
Use this to define the font size; if you omit this property, the attribute will be omitted from the resulting code and JavaHelp will use its default value. Acceptable values are: xx-small, x-small, small, medium, large, x-large, xx-large, bigger and smaller (Bigger and smaller adjust the current base font size by 1). You can also use nnpt to set the font size to a specific point value of nn. +/-nn increases/decreases the current base font size by a value of n. |
textFontWeight |
This setting adjusts the font weight for the popup; if you omit this property, the attribute will be omitted from the resulting code and JavaHelp will use its default value. Acceptable values are plain or bold. |
textFontStyle |
This setting adjusts the font weight for the popup; if you omit this property, the attribute will be omitted from the resulting code and JavaHelp will use its default value. Acceptable values are plain or italic. |
textColor |
This setting adjusts the font colour for the popup; if you omit this property, the attribute will be omitted from the resulting code and JavaHelp will use its default value. Acceptable values are black, blue, cyan, darkGray, gray, green, lightGray, magenta or orange. |