MCPcopy Create free account
hub / github.com/Singular/Singular / setSelected

Method setSelected

Singular/LIB/surfex/Lamp.java:446–457  ·  view source on GitHub ↗
(boolean b)

Source from the content-addressed store, hash-verified

444 }
445
446 public void setSelected(boolean b) {
447 if(previewLamp!=null){
448 previewLamp.setSelected(b);
449 }
450 if (b) {
451 setPos.setBackground(new Color(0, 255, 0));
452 } else {
453 // System.out.println("set false -----------------------------------------");
454 setPos.setBackground(null);//new Color(100, 100, 100));
455 }
456 setPos.repaint();
457 }
458
459
460

Callers 12

CurveMethod · 0.80
loadCurvesMethod · 0.80
actionPerformedMethod · 0.80
askForSurfMethod · 0.80
actionPerformedMethod · 0.80
askForPOVMethod · 0.80
EquationMethod · 0.80
loadGeneralDataMethod · 0.80
loadEquationsMethod · 0.80
actionPerformedMethod · 0.80
setSelectedLampMethod · 0.80
setIsShiningMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected