{
if (dim.getValue().contains(e.getPoint()))
{
- dim.getKey().switchOff();
+ dim.getKey().switchFullOff();
repaint();
}
}
{
if (dim.getValue().contains(e.getPoint()))
{
- dim.getKey().switchOn();
+ dim.getKey().switchFullOn();
repaint();
}
}
switchMap.put(ms, r);
}
- g.setColor(ms.isOn() ? Color.getHSBColor(.3f, .5f, 1f) : Color.WHITE);
+ g.setColor(ms.isFullOn() ? Color.getHSBColor(.3f, .5f, 1f) : Color.WHITE);
g.fillRect(x1, y1, x2 - x1 + 1, y2 - y1 + 1);
setBlack(g);
g.drawRect(x1, y1, x2 - x1 + 1, y2 - y1 + 1);