public class SimpleLookupInputRenderer<T> extends Object implements INodeContentRenderer<T>
LookupInput control.
It can be additionaly customized (before and after custom content) by setting provided ICustomContentFactory fields.
See SimpleLookupInputRenderer#setBeforeContent and SimpleLookupInputRenderer#setAfterContent.
Custom added content would be enveloped into separate row(s).| Constructor and Description |
|---|
SimpleLookupInputRenderer() |
| Modifier and Type | Method and Description |
|---|---|
INodeContentRenderer<T> |
getAfterRenderer()
Enables appending of custom content that would be enveloped into additionaly added row after the actual data.
|
INodeContentRenderer<T> |
getBeforeRenderer()
Enables inserting of custom content that would be enveloped into additionaly added row that is inserted before rows that are part of builtin content.
|
void |
renderNodeContent(NodeBase component,
NodeContainer node,
T object,
Object parameters)
Render the content for a node.
|
void |
setAfterRenderer(INodeContentRenderer<T> afterContent)
Enables appending of custom content that would be enveloped into additionaly added row after the actual data.
|
void |
setBeforeRenderer(INodeContentRenderer<T> beforeContent)
Enables inserting of custom content that would be enveloped into additionaly added row that is inserted before rows that are part of builtin content.
|
public void renderNodeContent(@Nonnull NodeBase component, @Nonnull NodeContainer node, @Nullable T object, @Nullable Object parameters) throws Exception
INodeContentRendererrenderNodeContent in interface INodeContentRenderer<T>object - The nullable item we're rendering.Exceptionpublic INodeContentRenderer<T> getBeforeRenderer()
public void setBeforeRenderer(INodeContentRenderer<T> beforeContent)
afterContent - public INodeContentRenderer<T> getAfterRenderer()
public void setAfterRenderer(INodeContentRenderer<T> afterContent)
afterContent - Copyright © 2017 etc.to. All rights reserved.