protected void notifyRightSwitch(boolean pressed) {
for (int i = 0; i < switchListeners.size(); i++) {
if (pressed)
((JagSwitchListener) switchListeners.elementAt(i))
.rightSwitchPressed(new JagSwitchEvent(this,
JagSwitchEvent.RIGHT_PRESSED, "rightSwitch"));
else
((JagSwitchListener) switchListeners.elementAt(i))
.rightSwitchReleased(new JagSwitchEvent(this,
JagSwitchEvent.RIGHT_RELEASED, "rightSwitch"));
}
}