Interface ClientResourceOperation
public interface ClientResourceOperation
Operation providing means to load resources on the client-side.
- Since:
- 5.2.25
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final OperationType<ClientResourceOperation>Operation type providing means to load resources on the client-side.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddScriptUrl(@NotNull String url) Add a relative or absolute javascript url to load onperform(boolean).voidaddStylesheetUrl(@NotNull String url) Add a relative or absolute stylesheet url to load onperform(boolean).voidperform(boolean waitForResources) Initiates the loading of the previously specified resources.
- 
Field Details- 
TYPEOperation type providing means to load resources on the client-side.- Since:
- 5.2.25
 
 
- 
- 
Method Details- 
addScriptUrlAdd 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
 
- 
addStylesheetUrlAdd 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
 
- 
performvoid perform(boolean waitForResources) Initiates the loading of the previously specified resources.- Parameters:
- waitForResources-- trueif this method should wait until the resource loading process has been completed,- falseif this method should return immediately initiating the loading process
- Since:
- 5.2.25
 
 
-