private void fireItemKeyPressed(VisualItem item, KeyEvent e) { Object[] listeners = m_controls.getArray(); if (listeners.length == 0) return; for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemKeyPressed(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemClicked(VisualItem item, MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemClicked(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemDragged(VisualItem item, MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemDragged(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemMoved(VisualItem item, MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemMoved(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemKeyTyped(VisualItem item, KeyEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemKeyTyped(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemKeyReleased(VisualItem item, KeyEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemKeyReleased(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseClicked(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseClicked(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireKeyReleased(KeyEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.keyReleased(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseDragged(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseDragged(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireKeyPressed(KeyEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.keyPressed(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemReleased(VisualItem item, MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemReleased(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseExited(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseExited(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseReleased(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseReleased(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseMoved(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseMoved(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemPressed(VisualItem item, MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemPressed(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireItemWheelMoved(VisualItem item, MouseWheelEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.itemWheelMoved(item, e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseEntered(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseEntered(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMousePressed(MouseEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mousePressed(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireMouseWheelMoved(MouseWheelEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.mouseWheelMoved(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }
private void fireKeyTyped(KeyEvent e) { Object[] listeners = m_controls.getArray(); for (int i = 0; i < listeners.length; ++i) { Control ctrl = (Control) listeners[i]; if (ctrl.isEnabled()) try { ctrl.keyTyped(e); } catch ( Exception ex ) { s_logger.warning( "Exception thrown by Control: " + ex + "\n" + StringLib.getStackTrace(ex)); } } }