de.guibuilder.framework.event
Class GuiDblClickEvent

java.lang.Object
  extended by de.guibuilder.framework.event.GuiUserEvent
      extended by de.guibuilder.framework.event.GuiChangeEvent
          extended by de.guibuilder.framework.event.GuiDblClickEvent

public final class GuiDblClickEvent
extends GuiChangeEvent

Title: GuiBuilder Description: Copyright: Copyright (c) 2001 Company:

Version:
0.9.3d
Author:
Peter Köker

Field Summary
 java.awt.event.MouseEvent mouseEvent
           
 
Fields inherited from class de.guibuilder.framework.event.GuiChangeEvent
bValue, component, dValue, index, iValue, lValue, row, value
 
Fields inherited from class de.guibuilder.framework.event.GuiUserEvent
ACTION, cancel, CHANGE, CLICK, CREATE, DBL_CLICK, DRAG_ENTER, DRAG_EXIT, DRAG_OVER, DROP, FILEDROP, KEY, LOST_FOCUS, member, MESSAGE_BOX, MOUSE_MOVED, MOUSE_OVER, NODE_CHANGE, POPUP_SHOW, TAB, TABLE, TREE, window, WINDOW
 
Constructor Summary
GuiDblClickEvent(GuiWindow win, GuiComponent comp, java.lang.Object val, java.awt.event.MouseEvent me)
           
 
Method Summary
 int getEventType()
          Liefert den jeweiligen Event-Typ; dieses soll Ketten von if (... instanceof ...) else if ...
 
Methods inherited from class de.guibuilder.framework.event.GuiChangeEvent
getComponent, getValue
 
Methods inherited from class de.guibuilder.framework.event.GuiUserEvent
getMember, getWindow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mouseEvent

public java.awt.event.MouseEvent mouseEvent
Constructor Detail

GuiDblClickEvent

public GuiDblClickEvent(GuiWindow win,
                        GuiComponent comp,
                        java.lang.Object val,
                        java.awt.event.MouseEvent me)
Method Detail

getEventType

public final int getEventType()
Description copied from class: GuiUserEvent
Liefert den jeweiligen Event-Typ; dieses soll Ketten von if (... instanceof ...) else if ... vermeiden.


 public final void userActionPerformed(GuiUserEvent event) {
    switch (event.getEventType() ) {
    case GuiUserEvent.ACTION:
       GuiActionEvent action = (GuiActionEvent)event;
       ...
       break;
    case GuiUserEvent.CHANGE:
       GuiChangeEvent change = (GuiChangeEvent)event;
       ...
       break;
    ...
    }
 }
 

Overrides:
getEventType in class GuiChangeEvent