class %DeepSee.UI.Dialog.BookCoverBuilder
extends %DeepSee.UI.Dialog.standardDialog
This dialog lets the user create or edit a DeepSee Book Cover filter definition.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
property coverSpec
as %ZEN.Datatype.string(ZENURL="SPEC");
Cover spec. This is the string that describes the book cover.
property selectedElement
as %ZEN.Datatype.string;
Which element is selected.
classmethod %GetImageDirectory()
as %String
Return the physical directory in which cover images files are stored.
method %OnAfterCreatePage()
as %Status
Be sure to do ##super() when overriding.
method %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
method GetCoverList(ByRef pParameters, Output pMetaData, Output pData)
as %Status
Get list of book covers for JSON provider.
classmethod GetImageList(ByRef pParameters, Output pMetaData, Output pData)
as %Status
Get list of images in the covers directory for JSON provider.
method addUndo(spec)
[ Language = javascript ]
Add cover spec to undo buffer.
method adjustSize()
[ Language = javascript ]
Adjust sizes components on the page.
method clearCover()
[ Language = javascript ]
Clear the cover spec.
method closeButtonClick(key)
[ Language = javascript ]
Button clicked in navigator close button.
method dataChange(key, value, final)
[ Language = javascript ]
This is called when a data value within the navigator is changed.
key is the key for the item and value is the new value.
final is true if this is the final value (controls such as a slider
may provide intermediate values as well while the user is actively dragging it).
method getContentForLevel(level, key, value)
[ Language = javascript ]
Return an object describing what to display for this level.
method getCoverImages()
[ Language = javascript ]
Get list of available images.
method getDialogValue()
[ Language = javascript ]
Get return value for dialog.
method getToolbarData()
[ Language = javascript ]
Get contents of toolbar.
method headerButtonClick(key)
[ Language = javascript ]
Button clicked in navigator header.
method onPopupAction(popupName, action, value)
[ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
method ondialogFinish(action)
[ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons.
If this returns false, then the action is cancelled.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
method selectElement(which, notify)
[ Language = javascript ]
User click on element button.
method selectItem(key, value)
[ Language = javascript ]
Item selected in navigator.
method toolbarChange(key, value)
[ Language = javascript ]
Change of toolbar value.
method toolbarSelect(key)
[ Language = javascript ]
Click on toolbar item.
method undo()
[ Language = javascript ]
Undo the last change.
method uploadImage()
[ Language = javascript ]
Show the upload image dialog.