Exemplo n.º 1
0
 public void componentResized(ComponentEvent e) {
   try {
     resizeEvent.raise(this, new BEventArgs());
   } catch (Exception ex) {
     System.err.println("BButton#componentResized; ex=" + ex);
   }
 }
Exemplo n.º 2
0
 public void componentShown(ComponentEvent e) {
   try {
     visibleChangedEvent.raise(this, new BEventArgs());
   } catch (Exception ex) {
     System.err.println("BButton#componentShown; ex=" + ex);
   }
 }
Exemplo n.º 3
0
 public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
   try {
     BCancelEventArgs e1 = new BCancelEventArgs();
     openingEvent.raise(this, e1);
     if (e1.Cancel) {
       setVisible(false);
     }
   } catch (Exception ex) {
     System.err.println("BPopupMenu#popupMenuWillBecomeVisible; ex=" + ex);
   }
 }