|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.platform.AbstractDepictor<C>
com.guiseframework.platform.AbstractComponentDepictor<C>
com.guiseframework.platform.web.AbstractWebComponentDepictor<C>
com.guiseframework.platform.web.AbstractWebFrameDepictor<C>
com.guiseframework.platform.web.WebApplicationFrameDepictor<C>
C - The type of component being depicted.public class WebApplicationFrameDepictor<C extends ApplicationFrame>
Strategy for rendering an application frame as a series of XHTML elements. This class generates XHTML in the form: <xhtml:html><xhtml:body><xhtml:form>[<xhtml:div>]
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.guiseframework.platform.AbstractComponentDepictor |
|---|
AbstractComponentDepictor.DepictedCompositeComponentListener |
| Nested classes/interfaces inherited from class com.guiseframework.platform.AbstractDepictor |
|---|
AbstractDepictor.DepictedPropertyChangeListener |
| Field Summary | |
|---|---|
protected static java.lang.String |
ACTION_INPUT_ID_SEGMENT
The ID segment for the hidden action input field. |
protected static java.lang.String |
BUSY_ID_SEGMENT
The ID segment for the busy information. |
protected static java.lang.String |
FLYOVER_IFRAME_ID_SEGMENT
The ID segment for the flyover IFrame used with IE6. |
protected static java.lang.String |
FORM_ID_SEGMENT
The ID segment for the form. |
protected static java.lang.String |
GUISE_FLASH_ID
The ID for the Guise SWF. |
protected static java.lang.String |
INIT_IFRAME_ID_SEGMENT
The ID segment for the layer to shield user input during initialization. |
protected static java.lang.String |
MODAL_IFRAME_ID_SEGMENT
The ID segment for the model IFrame used with IE6. |
| Fields inherited from class com.guiseframework.platform.web.AbstractWebComponentDepictor |
|---|
BODY_END_PATTERN, BODY_START_PATTERN |
| Fields inherited from class com.guiseframework.platform.AbstractComponentDepictor |
|---|
childPropertyChangeListener |
| Fields inherited from interface com.guiseframework.platform.Depictor |
|---|
GENERAL_PROPERTY |
| Constructor Summary | |
|---|---|
WebApplicationFrameDepictor()
Default constructor using the XHTML body element. |
|
| Method Summary | |
|---|---|
protected void |
depictBegin()
Begins the rendering process. |
protected void |
depictEnd()
Ends the rendering process. |
static java.lang.String |
getActionInputID(ApplicationFrame applicationFrame)
Determines the ID to be used for the hidden field associated with the given application frame. |
static java.lang.String |
getBusyID(ApplicationFrame applicationFrame)
Determines the ID to be used for an element containing busy component information. |
static java.lang.String |
getFlyoverIFrameID(ApplicationFrame applicationFrame)
Determines the ID to be used for an IFrame used for a flyover shield in IE6. |
static java.lang.String |
getFormID(ApplicationFrame applicationFrame)
Determines the ID to be used for a form associated with the given application frame. |
static java.lang.String |
getInitIFrameID(ApplicationFrame applicationFrame)
Determines the ID to be used for an IFrame used for shielding the UI from user input during initialization. |
static java.lang.String |
getModalIFrameID(ApplicationFrame applicationFrame)
Determines the ID to be used for an IFrame used for a modal shield in IE6. |
protected static boolean |
hasResourceImportControl(Component component)
Determines whether the given component or any of its children contains a resource import control (a control with a resource import value model). |
| Methods inherited from class com.guiseframework.platform.web.AbstractWebFrameDepictor |
|---|
depictBody, installed, uninstalled |
| Methods inherited from class com.guiseframework.platform.AbstractComponentDepictor |
|---|
depictChild, depictChildren, depictedObjectPropertyChange, getDepictedCompositeComponentListener, getErrorMessage, processEvent |
| Methods inherited from class com.guiseframework.platform.AbstractDepictor |
|---|
getDepictedObject, getDepictedPropertyChangeListener, getIgnoredProperties, getModifiedProperties, getSession, isDepicted, setDepicted, setPropertyModified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.guiseframework.platform.Depictor |
|---|
getDepictedObject, getSession, isDepicted, processEvent, setDepicted |
| Field Detail |
|---|
protected static final java.lang.String ACTION_INPUT_ID_SEGMENT
protected static final java.lang.String BUSY_ID_SEGMENT
protected static final java.lang.String FLYOVER_IFRAME_ID_SEGMENT
protected static final java.lang.String FORM_ID_SEGMENT
protected static final java.lang.String INIT_IFRAME_ID_SEGMENT
protected static final java.lang.String MODAL_IFRAME_ID_SEGMENT
protected static final java.lang.String GUISE_FLASH_ID
| Constructor Detail |
|---|
public WebApplicationFrameDepictor()
body element.
| Method Detail |
|---|
public static java.lang.String getActionInputID(ApplicationFrame applicationFrame)
applicationFrame - The frame for which an input ID should be returned.
public static java.lang.String getBusyID(ApplicationFrame applicationFrame)
applicationFrame - The frame for which a busy ID should be returned.
public static java.lang.String getFlyoverIFrameID(ApplicationFrame applicationFrame)
applicationFrame - The frame for which a flyover IFrame ID should be returned.
public static java.lang.String getFormID(ApplicationFrame applicationFrame)
applicationFrame - The frame for which a form ID should be returned.
public static java.lang.String getInitIFrameID(ApplicationFrame applicationFrame)
applicationFrame - The frame for which an init IFrame ID should be returned.
public static java.lang.String getModalIFrameID(ApplicationFrame applicationFrame)
applicationFrame - The frame for which a modal IFrame ID should be returned.
protected void depictBegin()
throws java.io.IOException
depictBegin in class AbstractWebComponentDepictor<C extends ApplicationFrame>java.io.IOException - if there is an error rendering the component.
protected void depictEnd()
throws java.io.IOException
depictEnd in class AbstractWebComponentDepictor<C extends ApplicationFrame>java.io.IOException - if there is an error rendering the component.protected static boolean hasResourceImportControl(Component component)
component - The component to check for a resource input value model.
true if the component or any of its children contain a resource import control.ValueControl,
ValueModel,
ResourceImport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||