public class DHXLightbox extends DHXPlannerControlsBase
Constructor and Description |
---|
DHXLightbox()
Creates DHXLightbox instance
|
Modifier and Type | Method and Description |
---|---|
void |
add(DHXLightboxItem obj)
Add lighbox control
|
void |
add(DHXLightboxItem obj,
java.lang.Integer index) |
void |
addDefaults()
Add default set of controls to lightbox
|
java.lang.String |
afterInit()
Code which should be inserted after scheduler.init call
|
void |
clear()
Reset to default
|
DHXLightboxField |
get(java.lang.Integer index)
Gets lightbox section by index
|
DHXLightboxField |
get(java.lang.String name)
Gets lightbox section by name
|
DHXExternalLightboxControl |
setExternalLightbox(java.lang.String viewName)
Using form(partial view shown in iframe element) instead of native scheduler controls, which doesn't use any scheduler api,
when lightbox means to be opened, scheduler pass current event id to provided view, which is supposed
to process CRUD operations.
|
DHXExternalLightboxControl |
setExternalLightbox(java.lang.String viewName,
java.lang.Integer width,
java.lang.Integer height)
Using form(partial view shown in iframe element) instead of native scheduler controls, which doesn't use any scheduler api,
when lightbox means to be opened, scheduler pass current event id to provided view, which is supposed
to process CRUD operations.
|
DHXExternalLightboxControl |
setExternalLightbox(java.lang.String viewName,
java.lang.String className)
Using form(partial view shown in iframe element) instead of native scheduler lightbox, which doesn't use any scheduler api,
when lightbox means to be opened, scheduler pass current event id to provided view, which is supposed
to process CRUD operations.
|
DHXExternalLightboxForm |
setExternalLightboxForm(java.lang.String viewName)
Using form(partial view shown in iframe element) instead of native scheduler lightbox, form uses lightbox api,
lightbox.save()
lightbox.remove()
lightbox.close() functions is available from the context of form,
view must contain following functions
object window.getValues()
window.setValues(object)
which will be used by dhtmlx scheduler to populate form with event values and get edited event back
|
DHXExternalLightboxForm |
setExternalLightboxForm(java.lang.String viewName,
java.lang.Integer width,
java.lang.Integer height)
Using form(partial view shown in iframe element) instead of native scheduler lightbox, form uses lightbox api,
lightbox.save()
lightbox.remove()
lightbox.close() functions is available from the context of form,
view must contain following functions
object window.getValues()
window.setValues(object)
which will be used by dhtmlx scheduler to populate form with event values and get edited event back
|
DHXExternalLightboxForm |
setExternalLightboxForm(java.lang.String viewName,
java.lang.String className)
Using form(partial view shown in iframe element) instead of native scheduler lightbox, form uses lightbox api,
lightbox.save()
lightbox.remove()
lightbox.close() functions is available from the context of form,
view must contain following functions
object window.getValues()
window.setValues(object)
which will be used by dhtmlx scheduler to populate form with event values and get edited event back
|
public java.lang.String afterInit()
DHXPlannerControlsBase
afterInit
in class DHXPlannerControlsBase
public void clear()
DHXPlannerControlsBase
clear
in class DHXPlannerControlsBase
public void add(DHXLightboxItem obj)
obj
- new LightboxItempublic void add(DHXLightboxItem obj, java.lang.Integer index)
public DHXExternalLightboxForm setExternalLightboxForm(java.lang.String viewName)
viewName
- Path to the view which will be used for lightboxpublic DHXExternalLightboxForm setExternalLightboxForm(java.lang.String viewName, java.lang.Integer width, java.lang.Integer height)
viewName
- Path to the view which will be used for lightboxwidth
- Lightbox widthheight
- Lightbox heightpublic DHXExternalLightboxForm setExternalLightboxForm(java.lang.String viewName, java.lang.String className)
viewName
- Path to the view which will be used for lightboxclassName
- CSS class, which will be appended to formpublic DHXExternalLightboxControl setExternalLightbox(java.lang.String viewName)
viewName
- Path to the view which will be used for lightboxpublic DHXExternalLightboxControl setExternalLightbox(java.lang.String viewName, java.lang.Integer width, java.lang.Integer height)
viewName
- Path to the view which will be used for lightboxwidth
- Lightbox widthheight
- Lightbox heightpublic DHXExternalLightboxControl setExternalLightbox(java.lang.String viewName, java.lang.String className)
viewName
- Path to the view which will be used for lightboxclassName
- CSS class, which will be appended to formpublic void addDefaults()
public DHXLightboxField get(java.lang.String name)
name
- section namepublic DHXLightboxField get(java.lang.Integer index)
index
- section index