@@ -113,18 +113,6 @@ export abstract class Field<T = any>
113113 private tooltip : Tooltip . TipInfo | null = null ;
114114 protected size_ : Size ;
115115
116- /**
117- * Holds the cursors svg element when the cursor is attached to the field.
118- * This is null if there is no cursor on the field.
119- */
120- private cursorSvg : SVGElement | null = null ;
121-
122- /**
123- * Holds the markers svg element when the marker is attached to the field.
124- * This is null if there is no marker on the field.
125- */
126- private markerSvg : SVGElement | null = null ;
127-
128116 /** The rendered field's SVG group element. */
129117 protected fieldGroup_ : SVGGElement | null = null ;
130118
@@ -1358,44 +1346,6 @@ export abstract class Field<T = any>
13581346 return false ;
13591347 }
13601348
1361- /**
1362- * Add the cursor SVG to this fields SVG group.
1363- *
1364- * @param cursorSvg The SVG root of the cursor to be added to the field group.
1365- * @internal
1366- */
1367- setCursorSvg ( cursorSvg : SVGElement ) {
1368- if ( ! cursorSvg ) {
1369- this . cursorSvg = null ;
1370- return ;
1371- }
1372-
1373- if ( ! this . fieldGroup_ ) {
1374- throw new Error ( `The field group is ${ this . fieldGroup_ } .` ) ;
1375- }
1376- this . fieldGroup_ . appendChild ( cursorSvg ) ;
1377- this . cursorSvg = cursorSvg ;
1378- }
1379-
1380- /**
1381- * Add the marker SVG to this fields SVG group.
1382- *
1383- * @param markerSvg The SVG root of the marker to be added to the field group.
1384- * @internal
1385- */
1386- setMarkerSvg ( markerSvg : SVGElement ) {
1387- if ( ! markerSvg ) {
1388- this . markerSvg = null ;
1389- return ;
1390- }
1391-
1392- if ( ! this . fieldGroup_ ) {
1393- throw new Error ( `The field group is ${ this . fieldGroup_ } .` ) ;
1394- }
1395- this . fieldGroup_ . appendChild ( markerSvg ) ;
1396- this . markerSvg = markerSvg ;
1397- }
1398-
13991349 /** See IFocusableNode.getFocusableElement. */
14001350 getFocusableElement ( ) : HTMLElement | SVGElement {
14011351 if ( ! this . fieldGroup_ ) {
0 commit comments