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