Example #1
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("allowScriptAccess", _allowScriptAccess, AllowScriptAccessEnum.sameDomain);
            state.SetPropertyValue("id", _id, "");
            state.SetPropertyValue("liveConnect", _liveConnect, true);
            state.SetPropertyValue("loadTimeout", _loadTimeout, 10000);
            state.SetPropertyValue("loop", _loop, false);
            state.SetPropertyValue("mayScript", _mayScript, false);
            state.SetPropertyValue("menu", _menu, false);
            state.SetPropertyValue("play", _play, false);
            state.SetPropertyValue("quality", _quality, QualityEnum.best);
            state.SetPropertyValue("scale", _scale, (ScaleEnum)(-1));
            state.SetPropertyValue("source", _source, "");
            state.SetPropertyValue("variables", _variables, null);
            state.SetPropertyValue("wmode", _wmode, WmodeEnum.opaque);

            if (Loaded != null)
            {
                state.SetEvent("loaded", false);
            }
            if (Loading != null)
            {
                state.SetEvent("loading", false);
            }
            if (Timeout != null)
            {
                state.SetEvent("timeout", false);
            }
        }
Example #2
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("batchSize", _batchSize, 20);
            state.SetPropertyValue("dataModel", _dataModel, null);
            state.SetPropertyValue("flushWidgetQueueAfterBatch", _flushWidgetQueueAfterBatch, false);
            state.SetPropertyValue("interElementTimeout", _interElementTimeout, 0);

            if (Progress != null)
            {
                state.SetEvent("progress", false);
            }
            if (ProgressDetail != null)
            {
                state.SetEvent("progressDetail", false);
            }
            if (RenderEnd != null)
            {
                state.SetEvent("renderEnd", false);
            }
            if (RenderStart != null)
            {
                state.SetEvent("renderStart", false);
            }
        }
Example #3
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("openCloseClickSelectsRow", _openCloseClickSelectsRow, false);
            state.SetPropertyValue("alwaysShowOpenCloseSymbol", _alwaysShowOpenCloseSymbol, false);
            state.SetPropertyValue("excludeFirstLevelTreeLines", _excludeFirstLevelTreeLines, false);
            state.SetPropertyValue("selectionMode", _selectionMode, 0);
            state.SetPropertyValue("useTreeLines", _useTreeLines, false);

            if (ChangeSelection != null)
            {
                state.SetEvent("changeSelection", false);
            }
            if (TreeClose != null)
            {
                state.SetEvent("treeClose", false);
            }
            if (TreeOpenWhileEmpty != null)
            {
                state.SetEvent("treeOpenWhileEmpty", false);
            }
            if (TreeOpenWithContent != null)
            {
                state.SetEvent("treeOpenWithContent", false);
            }
        }
Example #4
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("editable", _editable, true);
            state.SetPropertyValue("maximum", _maximum, 100m);
            state.SetPropertyValue("minimum", _minimum, 0m);
            state.SetPropertyValue("numberFormat", _numberFormat, null);
            state.SetPropertyValue("pageStep", _pageStep, 10m);
            state.SetPropertyValue("singleStep", _singleStep, 1m);
            state.SetPropertyValue("wrap", _wrap, false);
            state.SetPropertyValue("contentPaddingBottom", _contentPaddingBottom, 0);
            state.SetPropertyValue("contentPaddingLeft", _contentPaddingLeft, 0);
            state.SetPropertyValue("contentPaddingRight", _contentPaddingRight, 0);
            state.SetPropertyValue("contentPaddingTop", _contentPaddingTop, 0);
            state.SetPropertyValue("invalidMessage", _invalidMessage, "");
            state.SetPropertyValue("required", _required, false);
            state.SetPropertyValue("requiredInvalidMessage", _requiredInvalidMessage, "");
            state.SetPropertyValue("valid", _valid, true);

            state.SetPropertyValue("value", _value, 0m);

            if (ChangeValue != null)
            {
                state.SetEvent("changeValue", true, "value");
            }
            else
            {
                state.SetEvent("changeValue", false, "value");
            }
        }
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("alwaysShowOpenCloseSymbol", _alwaysShowOpenCloseSymbol, false);
     state.SetPropertyValue("excludeFirstLevelTreeLines", _excludeFirstLevelTreeLines, false);
     state.SetPropertyValue("useTreeLines", _useTreeLines, true);
 }
