Constructor and Description |
---|
WebappFormControlRenderer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isChangeTrackingAware()
The form control may be added on elements that have been inserted or deleted as a tracked change,
or it may be in a content range on which there is a review comment.
|
void |
renderControl(AuthorInplaceContext context,
java.io.Writer out)
Renders the form control with the given properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
public void renderControl(AuthorInplaceContext context, java.io.Writer out) throws java.io.IOException
context
- The context in which the form control is rendered.out
- The output to render the form control to.java.io.IOException
public boolean isChangeTrackingAware()
The form control may be added on elements that have been inserted or deleted as a tracked change, or it may be in a content range on which there is a review comment.
In these cases, if the method returns true
, in the HTML rendering, there will be
some additional HTML span elements that wrap the form-control markup
(generated by the renderControl(AuthorInplaceContext, Writer)
method.
If the method returns false
, comment and change markers will not be rendered over
the form-control. This option is provided for backwards-compatibility reasons, so it is recommended
to override this method and return true.
true
if the form-control is aware of comment and change-tracking markers.© Copyright Syncro Soft SRL 2002 - 2020. All rights reserved.