Ontimize 5.2072EN

com.ontimize.gui.field
Class ComboDataField.CustomComboBoxEditor

java.lang.Object
  extended bycom.ontimize.gui.field.ComboDataField.CustomComboBoxEditor
All Implemented Interfaces:
javax.swing.ComboBoxEditor
Enclosing class:
ComboDataField

protected static class ComboDataField.CustomComboBoxEditor
extends java.lang.Object
implements javax.swing.ComboBoxEditor

This class extends the editor component used for JComboBox components.

Author:
Imatia Innovation

Field Summary
protected  javax.swing.ComboBoxEditor editor
          The reference for a combo box editor.
 
Constructor Summary
ComboDataField.CustomComboBoxEditor(javax.swing.ComboBoxEditor ed)
          The class constructor.
 
Method Summary
 void addActionListener(java.awt.event.ActionListener l)
           
 java.awt.Component getEditorComponent()
           
 java.lang.Object getItem()
           
 void removeActionListener(java.awt.event.ActionListener l)
           
 void selectAll()
           
 void setItem(java.lang.Object anObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editor

protected javax.swing.ComboBoxEditor editor
The reference for a combo box editor. By default, null.

Constructor Detail

ComboDataField.CustomComboBoxEditor

public ComboDataField.CustomComboBoxEditor(javax.swing.ComboBoxEditor ed)
The class constructor. Fix the editor value.

Parameters:
ed - the editor value
Method Detail

getEditorComponent

public java.awt.Component getEditorComponent()
Specified by:
getEditorComponent in interface javax.swing.ComboBoxEditor

setItem

public void setItem(java.lang.Object anObject)
Specified by:
setItem in interface javax.swing.ComboBoxEditor

getItem

public java.lang.Object getItem()
Specified by:
getItem in interface javax.swing.ComboBoxEditor

selectAll

public void selectAll()
Specified by:
selectAll in interface javax.swing.ComboBoxEditor

addActionListener

public void addActionListener(java.awt.event.ActionListener l)
Specified by:
addActionListener in interface javax.swing.ComboBoxEditor

removeActionListener

public void removeActionListener(java.awt.event.ActionListener l)
Specified by:
removeActionListener in interface javax.swing.ComboBoxEditor

Ontimize