Example #6
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);

            if (HeaderCellRendererChanged != null)
            {
                state.SetEvent("headerCellRendererChanged", false);
            }
            if (OrderChanged != null)
            {
                state.SetEvent("orderChanged", false);
            }
            if (VisibilityChanged != null)
            {
                state.SetEvent("visibilityChanged", false);
            }
            if (VisibilityChangedPre != null)
            {
                state.SetEvent("visibilityChangedPre", false);
            }
            if (WidthChanged != null)
            {
                state.SetEvent("widthChanged", false);
            }
        }
Example #7
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("icon", _icon, null);
     state.SetPropertyValue("label", _label, null);
     state.SetPropertyValue("sortIcon", _sortIcon, null);
 }
Example #8
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("placeholder", _placeholder, "");

            state.SetPropertyValue("value", _value, "");
        }
Example #9
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("center", _center, false);
     state.SetPropertyValue("gap", _gap, 4);
     state.SetPropertyValue("iconPosition", _iconPosition, IconPositionEnum.left);
 }
Example #10
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("blockerColor", _blockerColor, "");
     state.SetPropertyValue("blockerOpacity", _blockerOpacity, 0);
     state.SetPropertyValue("blockerZIndex", _blockerZIndex, 0);
 }
Example #11
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("allowEmptySelection", _allowEmptySelection, false);
            state.SetPropertyValue("enabled", _enabled, true);
            state.SetPropertyValue("invalidMessage", _invalidMessage, "");
            state.SetPropertyValue("required", _required, false);
            state.SetPropertyValue("requiredInvalidMessage", _requiredInvalidMessage, "");
            state.SetPropertyValue("valid", _valid, true);
            state.SetPropertyValue("wrap", _wrap, true);
            state.SetPropertyValue("selection", _selection, null);
            state.SetPropertyValue("modelSelection", _modelSelection, null);

            if (ChangeSelection != null)
            {
                state.SetEvent("changeSelection", true, "selection");
            }
            else
            {
                state.SetEvent("changeSelection", false, "selection");
            }
            if (ChangeModelSelection != null)
            {
                state.SetEvent("changeModelSelection", false);
            }
        }
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("dragScrollSlowDownFactor", _dragScrollSlowDownFactor, 0.1f);
     state.SetPropertyValue("dragScrollThresholdX", _dragScrollThresholdX, 30);
     state.SetPropertyValue("dragScrollThresholdY", _dragScrollThresholdY, 30);
 }
Example #13
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("enableInlineFind", _enableInlineFind, true);
            state.SetPropertyValue("orientation", _orientation, OrientationEnum.vertical);
            state.SetPropertyValue("spacing", _spacing, 0);
            state.SetPropertyValue("dragSelection", _dragSelection, false);
            state.SetPropertyValue("quickSelection", _quickSelection, false);
            state.SetPropertyValue("selectionMode", _selectionMode, SelectionModeEnum.single);
            state.SetPropertyValue("selection", _selection, null);
            state.SetPropertyValue("invalidMessage", _invalidMessage, "");
            state.SetPropertyValue("required", _required, false);
            state.SetPropertyValue("requiredInvalidMessage", _requiredInvalidMessage, "");
            state.SetPropertyValue("valid", _valid, true);
            state.SetPropertyValue("modelSelection", _modelSelection, null);

            if (AddItem != null)
            {
                state.SetEvent("addItem", false);
            }
            if (RemoveItem != null)
            {
                state.SetEvent("removeItem", false);
            }
            if (ChangeSelection != null)
            {
                state.SetEvent("changeSelection", false);
            }
            if (ChangeModelSelection != null)
            {
                state.SetEvent("changeModelSelection", false);
            }
        }
