public Color getBackgroundColor() { return OWLSystemColors.getOWLClassColor(); } };
public OWLDataPropertyIcon() { super(OWLSystemColors.getOWLDataPropertyColor()); } }
public Color getBackgroundColor() { return OWLSystemColors.getOWLIndividualColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLObjectPropertyColor(); } };
public OWLAnnotationPropertyIcon() { super(OWLSystemColors.getOWLAnnotationPropertyColor()); } }
private void setupRenderers() { controller.setNodeLabelRenderer(new NodeLabelRenderer() { public String getLabel(Node node) { OWLOntology ont = (OWLOntology) node.getUserObject(); // @@TODO what about anonymous ontologies? String label = ont.getOntologyID().getDefaultDocumentIRI().toString(); label = label.substring(label.lastIndexOf("/") + 1); return label; } }); controller.setNodeRenderer(new DefaultNodeRenderer(controller) { private Color lineColor = Color.LIGHT_GRAY; private Color activeOntologyFillColor = new Color(205, 220, 243); public Color activeOntologiesLineColor = OWLSystemColors.getOWLOntologyColor();; protected Color getFillColor(Node node) { if (node.getUserObject().equals(getOWLModelManager().getActiveOntology())) { return activeOntologyFillColor; } return Color.WHITE; } protected Color getLineColor(Node node) { if (getOWLModelManager().getActiveOntologies().contains(node.getUserObject())){ return activeOntologiesLineColor; } return lineColor; } }); }
public Color getBackgroundColor() { return OWLSystemColors.getOWLObjectPropertyColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLClassColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLObjectPropertyColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLDataPropertyColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLIndividualColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLClassColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLObjectPropertyColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLDataPropertyColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLIndividualColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLClassColor(); } };
g2.setStroke(RELATIONSHIP_STROKE); if (relationship != null) { g.setColor(OWLSystemColors.getOWLObjectPropertyColor());
public Color getBackgroundColor() { return OWLSystemColors.getOWLDataPropertyColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLIndividualColor(); } };
public Color getBackgroundColor() { return OWLSystemColors.getOWLClassColor(); } };