Ontimize 5.2071EN

com.ontimize.gui.actions
Class AttachmentFileAction

java.lang.Object
  extended bycom.ontimize.gui.actions.AbstractButtonAction
      extended bycom.ontimize.gui.actions.AttachmentFileAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class AttachmentFileAction
extends AbstractButtonAction

Copyright: Copyright (c) 2003

Version:
1.0

Nested Class Summary
protected  class AttachmentFileAction.SendThread
           
 
Field Summary
protected  boolean addDescription
           
protected  java.lang.String entityName
           
protected  javax.swing.JFileChooser fileChooser
           
protected static java.io.File lastDirectory
           
static java.lang.String M_INSERT_DESCRIPTION_ATTACHMENT_FILE
           
protected  boolean refreshForm
           
protected  int sizeBlock
           
protected  boolean synchronize
           
protected  java.lang.String uriSound
           
 
Constructor Summary
AttachmentFileAction(java.lang.String entity, boolean addDescription, boolean refreshForm)
           
AttachmentFileAction(java.lang.String entity, boolean addDescription, boolean refreshForm, boolean wait)
           
AttachmentFileAction(java.lang.String entity, boolean addDescription, boolean refreshForm, boolean wait, java.lang.String uriSound)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  ExtendedOperationThread createSendThread(Form f, java.io.File selectedFile, java.lang.String description, java.lang.String uriSound)
           
protected  java.util.Hashtable getAttachmentValuesKeys(Form f)
           
protected  void sendFile(Form f, java.io.File file, java.lang.String descr, java.lang.String uriSound)
           
 
Methods inherited from class com.ontimize.gui.actions.AbstractButtonAction
getForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

M_INSERT_DESCRIPTION_ATTACHMENT_FILE

public static final java.lang.String M_INSERT_DESCRIPTION_ATTACHMENT_FILE
See Also:
Constant Field Values

sizeBlock

protected int sizeBlock

entityName

protected java.lang.String entityName

fileChooser

protected javax.swing.JFileChooser fileChooser

refreshForm

protected boolean refreshForm

addDescription

protected boolean addDescription

synchronize

protected boolean synchronize

uriSound

protected java.lang.String uriSound

lastDirectory

protected static java.io.File lastDirectory
Constructor Detail

AttachmentFileAction

public AttachmentFileAction(java.lang.String entity,
                            boolean addDescription,
                            boolean refreshForm)

AttachmentFileAction

public AttachmentFileAction(java.lang.String entity,
                            boolean addDescription,
                            boolean refreshForm,
                            boolean wait)

AttachmentFileAction

public AttachmentFileAction(java.lang.String entity,
                            boolean addDescription,
                            boolean refreshForm,
                            boolean wait,
                            java.lang.String uriSound)
Method Detail

getAttachmentValuesKeys

protected java.util.Hashtable getAttachmentValuesKeys(Form f)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

createSendThread

protected ExtendedOperationThread createSendThread(Form f,
                                                   java.io.File selectedFile,
                                                   java.lang.String description,
                                                   java.lang.String uriSound)

sendFile

protected void sendFile(Form f,
                        java.io.File file,
                        java.lang.String descr,
                        java.lang.String uriSound)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

Ontimize