public class AppDescriptor extends ControlDescriptor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INCLUDE_MARKER |
DATATYPE_BOOLEAN, DATATYPE_INTEGER, DATATYPE_POSITVE_INTEGER, DATATYPE_STRING, DESCRIPTORATTRIBUTE_CLASS, DESCRIPTORATTRIBUTE_DEFAULT, DESCRIPTORATTRIBUTE_DESCRIPTORCLASS, DESCRIPTORATTRIBUTE_HANDLER, DESCRIPTORATTRIBUTE_NAME, DESCRIPTORATTRIBUTE_SHORTNAME, DESCRIPTORATTRIBUTE_TYPE, DESCRIPTORCLASS_COMPONENTDESCRIPTOR, DESCRIPTORCLASS_CONTROLDESCRIPTOR, DESCRIPTORTAG_ATTRIBUTE, DESCRIPTORTAG_BINDLIST, DESCRIPTORTAG_CHILDCONTROLS, DESCRIPTORTAG_COMPONENTDESCRIPTOR, DESCRIPTORTAG_COMPONENTLIST, DESCRIPTORTAG_COMPONENTS, DESCRIPTORTAG_CONTAINER, DESCRIPTORTAG_CONTROLDESCRIPTOR, DESCRIPTORTAG_DEFAULTVALUE, DESCRIPTORTAG_DESCRIPTION, DESCRIPTORTAG_FLAG, DESCRIPTORTAG_INPUTMODE, DESCRIPTORTAG_LABEL, DESCRIPTORTAG_PROPERTY, DESCRIPTORTAG_PROPERTYLIST, DESCRIPTORTAG_RENDERCONTROLS, DESCRIPTORTAG_TEMPLATE, DESCRIPTORTAG_USERAGENT, DESCRIPTORTAG_VALUE, DESCRIPTORTAG_VALUELIST, DESCRIPTORTYPE_ACTION, DESCRIPTORTYPE_DIALOG, DESCRIPTORTYPE_MENU, DESCRIPTORTYPE_MESSAGEBOX, DESCRIPTORTYPE_MODELESSDIALOG, DESCRIPTORTYPE_MOVABLEWINDOWDIALOG, DESCRIPTORTYPE_PAGE, DESCRIPTORTYPE_POPUP, DESCRIPTORTYPE_PRESENTATION, DESCRIPTORTYPE_RECORDHOVER, DESCRIPTORTYPE_TABLE, INSTANCECLASS_COMPONENTINSTANCE, INSTANCECLASS_CONTROLINSTANCE, orderedProperties
Constructor and Description |
---|
AppDescriptor(java.lang.String appName) |
AppDescriptor(java.lang.String appName,
org.w3c.dom.Element el) |
Modifier and Type | Method and Description |
---|---|
void |
bindAttribute(java.lang.String dataSrc,
java.lang.String componentId) |
void |
cleanup() |
java.lang.String |
getAppType() |
java.util.List<java.lang.String> |
getDataSrcBindList(java.lang.String dataSrc) |
java.lang.String |
getDefaultTab() |
org.w3c.dom.Element |
getDialog(java.lang.String dialogId,
WebClientSession wcs) |
EntityRelationshipModel |
getEntityRelationshipModel()
Returns the EntityRelationshipModel for the application is if has been created.
|
org.w3c.dom.Element |
getMainPage()
helper method to return the first page in the xml presentation (should only be one anyway)
|
org.w3c.dom.Element |
getMainPageOnDemand() |
java.util.HashMap<java.lang.String,org.w3c.dom.Node> |
getPageIndex() |
org.w3c.dom.Element |
getPresentationElement()
get the presentation element
|
org.w3c.dom.Element |
getRecHover(java.lang.String recHoverId,
WebClientSession wcs) |
org.w3c.dom.Element |
getTabElement(java.lang.String name) |
void |
initialize(java.lang.String appName,
WebClientSession wcs) |
void |
initializeControls(org.w3c.dom.Element element)
initialize control descriptors for controls in the presentation.
|
void |
loadDialogEntity(org.w3c.dom.Element el,
java.lang.String appName,
WebClientSession wcs) |
void |
setPresentationElement(org.w3c.dom.Element el)
create a new application descriptor and fill in required member variables
|
addComponent, canCreateControl, getBindList, getComponents, getInstance, getTemplate, indicatesChildError
getElement, getInstance, getName, getProperties, getProperty, getShortName, hasProperty, initialize, toString
public static final java.lang.String INCLUDE_MARKER
public AppDescriptor(java.lang.String appName, org.w3c.dom.Element el)
public AppDescriptor(java.lang.String appName)
public void setPresentationElement(org.w3c.dom.Element el)
public void initialize(java.lang.String appName, WebClientSession wcs)
public void loadDialogEntity(org.w3c.dom.Element el, java.lang.String appName, WebClientSession wcs)
public void initializeControls(org.w3c.dom.Element element)
public org.w3c.dom.Element getMainPage()
public java.util.HashMap<java.lang.String,org.w3c.dom.Node> getPageIndex()
public org.w3c.dom.Element getRecHover(java.lang.String recHoverId, WebClientSession wcs)
public org.w3c.dom.Element getDialog(java.lang.String dialogId, WebClientSession wcs)
public void bindAttribute(java.lang.String dataSrc, java.lang.String componentId)
public java.util.List<java.lang.String> getDataSrcBindList(java.lang.String dataSrc)
public org.w3c.dom.Element getPresentationElement()
public org.w3c.dom.Element getMainPageOnDemand()
public org.w3c.dom.Element getTabElement(java.lang.String name)
public java.lang.String getDefaultTab()
public java.lang.String getAppType()
public EntityRelationshipModel getEntityRelationshipModel()
public void cleanup()
cleanup
in class ControlDescriptor