Package jade.tools.gui
Class ACLTimeChooserDialog
- java.lang.Object
-
- jade.tools.gui.ACLTimeChooserDialog
-
- All Implemented Interfaces:
ActionListener,EventListener
public class ACLTimeChooserDialog extends Object implements ActionListener
The TimeChooser class can be used to let the user define a certain point in time by means of a dialog window. Used for for filling the reply-by attribute of an ACL.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita` di Parma, Chris van Aart - Acklin
-
-
Constructor Summary
Constructors Constructor Description ACLTimeChooserDialog()Constructor for the TimeChooserDialog objectACLTimeChooserDialog(Date d)Constructor for the TimeChooserDialog object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent e)Description of the MethodDategetDate()Gets the Date attribute of the TimeChooserDialog objectstatic voidmain(String[] args)voidsetDate(Date d)Sets the Date attribute of the TimeChooserDialog objectintshowEditTimeDlg(JFrame parent)Description of the MethodvoidshowViewTimeDlg(JFrame parent)Description of the Method
-
-
-
Field Detail
-
ABSOLUTE
public static final int ABSOLUTE
Description of the Field- See Also:
- Constant Field Values
-
RELATIVE
public static final int RELATIVE
Description of the Field- See Also:
- Constant Field Values
-
OK
public static final int OK
Description of the Field- See Also:
- Constant Field Values
-
CANCEL
public static final int CANCEL
Description of the Field- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ACLTimeChooserDialog
public ACLTimeChooserDialog()
Constructor for the TimeChooserDialog object
-
ACLTimeChooserDialog
public ACLTimeChooserDialog(Date d)
Constructor for the TimeChooserDialog object- Parameters:
d- Description of Parameter
-
-
Method Detail
-
main
public static void main(String[] args)
- Parameters:
args- The command line arguments
-
getDate
public Date getDate()
Gets the Date attribute of the TimeChooserDialog object- Returns:
- The Date value
-
setDate
public void setDate(Date d)
Sets the Date attribute of the TimeChooserDialog object- Parameters:
d- The new Date value
-
showEditTimeDlg
public int showEditTimeDlg(JFrame parent)
Description of the Method- Parameters:
parent- Description of Parameter- Returns:
- Description of the Returned Value
-
showViewTimeDlg
public void showViewTimeDlg(JFrame parent)
Description of the Method- Parameters:
parent- Description of Parameter
-
actionPerformed
public void actionPerformed(ActionEvent e)
Description of the Method- Specified by:
actionPerformedin interfaceActionListener- Parameters:
e- Description of Parameter
-
-