/// <summary>
 /// Called when the `valuechange` event loses a subscriber.
 /// </summary>
 protected void _onUnsubscribe(Node node, object subscription, Y_.SyntheticEvent_.Notifier notifier){}
Exemple #2
0
 /// <summary>
 /// Returns the grid number for a specific calendar grid (for multi-grid templates)
 /// </summary>
 protected void _getGridNumber(Node gridNode){}
Exemple #3
0
 /// <summary>
 /// A render assist method that turns on the view of the next month's dates
 /// in a given calendar pane.
 /// </summary>
 protected void _turnNextMonthOn(Node pane){}
Exemple #4
0
 /// <summary>
 /// Copy relevant styles of the <a href="Resize.html#attr_node">node</a>
 /// to the <a href="Resize.html#attr_wrapper">wrapper</a>.
 /// </summary>
 protected void _copyStyles(Node node, Node wrapper){}
 /// <summary>
 /// Calculates the top left position the thumb should be moved to to
 /// align the click XY with the center of the specified node.
 /// </summary>
 protected Y_.Array _getThumbDestination(object e, Node node){return null;}
 /// <summary>
 /// Returns the array of subscription handles for a node for the given event
 /// type.  Passing true as the third argument will create a registry entry
 /// in the event system's DOM map to host the array if one doesn't yet exist.
 /// </summary>
 protected Y_.Array getRegistry(Node node, object type, object create){return null;}
 /// <summary>
 /// <p>Implementers SHOULD provide this method definition.</p>
 /// Implementation logic for subscriptions done via <code>node.on(type,
 /// fn)</code> or <code>Y.on(type, fn, target)</code>.  This
 /// function should set up the monitor(s) that will eventually fire the
 /// event.  Typically this involves subscribing to at least one DOM
 /// event.  It is recommended to store detach handles from any DOM
 /// subscriptions to make for easy cleanup in the <code>detach</code>
 /// method.  Typically these handles are added to the <code>sub</code>
 /// object.  Also for SyntheticEvents that leverage a single DOM
 /// subscription under the hood, it is recommended to pass the DOM event
 /// object to <code>notifier.fire(e)</code>.  (The event name on the
 /// object will be updated).
 /// </summary>
 public void on(Node node, object sub, Y_.SyntheticEvent_.Notifier notifier){}
 /// <summary>
 /// Clears the inactivity timeout for the specified node, if any.
 /// </summary>
 protected void _stopTimeout(Node node){}
Exemple #9
0
 /// <summary>
 /// returns the XY of the fixed position, handleDistance, from the center of the Dial (resting position).
 /// The XY also represents the angle related to the current value.
 /// If typeArray is true, [X,Y] is returned.
 /// If typeArray is false, the XY of the obj node passed in is set.
 /// </summary>
 protected Y_.Array _setNodeToFixedRadius(Node obj, object typeArray){return null;}
Exemple #10
0
 /// <summary>
 /// Stops polling for changes to the specified node's `value` attribute.
 /// </summary>
 protected void _stopPolling(Node node){}
Exemple #11
0
 /// <summary>
 /// Stops polling for changes to the specified node's `value` attribute.
 /// </summary>
 protected void _stopPolling(Node node, Y_.SyntheticEvent_.Notifier notifier){}
Exemple #12
0
 /// <summary>
 /// Begins polling for changes to the `value` property of the specified node. If
 /// polling is already underway for the specified node, it will not be restarted
 /// unless the `force` option is `true`
 /// </summary>
 protected void _startPolling(Node node, Y_.SyntheticEvent_.Notifier notifier, object options){}
Exemple #13
0
 /// <summary>
 /// Restarts the inactivity timeout for the specified node.
 /// </summary>
 protected void _refreshTimeout(Node node, Y_.SyntheticEvent_.Notifier notifier){}
