public abstract class RichTextContainer extends TextContainer
This class may not be instantiated on its own; instead you must use one of the extending classes listed above. This abstract class implements the methods common to each of those elements.
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.WingException - passed through.public Highlight addHighlight(String rend) throws WingException
rend - (May be null) a rendering hint used to override the default
display of the element.WingException - passed through.public Xref addXref(String target) throws WingException
xref element is a
reference to an external document. The content will be used as part of
the link's visual body.target - (Required) A target URL for the references a destination for
the xref.WingException - passed through.public void addXref(String target, String characters) throws WingException
xref element is a
reference to an external document. The characters will be used as the
visual part of the link's bodytarget - (Required) A target URL for the references a destination for
the xref.characters - (May be null) The link's bodyWingException - passed through.public void addXref(String target, String characters, String rend) throws WingException
xref element is a
reference to an external document. The characters will be used as the
visual part of the link's bodytarget - (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.WingException - passed through.public void addXref(String target, String characters, String rend, String name) throws WingException
xref element is a
reference to an external document. The characters will be used as the
visual part of the link's bodytarget - (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 identifierWingException - passed through.public void addXref(String target, Message key) throws WingException
xref element is a
reference to an external document. The translated i18n key will be used
as the visual part of the link's bodytarget - (Required) A target URL for the references a destination for
the xref.key - (Required) The link's bodyWingException - passed through.public void addXref(String target, Message key, String rend) throws WingException
xref element is a
reference to an external document. The translated i18n key will be used
as the visual part of the link's bodytarget - (Required) A target URL for the references a destination for
the xref.key - (Required) The link's bodyrend - (May be null) Special rendering instructionsWingException - passed through.public void addXref(String target, Message key, String rend, String name) throws WingException
xref element is a
reference to an external document. The translated i18n key will be used
as the visual part of the link's bodytarget - (Required) A target URL for the references a destination for
the xref.key - (Required) The link's bodyrend - (May be null) Special rendering instructionsname - Name of the link.WingException - passed through.public 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.WingException - passed through.public 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 - Title for the figure.rend - (May be null) a rendering hint used to override the default
display of the element.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.public 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.WingException - passed through.Copyright © 2016 DuraSpace. All rights reserved.