public abstract class RichTextContainer extends TextContainer
context| Modifier | Constructor and Description |
|---|---|
protected |
RichTextContainer(WingContext context)
Construct a new rich text container.
|
| Modifier and Type | Method and Description |
|---|---|
Button |
addButton(String name)
Add a button input control that when activated by the user will submit
the form, including all the fields, back to the server for processing.
|
Button |
addButton(String name,
String rend)
Add a button input control that when activated by the user will submit
the form, including all the fields, back to the server for processing.
|
CheckBox |
addCheckBox(String name)
Add a boolean input control which may be toggled by the user.
|
CheckBox |
addCheckBox(String name,
String rend)
Add a boolean input control which may be toggled by the user.
|
Composite |
addComposite(String name)
Add a composite input control.
|
Composite |
addComposite(String name,
String rend)
Add a composite input control.
|
Figure |
addFigure(String source,
String target,
String rend)
Add a figure element to the character container.
|
Figure |
addFigure(String source,
String target,
String title,
String rend)
Add a figure element to the character container.
|
File |
addFile(String name)
Add an input control that allows the user to select files to be submitted
with the form.
|
File |
addFile(String name,
String rend)
Add an input control that allows the user to select files to be submitted
with the form.
|
Hidden |
addHidden(String name)
Add an input control that is not rendered on the screen and hidden from
the user.
|
Hidden |
addHidden(String name,
String rend)
Add an input control that is not rendered on the screen and hidden from
the user.
|
Highlight |
addHighlight(String rend)
Add highlighted content to the character container.
|
Password |
addPassword(String name)
Add a single-line text input control where the input text is rendered in
such a way as to hide the characters from the user.
|
Password |
addPassword(String name,
String rend)
Add a single-line text input control where the input text is rendered in
such a way as to hide the characters from the user.
|
Radio |
addRadio(String name)
Add a boolean input control which may be toggled by the user.
|
Radio |
addRadio(String name,
String rend)
Add a boolean input control which may be toggled by the user.
|
Select |
addSelect(String name)
Add a menu input control which allows the user to select from a list of
available options.
|
Select |
addSelect(String name,
String rend)
Add a menu input control which allows the user to select from a list of
available options.
|
Text |
addText(String name)
Add a single-line text input control.
|
Text |
addText(String name,
String rend)
Add a single-line text input control.
|
TextArea |
addTextArea(String name)
Add a multi-line text input control.
|
TextArea |
addTextArea(String name,
String rend)
Add a multi-line text input control.
|
Xref |
addXref(String target)
Add a new reference to the character container.
|
void |
addXref(String target,
Message key)
Add a new reference to the character container.
|
void |
addXref(String target,
Message key,
String rend)
Add a new reference to the character container.
|
void |
addXref(String target,
Message key,
String rend,
String name)
Add a new reference to the character container.
|
void |
addXref(String target,
String characters)
Add a new reference to the character container.
|
void |
addXref(String target,
String characters,
String rend)
Add a new reference to the character container.
|
void |
addXref(String target,
String characters,
String rend,
String name)
Add a new reference to the character container.
|
addContent, addContent, addContentendElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementprotected RichTextContainer(WingContext context) throws WingException
context - (Required) The context this element is contained in.WingExceptionpublic Highlight addHighlight(String rend) throws WingException
rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Xref addXref(String target) throws WingException
target - (Required) A target URL for the references a destination for
the xref.WingExceptionpublic void addXref(String target, String characters) throws WingException
target - (Required) A target URL for the references a destination for
the xref.characters - (May be null) The link's bodyWingExceptionpublic void addXref(String target, String characters, String rend) throws WingException
target - (Required) A target URL for the references a destination for
the xref.characters - (May be null) The link's bodyrend - (May be null) Special rendering instructions.WingExceptionpublic void addXref(String target, String characters, String rend, String name) throws WingException
target - (Required) A target URL for the references a destination for
the xref.characters - (May be null) The link's bodyrend - (May be null) Special rendering instructions.name - (May be null) local identifierWingExceptionpublic void addXref(String target, Message key) throws WingException
target - (Required) A target URL for the references a destination for
the xref.key - (Required) The link's bodyWingExceptionpublic void addXref(String target, Message key, String rend) throws WingException
target - (Required) A target URL for the references a destination for
the xref.key - (Required) The link's bodyrend - (May be null) Special rendering instructionsWingExceptionpublic void addXref(String target, Message key, String rend, String name) throws WingException
target - (Required) A target URL for the references a destination for
the xref.key - (Required) The link's bodyrend - (May be null) Special rendering instructionsWingExceptionpublic Figure addFigure(String source, String target, String rend) throws WingException
source - (Required) The source for the image, using a URL or a
pre-defined XML entity.target - (May be null) The target reference for the image if the image
is to operate as a link.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Figure addFigure(String source, String target, String title, String rend) throws WingException
source - (Required) The source for the image, using a URL or a
pre-defined XML entity.target - (May be null) The target reference for the image if the image
is to operate as a link.title - rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Button addButton(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Button addButton(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic CheckBox addCheckBox(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic CheckBox addCheckBox(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic Composite addComposite(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Composite addComposite(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.WingExceptionpublic File addFile(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic File addFile(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic Hidden addHidden(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Hidden addHidden(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic Password addPassword(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Password addPassword(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic Radio addRadio(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Radio addRadio(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic Select addSelect(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Select addSelect(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic Text addText(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic Text addText(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionpublic TextArea addTextArea(String name, String rend) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic TextArea addTextArea(String name) throws WingException
name - (Required) a non-unique local identifier used to differentiate
the element from its siblings within an interactive division.
This is the name of the field use when data is submitted back
to the server.WingExceptionCopyright © 2014 DuraSpace. All Rights Reserved.