com.japisoft.framework.dialog.report
Class BugReportingAction
java.lang.Object
javax.swing.AbstractAction
com.japisoft.framework.dialog.report.BugReportingAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Direct Known Subclasses:
- RequestReportingAction
- public class BugReportingAction
- extends javax.swing.AbstractAction
- Version:
- 1.0
- Author:
- (c) 2004 JAPISoft / http://www.japisoft.com
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.String type
userInformation
protected java.lang.String userInformation
image
protected java.lang.String image
dialogTitle
protected java.lang.String dialogTitle
BugReportingAction
public BugReportingAction(java.lang.String url)
- Parameters:
url - Remote server processing user information
BugReportingAction
public BugReportingAction()
setURLReport
public void setURLReport(java.lang.String url)
- Parameters:
url - Remote server processing user information
getURLReport
public java.lang.String getURLReport()
getType
public java.lang.String getType()
- Returns:
- the current type of error. By default BUG
setType
public void setType(java.lang.String type)
- Override the default type of error
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
showDialog
protected void showDialog(DialogActionModel model,
javax.swing.JPanel panel)
getUserInformation
public java.lang.String getUserInformation()
- Returns:
- the user information available in the dialog header
setUserInformation
public void setUserInformation(java.lang.String userInformation)
- Reset the user information available in the dialog header