Open SiteSearch 4.1.1
Final

ORG.oclc.gadgets
Class ToolbarAnchor

java.lang.Object
  |
  +--ORG.oclc.gadgets.ToolbarAnchor

public class ToolbarAnchor
extends Object
implements GadgetBuilder

The ToolbarAnchor class is a gadget that builds the HTML for the toolbar given a list of anchor names found in the [anchors] section of the StyleTable. For efficiency purposes, the gadget caches the string the first time it is built.

The parameters this gadget recognizes are:

anchor*
The name of the variable in the [anchors] section of the StyleTable that identifies the anchor to insert into the toolbar. The * indicates an ordered list (anchor1 - anchorn).
font
The font to pre-pend before the anchor. If the word none is provided, no font is used. If the parameter is ommitted, the StyleTable entry &StyleTable.fonts.toolbartext; is used.


Constructor Summary
ToolbarAnchor()
          Constructs an ToolbarAnchor object.
 
Method Summary
 String buildit(RequestManager rMngr, String name)
          Generates a String containing the HTML table for the toolbar anchors using the parameters containined in the RequestManager object and the name of the gadget.
 String toString()
          Generates a String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolbarAnchor

public ToolbarAnchor()
Constructs an ToolbarAnchor object.
Method Detail

buildit

public String buildit(RequestManager rMngr,
                      String name)
Generates a String containing the HTML table for the toolbar anchors using the parameters containined in the RequestManager object and the name of the gadget.
Specified by:
buildit in interface GadgetBuilder
Parameters:
rMngr - object containing input parameters for the request.
name - the name of the gadget - the section name in the configuration file defining the particular gadget.
Returns:
String

toString

public String toString()
Generates a String representation of the object.
Specified by:
toString in interface GadgetBuilder
Returns:
String
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final