Methods Summary |
---|
public void | addActionListener(java.awt.event.ActionListener l)
panel.addActionListener(l);
|
public java.awt.Component | getEditorComponent() return panel;
|
public java.lang.Object | getItem() return panel.getText();
|
public void | removeActionListener(java.awt.event.ActionListener l)
panel.removeActionListener(l);
|
public void | selectAll() panel.selectAll();
|
public void | setItem(java.lang.Object anObject)
if (anObject != null) {
panel.setText(anObject.toString());
BookEntry entry = (BookEntry)map.get(anObject.toString());
if (entry != null)
panel.setIcon(entry.getImage());
else
panel.setIcon(questionIcon);
}
|