Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Friday, November 12, 2004


{
wc.layerManager.getLayer("Network TRIM").getLabelStyle().height = 8;
wc.layerManager.getLayer("Network DRA").getLabelStyle().height = 8;
wc.layerManager.getLayer("Network TRIM").getLabelStyle().hidingOverlappingLabels = false;
wc.layerManager.getLayer("Network DRA").getLabelStyle().hidingOverlappingLabels = false;
wc.layerManager.getLayer("Network TRIM").getLabelStyle().color = Color.RED;
wc.layerManager.getLayer("Network DRA").getLabelStyle().color = Color.BLUE;
wc.layerManager.getLayer("Network TRIM").getLabelStyle().attribute = "Reviewed";
wc.layerManager.getLayer("Network DRA").getLabelStyle().attribute = "Reviewed";
wc.layerManager.getLayer("Network TRIM").getLabelStyle().verticalAlignment = "ABOVE_LINE";
wc.layerManager.getLayer("Network DRA").getLabelStyle().verticalAlignment = "BELOW_LINE";
wc.layerManager.getLayer("Network TRIM").getLabelStyle().enabled = true;
wc.layerManager.getLayer("Network DRA").getLabelStyle().enabled = true;
wc.layerViewPanel.repaint();
}

0 Comments:

Post a Comment

<< Home