org.extex.typesetter.type.node
Interface Extension


public interface Extension

This interface describes the capabilities for an extension object to be inserted into an extension node.

Version:
$Revision: 4739 $
Author:
Gerd Neugebauer

Method Summary
 Dimen getDepth()
          Getter for the depth of the node.
 Dimen getHeight()
          Getter for the height of the node.
 Dimen getWidth()
          Getter for the width of the node.
 void setDepth(FixedDimen depth)
          Setter for the depth of the node.
 void setHeight(FixedDimen height)
          Setter for the height of the node.
 void setWidth(FixedDimen width)
          Setter for the width of the node.
 void toString(java.lang.StringBuffer sb, java.lang.String prefix)
          This method puts the printable representation into the string buffer.
 void toText(java.lang.StringBuffer sb, java.lang.String prefix)
          This method puts the printable representation into the string buffer.
 

Method Detail

getWidth

Dimen getWidth()
Getter for the width of the node.

Returns:
the width

getHeight

Dimen getHeight()
Getter for the height of the node.

Returns:
the height

getDepth

Dimen getDepth()
Getter for the depth of the node.

Returns:
the depth

setWidth

void setWidth(FixedDimen width)
Setter for the width of the node.

Parameters:
width - the new width

setHeight

void setHeight(FixedDimen height)
Setter for the height of the node.

Parameters:
height - the new height

setDepth

void setDepth(FixedDimen depth)
Setter for the depth of the node.

Parameters:
depth - the nde depth

toText

void toText(java.lang.StringBuffer sb,
            java.lang.String prefix)
This method puts the printable representation into the string buffer. This is meant to produce a short form only as it is used in error messages to the user.

Parameters:
sb - the output string buffer
prefix - the prefix string inserted at the beginning of each line

toString

void toString(java.lang.StringBuffer sb,
              java.lang.String prefix)
This method puts the printable representation into the string buffer. This is meant to produce a exhaustive form as it is used in tracing output to the log file.

Parameters:
sb - the output string buffer
prefix - the prefix string inserted at the beginning of each line