| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.wml.WmlText
WmlText | public class WmlText extends HtmlComponent (Code) | | This type can be used to add text to your page.
|
Method Summary | |
public void | doBinding() Does the binding for the component. | public void | generateHTML(java.io.PrintWriter p, int rowNo) | public void | generateHTML(java.io.PrintWriter p, int rowStart, int rowEnd) | public boolean | getBig() Use this method to find out if the that the text will be big. | public boolean | getBold() Use this method to find out if the that the text will be bold. | public DataStoreEvaluator | getExpressionEvaluator() This method returns the DataStore Evaluator used to parse and evaluate the expression set in the setExpression method. | public boolean | getFixSpecialWmlCharacters() Returns whether special html characters (<,>,&,; etc..) should be converted to Html Escape Sequences before being generated. | public boolean | getItalic() Use this method to find out if the that the text will be italic. | public boolean | getSmall() Use this method to find out if the that the text will be small. | public boolean | getStrong() Use this method to find out if the that the text will be strong. | public String | getText() This method returns the text in the component. | public String | getText(int rowNo) This method returns the text in the component. | public boolean | getUnderline() Use this method to find out if the that the text will be underline. | public boolean | processParms(java.util.Hashtable h, int row) | public void | setBig(boolean big) Use this method to indicate that the text should be big. | public void | setBold(boolean bold) Use this method to indicate that the text should be bold. | public void | setExpression(DataStoreBuffer ds, DataStoreExpression expression) | public void | setExpression(DataStoreBuffer ds, DataStoreExpression expression, int aggregateType) Use this method to bind this component to an expression in a DataStoreBuffer. | public void | setExpression(DataStoreBuffer ds, DataStoreExpression expression, int aggregateType, String format) Use this method to bind this component to an expression in a DataStoreBuffer. | public void | setExpression(DataStoreBuffer ds, DataStoreExpression expression, String format) Use this method to bind this component to an expression in a DataStoreBuffer. | public void | setExpression(DataStoreBuffer ds, String expression) | public void | setExpression(DataStoreBuffer ds, String expression, int aggregateType) Use this method to bind this component to an expression in a DataStoreBuffer. | public void | setExpression(DataStoreBuffer ds, String expression, int aggregateType, String format) Use this method to bind this component to an expression in a DataStoreBuffer. | public void | setExpression(DataStoreBuffer ds, String expression, String format) Use this method to bind this component to an expression in a DataStoreBuffer. | public void | setFixSpecialWmlCharacters(boolean fix) Specify whether special wml characters (<,>,&,; etc..) should be converted to Html Escape Sequences before being generated. | public void | setItalic(boolean italic) Use this method to indicate that the text should be italic. | public void | setSmall(boolean small) Use this method to indicate that the text should be small. | public void | setStrong(boolean strong) Use this method to indicate that the text should be strong. | public void | setText(String text) This method sets the text that the componnt will generate. | public void | setUnderline(boolean underline) Use this method to indicate that the text should be underline. |
AGGREGATE_AVERAGE | final public static int AGGREGATE_AVERAGE(Code) | | |
AGGREGATE_COUNT | final public static int AGGREGATE_COUNT(Code) | | |
AGGREGATE_SUM | final public static int AGGREGATE_SUM(Code) | | |
_bold | public boolean _bold(Code) | | |
_italic | public boolean _italic(Code) | | |
_small | public boolean _small(Code) | | |
_strong | public boolean _strong(Code) | | |
_underline | public boolean _underline(Code) | | |
WmlText | public WmlText(String text, HtmlPage p)(Code) | | Constructs an wml text object for the page.
Parameters: text - The text to place in the page. Parameters: p - The page to put the text in. |
WmlText | public WmlText(String name, String text, HtmlPage p)(Code) | | Constructs an wml text object for the page.
Parameters: text - The text to place in the page. Parameters: p - The page to put the text in. |
doBinding | public void doBinding() throws Exception(Code) | | Does the binding for the component. This method is called by the framework and should not be called directly
|
getBig | public boolean getBig()(Code) | | Use this method to find out if the that the text will be big.
|
getBold | public boolean getBold()(Code) | | Use this method to find out if the that the text will be bold.
|
getExpressionEvaluator | public DataStoreEvaluator getExpressionEvaluator()(Code) | | This method returns the DataStore Evaluator used to parse and evaluate the expression set in the setExpression method.
|
getFixSpecialWmlCharacters | public boolean getFixSpecialWmlCharacters()(Code) | | Returns whether special html characters (<,>,&,; etc..) should be converted to Html Escape Sequences before being generated.
|
getItalic | public boolean getItalic()(Code) | | Use this method to find out if the that the text will be italic.
|
getSmall | public boolean getSmall()(Code) | | Use this method to find out if the that the text will be small.
|
getStrong | public boolean getStrong()(Code) | | Use this method to find out if the that the text will be strong.
|
getText | public String getText()(Code) | | This method returns the text in the component.
|
getText | public String getText(int rowNo)(Code) | | This method returns the text in the component.
|
getUnderline | public boolean getUnderline()(Code) | | Use this method to find out if the that the text will be underline.
|
setBig | public void setBig(boolean big)(Code) | | Use this method to indicate that the text should be big.
|
setBold | public void setBold(boolean bold)(Code) | | Use this method to indicate that the text should be bold.
|
setExpression | public void setExpression(DataStoreBuffer ds, DataStoreExpression expression, int aggregateType) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStoreBuffer. The expression will be evaluated for all rows in the datastore.
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. Parameters: aggregateType - valid values are AGGREGATE_SUM and AGGREGATE_COUNT See Also: DataStoreEvaluator |
setExpression | public void setExpression(DataStoreBuffer ds, DataStoreExpression expression, int aggregateType, String format) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStoreBuffer. The expression will be evaluated for all rows in the datastore.
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. Parameters: aggregateType - valid values are AGGREGATE_SUM and AGGREGATE_COUNT Parameters: format - The patter to use to format the result See Also: DataStore.setFormat See Also: DataStoreEvaluator |
setExpression | public void setExpression(DataStoreBuffer ds, DataStoreExpression expression, String format) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStoreBuffer. The resulting expression wil be formatted according to the pattern specified.
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. Parameters: format - The patter to use to format the result See Also: DataStore.setFormat See Also: DataStoreEvaluator |
setExpression | public void setExpression(DataStoreBuffer ds, String expression) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStore
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. See Also: DataStoreEvaluator |
setExpression | public void setExpression(DataStoreBuffer ds, String expression, int aggregateType) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStoreBuffer. The expression will be evaluated for all rows in the datastore.
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. Parameters: aggregateType - valid values are AGGREGATE_SUM and AGGREGATE_COUNT See Also: DataStoreEvaluator |
setExpression | public void setExpression(DataStoreBuffer ds, String expression, int aggregateType, String format) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStoreBuffer. The expression will be evaluated for all rows in the datastore.
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. Parameters: aggregateType - valid values are AGGREGATE_SUM and AGGREGATE_COUNT Parameters: format - The patter to use to format the result See Also: DataStore.setFormat See Also: DataStoreEvaluator |
setExpression | public void setExpression(DataStoreBuffer ds, String expression, String format) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStoreBuffer. The resulting expression wil be formatted according to the pattern specified.
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. Parameters: format - The patter to use to format the result See Also: DataStore.setFormat See Also: DataStoreEvaluator |
setFixSpecialWmlCharacters | public void setFixSpecialWmlCharacters(boolean fix)(Code) | | Specify whether special wml characters (<,>,&,; etc..) should be converted to Html Escape Sequences before being generated.
|
setItalic | public void setItalic(boolean italic)(Code) | | Use this method to indicate that the text should be italic.
|
setSmall | public void setSmall(boolean small)(Code) | | Use this method to indicate that the text should be small.
|
setStrong | public void setStrong(boolean strong)(Code) | | Use this method to indicate that the text should be strong.
|
setText | public void setText(String text)(Code) | | This method sets the text that the componnt will generate.
|
setUnderline | public void setUnderline(boolean underline)(Code) | | Use this method to indicate that the text should be underline.
|
|
|