|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.tacos.formatter.MaskJsFormatter
public class MaskJsFormatter
Javascript formatting renderer for numbers. The following parameters are allowed in the initializer:
| Parameter Name | Description | Default |
|---|---|---|
| format |
The mask formatting string. See
MaskFormatter for details.
|
| Field Summary | |
|---|---|
static String |
FORMATTER_SCRIPT_RESOURCE
Classpath for formatter script. |
| Constructor Summary | |
|---|---|
MaskJsFormatter()
Default constructor, required by BeanFactory. |
|
MaskJsFormatter(String initializer)
Constructor with initializer, required by BeanFactory. |
|
| Method Summary | |
|---|---|
String |
getFormat()
|
void |
renderContributions(org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.engine.IScriptSource scriptSource,
org.apache.tapestry.IComponent comp,
String uniqueId)
Renders the formatter contributions (usually JavaScript functions). |
void |
setFormat(String format)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String FORMATTER_SCRIPT_RESOURCE
| Constructor Detail |
|---|
public MaskJsFormatter()
BeanFactory.
public MaskJsFormatter(String initializer)
BeanFactory.
| Method Detail |
|---|
public void renderContributions(org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.engine.IScriptSource scriptSource,
org.apache.tapestry.IComponent comp,
String uniqueId)
renderContributions in interface JsFormattercycle - Tapestry request cycle.scriptSource - Tapestry script source.comp - the component.uniqueId - optional unique Id to override the component's id.public String getFormat()
public void setFormat(String format)
format - The format to set.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||