Ontimize 5.2072EN

com.ontimize.gui.attachment
Class MouseHandler

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended bycom.ontimize.gui.attachment.MouseHandler
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener

public class MouseHandler
extends java.awt.event.MouseAdapter
implements java.awt.event.MouseMotionListener


Nested Class Summary
protected  class MouseHandler.JDescriptionPanelExtended
           
 
Field Summary
protected  java.lang.String attachmentEntity
           
protected  AttachmentListPopup attachmentListPopup
           
protected  boolean bNeedUpdate
           
protected  javax.swing.JDialog dDescriptionDialog
           
protected  MouseHandler.JDescriptionPanelExtended descriptionPopupEditor
           
protected  EJDialog edDescription
           
protected  javax.swing.JFileChooser fileChooser
           
protected  Form form
           
protected static java.lang.String M_ERROR_CHANGE_PRIVATE_ATTACHMENT
          GUI text
 
Constructor Summary
MouseHandler(Form form, AttachmentListPopup alp)
           
 
Method Summary
 void configureDescriptionDialog(int sel)
          Configures the dialog to show description and private fields.
 void configurePrivateAction(int selectedRecord)
           
protected  Entity getAttachmentEntity()
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

M_ERROR_CHANGE_PRIVATE_ATTACHMENT

protected static final java.lang.String M_ERROR_CHANGE_PRIVATE_ATTACHMENT
GUI text

See Also:
Constant Field Values

form

protected Form form

attachmentListPopup

protected AttachmentListPopup attachmentListPopup

attachmentEntity

protected java.lang.String attachmentEntity

fileChooser

protected javax.swing.JFileChooser fileChooser

descriptionPopupEditor

protected MouseHandler.JDescriptionPanelExtended descriptionPopupEditor

dDescriptionDialog

protected javax.swing.JDialog dDescriptionDialog

edDescription

protected EJDialog edDescription

bNeedUpdate

protected boolean bNeedUpdate
Constructor Detail

MouseHandler

public MouseHandler(Form form,
                    AttachmentListPopup alp)
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

configureDescriptionDialog

public void configureDescriptionDialog(int sel)
Configures the dialog to show description and private fields.

Parameters:
sel - Selected attachment

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

getAttachmentEntity

protected Entity getAttachmentEntity()

configurePrivateAction

public void configurePrivateAction(int selectedRecord)

Ontimize