JClass 4.5.0 API
Documentation

com.klg.jclass.field.validate
Interface PopupFieldEditor


public interface PopupFieldEditor

Interface for writing popup field editors.


Method Summary
 void addPopupListener(JCPopupListener l)
          Add a JCPopupListener to the popup to inform when the value in the popup component has been committed.
 JComponent getEditorComponent()
          Returns the component in the popup.
 boolean processKeyEvent(KeyEvent e)
          Process key events passed from the ComboBox and returns whether or not the popup processed the key.
 void removePopupListener(JCPopupListener l)
          Removes a JCPopupListener.
 void setValue(Object value)
          Sets the value in the popup component.
 

Method Detail

getEditorComponent

public JComponent getEditorComponent()
Returns the component in the popup.

addPopupListener

public void addPopupListener(JCPopupListener l)
Add a JCPopupListener to the popup to inform when the value in the popup component has been committed.

removePopupListener

public void removePopupListener(JCPopupListener l)
Removes a JCPopupListener.

setValue

public void setValue(Object value)
Sets the value in the popup component.

processKeyEvent

public boolean processKeyEvent(KeyEvent e)
Process key events passed from the ComboBox and returns whether or not the popup processed the key.

Copyright© 1999-2000 KL Group Inc.
All rights reserved.