Interface ClientResourceOperation
public interface ClientResourceOperation
Operation providing means to load resources on the client-side.
- Since:
- 5.2.25
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationType<ClientResourceOperation>
Operation type providing means to load resources on the client-side. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addScriptUrl
(@NotNull String url) Add a relative or absolute javascript url to load onperform(boolean)
.void
addStylesheetUrl
(@NotNull String url) Add a relative or absolute stylesheet url to load onperform(boolean)
.void
perform
(boolean waitForResources) Initiates the loading of the previously specified resources.
-
Field Details
-
TYPE
Operation type providing means to load resources on the client-side.- Since:
- 5.2.25
-
-
Method Details
-
addScriptUrl
Add a relative or absolute javascript url to load onperform(boolean)
. The base-url for relative urls is the webedit webapp context path (e.g. /fs5webedit/).- Parameters:
url
- the javascript url to load on the client-side.- Since:
- 5.2.25
-
addStylesheetUrl
Add a relative or absolute stylesheet url to load onperform(boolean)
. The base-url for relative urls is the webedit webapp context path (e.g. /fs5webedit/).- Parameters:
url
- the stylesheet url to load on the client-side.- Since:
- 5.2.25
-
perform
void perform(boolean waitForResources) Initiates the loading of the previously specified resources.- Parameters:
waitForResources
-true
if this method should wait until the resource loading process has been completed,false
if this method should return immediately initiating the loading process- Since:
- 5.2.25
-