|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for writing popup field editors.
Method Summary | |
void |
addPopupListener(com.klg.jclass.util.swing.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(com.klg.jclass.util.swing.JCPopupListener l)
Removes a JCPopupListener. |
void |
setFont(Font f)
Sets the Font of the popup. |
void |
setLocale(Locale locale)
Sets the locale being used by the popup |
void |
setValue(Object value)
Sets the value in the popup component. |
Method Detail |
public JComponent getEditorComponent()
public void addPopupListener(com.klg.jclass.util.swing.JCPopupListener l)
public void removePopupListener(com.klg.jclass.util.swing.JCPopupListener l)
public void setValue(Object value)
public boolean processKeyEvent(KeyEvent e)
public void setLocale(Locale locale)
locale
- The new locale to be usedpublic void setFont(Font f)
Font
of the popup. This font gets propagated to the
child components
f
- the new Font
for the popup
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |