Class GetWidgetResourceParams
java.lang.Object
de.xima.fc.form.common.models.GetWidgetResourceParams
- All Implemented Interfaces:
IGetWidgetResourceParams
POJO implementation of
IGetWidgetResourceParams.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionGetWidgetResourceParams(String baseUrl, boolean inline) A new instance with the given data. -
Method Summary
Modifier and TypeMethodDescriptionGet the base URL to the formcycle application, may or may not include the scheme/domain/port, e.g.booleanisInline()Whether the form is rendered inline.
-
Constructor Details
-
GetWidgetResourceParams
A new instance with the given data.- Parameters:
baseUrl- Gets the base URL of the formcycle application, including the scheme, the domain, the port, and the context path, including a final slash at the end.inline- Whether the form is rendered inline. In inline mode, all resource files should be standalone and not reference any other external resources, e.g. by inlining all fonts as base64 within the CSS file.
-
-
Method Details
-
getBaseUrl
Description copied from interface:IGetWidgetResourceParamsGet the base URL to the formcycle application, may or may not include the scheme/domain/port, e.g. http://localhost:8080/xima-formcycle/ or/xima-formcycle/.- Specified by:
getBaseUrlin interfaceIGetWidgetResourceParams- Returns:
- The base URL to the formcycle application.
-
isInline
public boolean isInline()Description copied from interface:IGetWidgetResourceParamsWhether the form is rendered inline. In inline mode, all resource files should be standalone and not reference any other external resources, e.g. by inlining all fonts as base64 within the CSS file.- Specified by:
isInlinein interfaceIGetWidgetResourceParams- Returns:
- Whether the form is rendered inline.
-