%DeepSee.UI.Dialog.BookCoverBuilder
Class %DeepSee.UI.Dialog.BookCoverBuilder Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user create or edit a DeepSee Book Cover filter definition.
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
coverSpec
Property coverSpec As %ZEN.Datatype.string(ZENURL = "SPEC");
Cover spec. This is the string that describes the book cover.
selectedElement
Property selectedElement As %ZEN.Datatype.string;
Which element is selected.
XDatas
Style
XData Style
dialogBody
XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]
Contents of the dialog body.
Methods
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
%OnGetSubtitle
Method %OnGetSubtitle() As %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
ondialogStart
ClientMethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
addUndo
ClientMethod addUndo(spec) [ Language = javascript ]
Add cover spec to undo buffer.
undo
ClientMethod undo() [ Language = javascript ]
Undo the last change.
ondialogFinish
ClientMethod 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.
getDialogValue
ClientMethod getDialogValue() [ Language = javascript ]
Get return value for dialog.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
adjustSize
ClientMethod adjustSize() [ Language = javascript ]
Adjust sizes components on the page.
GetCoverList
Method GetCoverList(ByRef pParameters, Output pMetaData, Output pData) As %Status
Get list of book covers for JSON provider.
getCoverImages
ClientMethod getCoverImages() [ Language = javascript ]
Get list of available images.
GetImageList
ClassMethod GetImageList(ByRef pParameters, Output pMetaData, Output pData) As %Status
Get list of images in the covers directory for JSON provider.
selectElement
ClientMethod selectElement(which, notify) [ Language = javascript ]
User click on element button.
%GetImageDirectory
ClassMethod %GetImageDirectory() As %String [ CodeMode = expression ]
Return the physical directory in which cover images files are stored.
getToolbarData
ClientMethod getToolbarData() [ Language = javascript ]
Get contents of toolbar.
toolbarSelect
ClientMethod toolbarSelect(key) [ Language = javascript ]
Click on toolbar item.
toolbarChange
ClientMethod toolbarChange(key, value) [ Language = javascript ]
Change of toolbar value.
uploadImage
ClientMethod uploadImage() [ Language = javascript ]
Show the upload image dialog.
clearCover
ClientMethod clearCover() [ Language = javascript ]
Clear the cover spec.
getContentForLevel
ClientMethod getContentForLevel(level, key, value) [ Language = javascript ]
Return an object describing what to display for this level.
selectItem
ClientMethod selectItem(key, value) [ Language = javascript ]
Item selected in navigator.
headerButtonClick
ClientMethod headerButtonClick(key) [ Language = javascript ]
Button clicked in navigator header.
closeButtonClick
ClientMethod closeButtonClick(key) [ Language = javascript ]
Button clicked in navigator close button.
dataChange
ClientMethod 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).
onPopupAction
ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.