Add a hyperlink
@param url URL
@param label Label for the cell
@return the cell
779513
public ExcelCell newCell(String url, String label) {
        return row.newCell().link(url, label);
    }
237576
public static InsnList addLabel(LabelNode labelNode) {
        Validate.notNull(labelNode);

        InsnList ret = new InsnList();
        ret.add(labelNode);

        return ret;
    }
884384
private Label getOrCreateLabel(final String name) {

		Label label = labelCache.get(name);
		if (label == null) {

			label = new LabelImpl(name);
			labelCache.put(name, label);
		}

		return label;
	}
1148453
public T url(String url) {
        if (view!=null) {
            if (view instanceof WebView) {
                ((WebView)view).loadUrl(url);
            }
            if (view instanceof TextView) {
                ((TextView)view).setAutoLinkMask(Linkify.ALL);
                text(url);
            }
        }
        return self();
    }
1077945
public static function add($label, $urlCode = null, $addedArgs = array())
  {
    self::$items[] = new BreadcrumbItem($label, $urlCode, $addedArgs);
  }
44125
public int add(T label,float score) {
		int j = 0;

		for(; j < labels.size(); j++)
			if(scores.get(j) < score){
				labels.add(j, label);
				scores.add(j,score);
				break;
			}

		if(j == labels.size() && labels.size() < k){
			labels.add(j, label);
			scores.add(j,score);
		}

		if(labels.size() > k){
			labels.removeLast();
			scores.removeLast();
		}
		return j;
	}
300477
public static function appendLabel($uri, $label)
    {
        $host = new Host(self::filterUri($uri)->getHost());
        if ($host->isDomain()) {
            return $uri->withHost((string) (new Domain($host))->append($label));
        }

        if ($host->isIpv4()) {
            $label = ltrim((string) new Host($label), '.');

            return $uri->withHost((string) $host->withContent($host->getContent().'.'.$label));
        }

        throw new SyntaxError(sprintf('The URI host %s can not be appended', (string) $host));
    }
895250
public static function paginationLink($label, $url, $htmlOptions = array())
    {
        $linkOptions = TbArray::popValue('linkOptions', $htmlOptions, array());
        if (TbArray::popValue('active', $htmlOptions, false)) {
            self::addCssClass('active', $htmlOptions);
            $label .= ' ' . self::tag('span', array('class' => 'sr-only'), '(current)');
        }
        if (TbArray::popValue('disabled', $htmlOptions, false)) {
            self::addCssClass('disabled', $htmlOptions);
        }
        $content = self::link($label, $url, $linkOptions);
        return self::tag('li', $htmlOptions, $content);
    }
195803
public function createLink($label, $href = null)
    {
        $link = new Link($label, $href);

        if ( ! $this->links instanceof ArrayIterator) {
            $this->links = new ArrayIterator();
        }

        $this->links->push($link);
    }
1352040
public function addCancelLink($url, $label = "Cancel") {
		$this->actions->removeByname("cancellink");
		$cancellink = new AnchorField("cancellink", $label, $url);
		$this->actions->unshift($cancellink);
	}
963262
private void appendBreadCrumbEntry(StringBuffer buffer, String target, String label) {

        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(target)) {
            buffer.append("<a href=\"#!").append(target).append(
                "\" title=\"" + CmsDomUtil.escapeXml(label) + "\"><span>").append(label).append("</span></a>");
        } else {
            buffer.append(
                "<span class=\"o-tools-breadcrumb-active\" title=\""
                    + CmsDomUtil.escapeXml(label)
                    + "\"><span>").append(label).append("</span></span>");
        }
    }
696699
public function hyperlink($label, $url, $options=array())
    {
        $defaults = array(
            'class' => 'btn btn-info'
        );
        $options = array_merge($defaults, $options);
        return parent::hyperlink($label, $url, $options);
    }
1199940
public static Hyperlink getHyperlink(final Cell cell) {

        ArgUtils.notNull(cell, "cell");

        Hyperlink link = cell.getHyperlink();
        if(link != null) {
            return link;
        }

        final Sheet sheet = cell.getSheet();
        CellRangeAddress mergedRange = getMergedRegion(sheet, cell.getRowIndex(), cell.getColumnIndex());
        if(mergedRange == null) {
            return null;
        }

        for(Hyperlink item : sheet.getHyperlinkList()) {
            if(item.getFirstRow() == mergedRange.getFirstRow()
                    && item.getFirstColumn() == mergedRange.getFirstColumn()) {
                return item;
            }

        }

        return null;

    }
1228200
public static function prependLabel($uri, $label)
    {
        $host = new Host(self::filterUri($uri)->getHost());
        if ($host->isDomain()) {
            return $uri->withHost((string) (new Domain($host))->prepend($label));
        }

        if ($host->isIpv4()) {
            $label = rtrim((string) new Host($label), '.');

            return $uri->withHost((string) $host->withContent($label.'.'.$host->getContent()));
        }

        throw new SyntaxError(sprintf('The URI host %s can not be prepended', (string) $host));
    }
454516
protected Content getNavLinkMainTree(String label) {
        Content mainTreeContent = getHyperLink(pathToRoot.resolve(DocPaths.OVERVIEW_TREE),
                new StringContent(label));
        Content li = HtmlTree.LI(mainTreeContent);
        return li;
    }
290276
public Cell addCell(Row row, String label) {
        Cell cell = new Cell(label);
        row.addChild(cell);
        return cell;
    }
429626
public Input addTextField(String tag, 
                              String label,
                              int length,
                              String value)
    {
        Input i = new Input(Input.Text,tag,value);
        i.setSize(length);
        addField(label,i);
        return i;
    }