Methods Summary |
---|
void | button1_actionPerformed(java.awt.event.ActionEvent e)
searchName = textField1.getText();
dispose();
this.target.search();
|
java.lang.String | getSearchName()
return searchName;
|
void | setTarget(FamilyFrame target)
this.target = target;
|
void | setup()
this.setSize(new Dimension(400, 60));
this.setTitle("Search for Individual...");
this.addWindowListener(new Search_this_windowAdapter(this));
this.setBackground(Color.gray);
textField1.setColumns(40);
textField1.addKeyListener(new Search_textField1_keyAdapter(this));
button1.setLabel("Search");
button1.addActionListener(new Search_button1_actionAdapter(this));
this.setLayout(gridLayout1);
this.add(panel1, null);
panel1.add(textField1, null);
panel1.add(button1, null);
|
void | textField1_keyPressed(java.awt.event.KeyEvent e)
if(e.getKeyCode() == KeyEvent.VK_ENTER)
{
searchName = textField1.getText();
dispose();
this.target.search();
}
|
void | this_windowClosing(java.awt.event.WindowEvent e)
dispose();
|