Example #14
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("arrowColumnWidth", _arrowColumnWidth, 0);
     state.SetPropertyValue("blockBackground", _blockBackground, false);
     state.SetPropertyValue("blockerColor", _blockerColor, null);
     state.SetPropertyValue("blockerOpacity", _blockerOpacity, 1m);
     state.SetPropertyValue("closeInterval", _closeInterval, 250);
     state.SetPropertyValue("iconColumnWidth", _iconColumnWidth, 0);
     state.SetPropertyValue("openedButton", _openedButton, null);
     state.SetPropertyValue("opener", _opener, null);
     state.SetPropertyValue("openInterval", _openInterval, 250);
     state.SetPropertyValue("selectedButton", _selectedButton, null);
     state.SetPropertyValue("spacingX", _spacingX, 0);
     state.SetPropertyValue("spacingY", _spacingY, 0);
     state.SetPropertyValue("domMove", _domMove, false);
     state.SetPropertyValue("offsetBottom", _offsetBottom, 0);
     state.SetPropertyValue("offsetLeft", _offsetLeft, 0);
     state.SetPropertyValue("offsetRight", _offsetRight, 0);
     state.SetPropertyValue("offsetTop", _offsetTop, 0);
     state.SetPropertyValue("placementModeX", _placementModeX, PlacementModeEnum.keep_align);
     state.SetPropertyValue("placementModeY", _placementModeY, PlacementModeEnum.keep_align);
     state.SetPropertyValue("placeMethod", _placeMethod, PlaceMethodEnum.pointer);
     state.SetPropertyValue("position", _position, AlignmentEnum.bottom_left);
 }
Example #15
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("align", _align, AlignEnum.right);
     state.SetPropertyValue("axisX", _axisX, null);
     state.SetPropertyValue("axisY", _axisY, null);
     state.SetPropertyValue("edge", _edge, EdgeEnum.top);
 }
Example #16
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("blockConcurrentLoadRowCount", _blockConcurrentLoadRowCount, true);
     state.SetPropertyValue("blockSize", _blockSize, 50);
     state.SetPropertyValue("clearCacheOnRemove", _clearCacheOnRemove, false);
     state.SetPropertyValue("maxCachedBlockCount", _maxCachedBlockCount, 15);
 }
Example #17
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("autoSize", _autoSize, false);
     state.SetPropertyValue("minimalLineHeight", _minimalLineHeight, 4);
     state.SetPropertyValue("singleStep", _singleStep, 20);
     state.SetPropertyValue("wrap", _wrap, true);
 }
Example #18
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("invalidMessage", _invalidMessage, "");
     state.SetPropertyValue("required", _required, false);
     state.SetPropertyValue("requiredInvalidMessage", _requiredInvalidMessage, "");
     state.SetPropertyValue("valid", _valid, true);
 }
Example #19
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("contentPaddingBottom", _contentPaddingBottom, 0);
     state.SetPropertyValue("contentPaddingLeft", _contentPaddingLeft, 0);
     state.SetPropertyValue("contentPaddingRight", _contentPaddingRight, 0);
     state.SetPropertyValue("contentPaddingTop", _contentPaddingTop, 0);
 }
Example #20
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("cssClass", _cssClass, "");
     state.SetPropertyValue("html", _html, "");
     state.SetPropertyValue("overflowX", _overflowX, (OverflowEnum)(-1));
     state.SetPropertyValue("overflowY", _overflowY, (OverflowEnum)(-1));
 }
Example #21
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("childPath", _childPath, "");
     state.SetPropertyValue("iconPath", _iconPath, "");
     state.SetPropertyValue("labelPath", _labelPath, "");
     state.SetPropertyValue("model", _model, null);
 }
Example #22
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);

            if (Change != null)
            {
                state.SetEvent("change", false);
            }
        }
Example #23
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("alignX", _alignX, AlignXEnum.left);
     state.SetPropertyValue("alignY", _alignY, AlignYEnum.top);
     state.SetPropertyValue("reversed", _reversed, false);
     state.SetPropertyValue("separator", _separator, null);
     state.SetPropertyValue("spacing", _spacing, 0);
 }
Example #24
0
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);

            state.SetPropertyValue("name", Name, null);
            state.SetPropertyValue("url", Url, null);

            state.SetEvent("completed", true);
        }
Example #25
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("buddy", _buddy, null);
     state.SetPropertyValue("rich", _rich, false);
     state.SetPropertyValue("textAlign", _textAlign, (TextAlignEnum)(-1));
     state.SetPropertyValue("value", _value, "");
     state.SetPropertyValue("wrap", _wrap, true);
 }
