public class LinkField extends Object implements ActionListener
| Constructor and Description |
|---|
LinkField(G9DialogController gc)
Creates a new LinkField instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
String |
getId1()
Returns the Id1
|
String |
getId2()
Returns the id2
|
boolean |
isComplete()
Check if this link is complete
|
void |
setComponent1(String id1,
JComponent x,
Map data)
Sets the first component
|
void |
setComponent2(String id2,
JComponent x,
Map data)
Sets the second component
|
void |
update1()
Updates the second component
|
void |
update2()
Updates the first component
|
public LinkField(G9DialogController gc)
gc - the controllerpublic String getId1()
public String getId2()
public void setComponent1(String id1, JComponent x, Map data)
id1 - id of first componentx - the componentdata - the data map.public void setComponent2(String id2, JComponent x, Map data)
id2 - id of second componentx - the second componentdata - the data mappublic void update1()
public void update2()
public boolean isComplete()
true if this link is complete.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2006–2018 Esito AS. All rights reserved.