Override UILabel Methods
326867
def textRectForBounds(bounds, limitedToNumberOfLines: num_of_lines)
	    required_rect = rect_fitting_text_for_container_size(bounds.size, for_number_of_line: num_of_lines)
	    text_container.size = required_rect.size
	    required_rect
    end
1016394
public void setLabel(final String label) {
        if (label != null)
            attrMixin.setAttribute(LABEL, label);
        else
            attrMixin.removeAttribute(LABEL);
    }
1092019
def strip_label(mapper, connection, target):
    """"""
    if target.label is not None:
        target.label = target.label.strip()
1340534
public void setLabel(final Object targetObj, final String label) {
        
        ArgUtils.notNull(targetObj, "targetObj");
        ArgUtils.notEmpty(label, "label");
        
        labelSetter.ifPresent(setter -> setter.set(targetObj, label));
    }
234775
@Override
    public void revertLabels(@NonNull INDArray[] labels, INDArray[] maskArrays) {
        for (int i = 0; i < labels.length; i++) {
            revertLabels(labels, maskArrays, i);
        }
    }
963575
public void setLabel(String label) {
        this.label.setText(label);

        if (!getPlaceholder().isEmpty()) {
            this.label.setStyleName(CssName.ACTIVE);
        }
    }
35052
public function setLabels($labels) 
	{
		if(is_array($labels)) {
			$this->labels = $labels;
			return $this;
		}
		
		$args = func_get_args();
		$this->labels[$args[0]] = $args[1];
		
		return $this;
	}
358787
function updateLabels(potentialLabel) {
    var lowerCaseLabel = potentialLabel.toLowerCase();
    if (!labelSet.hasOwnProperty(lowerCaseLabel)) {
      labels.push(potentialLabel);
      // now value is in our set
      labelSet[lowerCaseLabel] = true;
    }
    return lowerCaseLabel;
  }
1134594
def xyzlabel(labelx, labely, labelz):
    """"""
    xlabel(labelx)
    ylabel(labely)
    zlabel(labelz)
1206465
function fixLabels() {
        var labels = document.getElementsByTagName('label'),
            el,
            i = 0;

        function labelTap() {
            el = document.getElementById(this.getAttribute('for'));
            if (['radio', 'checkbox'].indexOf(el.getAttribute('type')) !== -1) {
                el.setAttribute('selected', !el.getAttribute('selected'));
            } else {
                el.focus();
            }
        }

        for (; labels[i]; i += 1) {
            if (labels[i].getAttribute('for')) {
                tiny.on(labels[i], ch.onpointertap, labelTap);
            }
        }
    }
713660
@Deprecated
	public void setLabel(String... labels) {
		this.label = utils.join(LABEL_DELIMITER, (Object[]) labels);
	}
780727
public static void relabel(GrayS32 input , int labels[] ) {
		if( BoofConcurrency.USE_CONCURRENT ) {
			ImplBinaryImageOps_MT.relabel(input, labels);
		} else {
			ImplBinaryImageOps.relabel(input, labels);
		}
	}
143169
public void addLabel(Label label) {
        assertNotNull(label);
        labels.add(label);
        label.setParent(this);
    }
87710
function () {
            var label = this.getLabel();
            if (label) {
                label.className = 'x' + this._skinnableClass + '_' + this._cfg.sclass + '_' + this._state + '_label'
                        + this._getFloatingLabelClass();
            }
        }
849832
public void setLabel (String label)
    {
        _label.setText(label);
        _label.setVisible(!StringUtil.isBlank(label));
    }
800789
private void setupUI(final String labelText) {
		WButton dupBtn = new WButton("Duplicate");
		dupBtn.setAction(new DuplicateAction());

		WButton clrBtn = new WButton("Clear");
		clrBtn.setAction(new ClearAction());

		add(new WLabel(labelText, textFld));
		add(textFld);
		add(dupBtn);
		add(clrBtn);
		add(new WAjaxControl(dupBtn, this));
		add(new WAjaxControl(clrBtn, this));
	}
448223
public void deselectByLabel(String label) {
        getDispatcher().beforeDeselect(this, label);
        
        new Select(getElement()).deselectByVisibleText(label);
        if (Config.getBoolConfigProperty(ConfigProperty.ENABLE_GUI_LOGGING)) {
            logUIActions(UIActions.CLEARED, label);
        }
        
        getDispatcher().afterDeselect(this, label);
    }