Package jadex.base.gui
Class ComponentIdentifierDialog
- java.lang.Object
-
- jadex.base.gui.ComponentIdentifierDialog
-
public class ComponentIdentifierDialog extends java.lang.ObjectDialog for component identifier.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanabortedWas the dialog aborted?protected IExternalAccessaccessThe service provider.protected IComponentIdentifiercidThe component identifier.protected javax.swing.JDialogdiaThe dialog (created lazily).protected java.awt.ComponentparentThe parent component.
-
Constructor Summary
Constructors Constructor Description ComponentIdentifierDialog(java.awt.Component parent, IExternalAccess access)Create a new dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JDialogcreateDialog(IComponentIdentifier def, IExternalAccess access)Create the dialog.IComponentIdentifiergetComponentIdentifier(IComponentIdentifier def)Open a modal dialog to select/enter an agent identifier.
-
-
-
Field Detail
-
parent
protected java.awt.Component parent
The parent component.
-
access
protected IExternalAccess access
The service provider.
-
dia
protected javax.swing.JDialog dia
The dialog (created lazily).
-
aborted
protected boolean aborted
Was the dialog aborted?
-
cid
protected IComponentIdentifier cid
The component identifier.
-
-
Constructor Detail
-
ComponentIdentifierDialog
public ComponentIdentifierDialog(java.awt.Component parent, IExternalAccess access)Create a new dialog.
-
-
Method Detail
-
getComponentIdentifier
public IComponentIdentifier getComponentIdentifier(IComponentIdentifier def)
Open a modal dialog to select/enter an agent identifier.- Returns:
- The selected agent identifier or null, when dialog was aborted.
-
createDialog
public javax.swing.JDialog createDialog(IComponentIdentifier def, IExternalAccess access)
Create the dialog.
-
-