public class EditorRenderer extends RendererImpl
DISPLAY_MODE, EDIT_MODEdf, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath| Constructor and Description |
|---|
EditorRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.dom4j.Element |
getCollapseWidget()
Render open/close widget for this element.
|
ComplexTypeLabel |
getComplexTypeLabel(java.lang.String xpath,
java.lang.String siblingPath,
java.lang.String indexId)
Create a label with collapse widget (if this nodeIsExpandable is true for
this node.
|
Label |
getMultiBoxLabel(java.lang.String xpath)
Create label for a mulitBoxLabel element that will collapse the mulitBox
input.
|
SimpleTypeLabel |
getSimpleTypeLabel(java.lang.String xpath,
java.lang.String siblingPath,
java.lang.String indexId)
Gets the simpleTypeLabel attribute of the EditorRenderer object
|
static void |
setDebug(boolean bool)
Sets the debug attribute of the EditorRenderer class
|
bestPracticesLink, doInit, getBooleanInput, getComboUnionInput, getComplexTypeLabel, getDeleteController, getInputElement, getInputHelperElement, getLabelText, getLanguageInput, getMultiBoxInput, getMultiSelectInput, getOptionalItemControl, getReadOnlyElement, getRenderedField, getRenderedField, getRenderMode, getSelectInput, getShowNSPrefixInLabels, getSimpleTypeLabel, getTextAreaInput, getTextAreaInput, getTextInput, getToolHelp, getXpath, isDisplayMode, isEditMode, renderAttribute, renderChoice, renderComplexTypeConcrete, renderDerivedContentModel, renderDerivedTextOnlyModel, renderInputElement, renderModelGroup, renderRepeatingElement, renderRepeatingSubstitutionGroup, renderSequence, renderSimpleTypeConcrete, renderSubElements, renderSubElements, renderSubElements, report, setRenderMode, setShowNSPrefixInLabels, showXsdStringElementdoInit, getDiv, getDiv, getLevel, getSchemaNamespace, getSchemaNSPrefix, getXmlFormat, init, jspQuotedString, renderComplexType, renderNode, renderSimpleTypepublic SimpleTypeLabel getSimpleTypeLabel(java.lang.String xpath, java.lang.String siblingPath, java.lang.String indexId)
getSimpleTypeLabel in class RendererImplxpath - NOT YET DOCUMENTEDsiblingPath - NOT YET DOCUMENTEDindexId - NOT YET DOCUMENTEDpublic Label getMultiBoxLabel(java.lang.String xpath)
Based on getComplexTypeLabel, but will always display collapse widget, rather than first testing for nodeIsExpandable as getComplexTypeLabel does.
Depends on the multibox input having an id and display style initialized to value of collapseBean.displayState.
getMultiBoxLabel in class RendererImplxpath - NOT YET DOCUMENTEDpublic ComplexTypeLabel getComplexTypeLabel(java.lang.String xpath, java.lang.String siblingPath, java.lang.String indexId)
getComplexTypeLabel in class RendererImplxpath - NOT YET DOCUMENTEDsiblingPath - NOT YET DOCUMENTEDindexId - NOT YET DOCUMENTEDprotected org.dom4j.Element getCollapseWidget()
public static void setDebug(boolean bool)
bool - The new debug value