Permalink
Browse files

Added getters for renderer elements that are needed in subclass.

R=nicksantos
DELTA=27 (27 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6032


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2398 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
  • Loading branch information...
1 parent aa0b315 commit c16fffca8fb030c261b15bba87982ae2312fcfdf mschidlowsky@google.com committed Dec 19, 2012
Showing with 27 additions and 0 deletions.
  1. +27 −0 closure/goog/ui/ac/renderer.js
@@ -369,6 +369,15 @@ goog.ui.ac.Renderer.prototype.setAnchorElement = function(anchor) {
};
+/**
+ * @return {Element} The anchor element.
+ * @protected
+ */
+goog.ui.ac.Renderer.prototype.getAnchorElement = function() {
+ return this.anchorElement_;
+};
+
+
/**
* Render the autocomplete UI
*
@@ -652,6 +661,24 @@ goog.ui.ac.Renderer.prototype.setAutoPosition = function(auto) {
};
+/**
+ * @return {boolean} Whether the drop down will be autopositioned.
+ * @protected
+ */
+goog.ui.ac.Renderer.prototype.getAutoPosition = function() {
+ return this.reposition_;
+};
+
+
+/**
+ * @return {Element} The target element.
+ * @protected
+ */
+goog.ui.ac.Renderer.prototype.getTarget = function() {
+ return this.target_;
+};
+
+
/**
* Disposes of the renderer and its associated HTML.
* @override

0 comments on commit c16fffc

Please sign in to comment.