Exemple #14
0
 /// <summary>
 /// Called at an interval to poll for changes to the value of the specified
 /// node.
 /// </summary>
 protected void _poll(Node node, object options){}
 /// <summary>
 /// Selects the specified _itemNode_, or the current `activeItem` if _itemNode_
 /// is not specified.
 /// </summary>
 public void selectItem(Node itemNode, EventFacade originEvent){}
Exemple #16
0
 /// <summary>
 /// Swap DOM locations with the given node.
 /// This does not change which DOM node each Node instance refers to.
 /// </summary>
 public void swap(Node otherNode){}
 /// <summary>
 /// <p>Implementers SHOULD provide this method definition.</p>
 /// <p>Implementation logic for detaching subscriptions done via
 /// <code>node.delegate(type, fn, filter)</code> or
 /// <code>Y.delegate(type, fn, container, filter)</code>.  This function
 /// should clean up any subscriptions made in the
 /// <code>delegate()</code> phase.</p>
 /// </summary>
 public void detachDelegate(Node node, object sub, Y_.SyntheticEvent_.Notifier notifier, object filter){}
 /// <summary>
 /// Sets the height on the provided header, body or footer element to
 /// fill out the height of the Widget. It determines the height of the
 /// widgets bounding box, based on it's configured height value, and
 /// sets the height of the provided section to fill out any
 /// space remaining after the other standard module section heights
 /// have been accounted for.
 /// <p><strong>NOTE:</strong> This method is not designed to work if an explicit
 /// height has not been set on the Widget, since for an "auto" height Widget,
 /// the heights of the header/body/footer will drive the height of the Widget.</p>
 /// </summary>
 public void fillHeight(Node node){}
 /// <summary>
 /// Returns the detach handles of subscriptions on a node that satisfy a
 /// search/filter function.  By default, the filter used is the
 /// <code>subMatch</code> method.
 /// </summary>
 public object getSubs(Node node, Y_.Array args, JsAction filter, object first){return null;}
Exemple #20
0
 /// <summary>
 /// Updates the virtual scrollbar's placement to avoid overlapping the fixed
 /// headers or the data table.
 /// </summary>
 protected void _uiSetScrollbarPosition(Node scroller){}
Exemple #21
0
 /// <summary>
 /// Handles setting the activeHandle from a node, used from startDrag (for touch) and mouseenter (for mouse).
 /// </summary>
 protected void _setHandleFromNode(Node node){}
 /// <summary>
 /// Returns the innerHTML of a node with all HTML tags removed.
 /// </summary>
 public object getText(Node node){return null;}
 /// <summary>
 /// Adjusts position for inner ticks.
 /// </summary>
 protected void offsetNodeForTick(Node cb){}
 /// <summary>
 /// Insert HTML at the current cursor position, this method gives you control over the text node to insert into and the offset where to put it.
 /// </summary>
 public Node insertAtCursor(object html, Node node, Y_.DataType_.Number offset, object collapse){return null;}
Exemple #25
0
 /// <summary>
 /// Default render handler
 /// </summary>
 protected void _defRenderFn(EventFacade e, Node parentNode){}
 /// <summary>
 /// Select a Node (hilighting it).
 /// </summary>
 public EditorSelection selectNode(Node node, object collapse){return null;}
Exemple #27
0
 /// <summary>
 /// A utility method that converts a node corresponding to the DOM element of
 /// the cell for a particular date to that date.
 /// </summary>
 protected Y_.DataType_.Date _nodeToDate(Node oNode){return null;}
 /// <summary>
 /// Selects the specified _itemNode_, or the current `activeItem` if _itemNode_
 /// is not specified.
 /// </summary>
 public void selectItem(Node itemNode){}
Exemple #29
0
 /// <summary>
 /// A render assist method that turns on the view of the previous month's dates
 /// in a given calendar pane.
 /// </summary>
 protected void _turnPrevMonthOn(Node pane){}
Exemple #30
0
 /// <summary>
 /// Called when the `valuechange` event receives a new subscriber.
 /// </summary>
 protected void _onSubscribe(Node node, object sub, Y_.SyntheticEvent_.Notifier notifier, object filter){}