Example #26
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);

            if (DataAvailable != null)
            {
                state.SetEvent("dataAvailable", false);
            }
        }
Example #27
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("alwaysUpdateCells", _alwaysUpdateCells, false);
            state.SetPropertyValue("columnVisibilityButtonVisible", _columnVisibilityButtonVisible, true);
            state.SetPropertyValue("contextMenuFromDataCellsOnly", _contextMenuFromDataCellsOnly, true);
            state.SetPropertyValue("dataRowRenderer", _dataRowRenderer, null);
            state.SetPropertyValue("focusCellOnPointerMove", _focusCellOnPointerMove, false);
            state.SetPropertyValue("forceLineHeight", _forceLineHeight, true);
            state.SetPropertyValue("headerCellHeight", _headerCellHeight, 16);
            state.SetPropertyValue("headerCellsVisible", _headerCellsVisible, true);
            state.SetPropertyValue("keepFirstVisibleRowComplete", _keepFirstVisibleRowComplete, true);
            state.SetPropertyValue("resetSelectionOnHeaderTap", _resetSelectionOnHeaderTap, true);
            state.SetPropertyValue("rowFocusChangeModifiesSelection", _rowFocusChangeModifiesSelection, true);
            state.SetPropertyValue("rowHeight", _rowHeight, 20m);
            state.SetPropertyValue("selectionModel", _selectionModel, null);
            state.SetPropertyValue("showCellFocusIndicator", _showCellFocusIndicator, true);
            state.SetPropertyValue("statusBarVisible", _statusBarVisible, true);
            state.SetPropertyValue("tableModel", _tableModel, null);
            state.SetPropertyValue("dragScrollSlowDownFactor", _dragScrollSlowDownFactor, 0.1f);
            state.SetPropertyValue("dragScrollThresholdX", _dragScrollThresholdX, 30);
            state.SetPropertyValue("dragScrollThresholdY", _dragScrollThresholdY, 30);

            if (CellContextmenu != null)
            {
                state.SetEvent("cellContextmenu", false);
            }
            if (CellDbltap != null)
            {
                state.SetEvent("cellDbltap", true);
            }
            if (CellTap != null)
            {
                state.SetEvent("cellTap", false);
            }
            if (ColumnVisibilityMenuCreateEnd != null)
            {
                state.SetEvent("columnVisibilityMenuCreateEnd", false);
            }
            if (ColumnVisibilityMenuCreateStart != null)
            {
                state.SetEvent("columnVisibilityMenuCreateStart", false);
            }
            if (DataEdited != null)
            {
                state.SetEvent("dataEdited", true);
            }
            if (TableWidthChanged != null)
            {
                state.SetEvent("tableWidthChanged", false);
            }
            if (VerticalScrollBarChanged != null)
            {
                state.SetEvent("verticalScrollBarChanged", false);
            }
        }
Example #28
0
 /// <summary>
 /// Generates client code
 /// </summary>
 /// <param name="state">Serialized property values</param>
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("connectSeparators", _connectSeparators, false);
     state.SetPropertyValue("separatorX", _separatorX, null);
     state.SetPropertyValue("separatorY", _separatorY, null);
     state.SetPropertyValue("sort", _sort, SortEnum.auto);
     state.SetPropertyValue("spacingX", _spacingX, 0);
     state.SetPropertyValue("spacingY", _spacingY, 0);
 }
Example #29
0
        /// <summary>
        /// Generates client code
        /// </summary>
        /// <param name="state">Serialized property values</param>
        internal override void Render(qxDotNet.Core.Object.PropertyBag state)
        {
            base.Render(state);
            state.SetPropertyValue("showCloseButton", _showCloseButton, false);

            if (Close != null)
            {
                state.SetEvent("close", false);
            }
        }
Example #30
0
 internal override void Render(qxDotNet.Core.Object.PropertyBag state)
 {
     base.Render(state);
     state.SetPropertyValue("bold", _bold, false);
     state.SetPropertyValue("color", _color, null);
     state.SetPropertyValue("decoration", _decoration, DecorationEnum.@null);
     state.SetPropertyValue("italic", _italic, false);
     state.SetPropertyValue("lineHeight", _lineHeight, 0m);
     state.SetPropertyValue("size", _size, 0);
 }