Package jadex.base.gui
Class ComponentIdentifierDialog
- java.lang.Object
-
- jadex.base.gui.ComponentIdentifierDialog
-
public class ComponentIdentifierDialog extends java.lang.Object
Dialog for component identifier.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
aborted
Was the dialog aborted?protected IExternalAccess
access
The service provider.protected IComponentIdentifier
cid
The component identifier.protected javax.swing.JDialog
dia
The dialog (created lazily).protected java.awt.Component
parent
The 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.JDialog
createDialog(IComponentIdentifier def, IExternalAccess access)
Create the dialog.IComponentIdentifier
getComponentIdentifier(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.
-
-