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());
JLabel label = (JLabel)hashtable.get(anObject.toString());
if (label != null)
panel.setIcon(label.getIcon());
else
panel.setIcon(questionIcon);
}
|