private void apply() { int size = getPanelsSize(); for (int i = 0; i < size; i++) { getPanel(i).apply(); } // System.out.println("apply from dialog"); gui.getTopPane().draw(); }
/** run method for class */ public void run() { GUI gui = (GUI) registeredObject; GPane pane = gui.getTopPane(); pane.setMode(GPane.DRAW_MARKER_MODE); super.setSelected(true); gui.getNotifier().firePaneEvent(this); gui.getProgressMeter().getPanel().repaint(); }
/** run method for class */ public void run() { GUI gui = (GUI) registeredObject; GPane pane = gui.getTopPane(); int increments = 10; for (int i = 0; i < increments; i++) gui.getGMap() .getGDraw() .add( new GLine( new GPhysicalPoint((90 / increments) * i, -170.0), new GPhysicalPoint((90 / increments) * i, 170.0))); pane.draw(); }
/** Pane event method for class. */ public void paneEvent(Object object) { GUI gui = (GUI) registeredObject; GPane pane = gui.getTopPane(); if (pane == null) return; super.setSelected(pane.getMode() == GPane.DRAW_MARKER_MODE); }