use of org.onosproject.ui.topo.LinkHighlight.Flavor in project onos by opennetworkinglab.
the class TrafficLink method highlightForFlowCount.
private LinkHighlight highlightForFlowCount() {
Flavor flavor = flows > 0 ? PRIMARY_HIGHLIGHT : SECONDARY_HIGHLIGHT;
LinkHighlight hlite = new LinkHighlight(linkId(), flavor).setLabel(formatFlows(flows));
return addCustomMods(hlite);
}
Aggregations