Rectangle2D tmp = ports[i].getBounds(); Component parentRenderer = ports[i].getParentView() .getRendererComponent(graph, false, false, false); boolean withoutports = false; try {
CellView view = getGraphLayoutCache().getMapping(cell, false); if (view != null) { Component c = view.getRendererComponent(this, false, false, false); if (c instanceof JComponent) {
boolean focus = (getFocusedCell() == cell) && graph.hasFocus(); Component component = view.getRendererComponent(graph, focus, false, false); if (component != null) {
boolean bfocus = (view == this.focus); boolean sel = graph.isCellSelected(view.getCell()); Component component = view.getRendererComponent(graph, sel, bfocus, preview); Stroke oldstr = ((Graphics2D) g).getStroke();