public class EditorRenderer extends RendererImpl
DISPLAY_MODE, EDIT_MODE
df, 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, showXsdStringElement
doInit, getDiv, getDiv, getLevel, getSchemaNamespace, getSchemaNSPrefix, getXmlFormat, init, jspQuotedString, renderComplexType, renderNode, renderSimpleType
public SimpleTypeLabel getSimpleTypeLabel(java.lang.String xpath, java.lang.String siblingPath, java.lang.String indexId)
getSimpleTypeLabel
in class RendererImpl
xpath
- 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 RendererImpl
xpath
- NOT YET DOCUMENTEDpublic ComplexTypeLabel getComplexTypeLabel(java.lang.String xpath, java.lang.String siblingPath, java.lang.String indexId)
getComplexTypeLabel
in class RendererImpl
xpath
- NOT YET DOCUMENTEDsiblingPath
- NOT YET DOCUMENTEDindexId
- NOT YET DOCUMENTEDprotected org.dom4j.Element getCollapseWidget()
public static void setDebug(boolean bool)
bool
- The new debug value