|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.autoform.Renderer org.dlese.dpc.schemedit.autoform.RendererImpl org.dlese.dpc.schemedit.autoform.EditorRenderer
public class EditorRenderer
Renders JSP for metadata editing with controls for adding new elements or deleting optional elements as well as for collapsible elements.
Field Summary |
---|
Fields inherited from class org.dlese.dpc.schemedit.autoform.RendererImpl |
---|
DISPLAY_MODE, EDIT_MODE |
Fields inherited from class org.dlese.dpc.schemedit.autoform.Renderer |
---|
df, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath |
Constructor Summary | |
---|---|
EditorRenderer()
|
Method Summary | |
---|---|
protected Element |
getCollapseWidget()
Render open/close widget for this element. |
ComplexTypeLabel |
getComplexTypeLabel(String xpath,
String siblingPath,
String indexId)
Create a label with collapse widget (if this nodeIsExpandable is true for this node. |
Label |
getMultiBoxLabel(String xpath)
Create label for a mulitBoxLabel element that will collapse the mulitBox input. |
SimpleTypeLabel |
getSimpleTypeLabel(String xpath,
String siblingPath,
String indexId)
Gets the simpleTypeLabel attribute of the EditorRenderer object |
static void |
setDebug(boolean bool)
Sets the debug attribute of the EditorRenderer class |
Methods inherited from class org.dlese.dpc.schemedit.autoform.Renderer |
---|
doInit, getDiv, getDiv, getLevel, getSchemaNamespace, getSchemaNSPrefix, getXmlFormat, init, jspQuotedString, renderComplexType, renderNode, renderSimpleType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorRenderer()
Method Detail |
---|
public SimpleTypeLabel getSimpleTypeLabel(String xpath, String siblingPath, String indexId)
getSimpleTypeLabel
in class RendererImpl
xpath
- NOT YET DOCUMENTEDsiblingPath
- NOT YET DOCUMENTEDindexId
- NOT YET DOCUMENTED
public Label getMultiBoxLabel(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 DOCUMENTED
public ComplexTypeLabel getComplexTypeLabel(String xpath, String siblingPath, String indexId)
getComplexTypeLabel
in class RendererImpl
xpath
- NOT YET DOCUMENTEDsiblingPath
- NOT YET DOCUMENTEDindexId
- NOT YET DOCUMENTED
protected Element getCollapseWidget()
public static void setDebug(boolean bool)
bool
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |