Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.dss.util
Interface FormattedText


public interface FormattedText
For internal use only. Application developers should not use this
FormattedText has methods to get HTML text and print HTML text. FormattedText interface is used in oracle.dss.worksheet.Worksheet interface. This interface is implemented by oracle.dss.formattedTextArea.FormattedTextArea and oracle.dss.formattedTextArea.ThinFormattedTextArea. HTML-client implementations are not expected to meaningfully implement either getRequiredHeight() or Print(), which are useful only in Java-client implementations.

Method Summary
 java.lang.String getHTMLText()
          Retrieves the unparsed HTML text for this component.
 java.lang.String getParsedHTMLText()
          In parsed html text, the tokens are replaced by appropriate text.
 int getRequiredHeight(int availableWidth)
          Retrieves the required height to print the FormattedTextArea given the available width on the paper.
 void print(java.awt.Dimension availableDimension, java.awt.Graphics g)
          Print the FormattedTextArea in the given dimension

 

Method Detail

getParsedHTMLText

java.lang.String getParsedHTMLText()
In parsed html text, the tokens are replaced by appropriate text. The String that this method returns includes HTML tags.

getHTMLText

java.lang.String getHTMLText()
Retrieves the unparsed HTML text for this component. Unparsed text is text with token names, rather than the substitutions for the tokens.
Returns:
the unparsed text for this text component.

getRequiredHeight

int getRequiredHeight(int availableWidth)
Retrieves the required height to print the FormattedTextArea given the available width on the paper.

print

void print(java.awt.Dimension availableDimension,
           java.awt.Graphics g)
Print the FormattedTextArea in the given dimension

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


Copyright © 1997, 2012, Oracle. All rights reserved.