net.datacrow.console.components
Class DcComboBoxEditor

java.lang.Object
  extended by javax.swing.plaf.basic.BasicComboBoxEditor
      extended by net.datacrow.console.components.DcComboBoxEditor
All Implemented Interfaces:
java.awt.event.FocusListener, java.util.EventListener, javax.swing.ComboBoxEditor

public class DcComboBoxEditor
extends javax.swing.plaf.basic.BasicComboBoxEditor


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
javax.swing.plaf.basic.BasicComboBoxEditor.UIResource
 
Field Summary
protected  javax.swing.JTextField editor
           
 
Constructor Summary
DcComboBoxEditor()
           
 
Method Summary
 void addActionListener(java.awt.event.ActionListener l)
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 java.awt.Component getEditorComponent()
           
 java.lang.Object getItem()
           
 void removeActionListener(java.awt.event.ActionListener l)
           
 void selectAll()
           
 void setItem(java.lang.Object anObject)
          Sets the item that should be edited.
 
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
createEditorComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editor

protected javax.swing.JTextField editor
Constructor Detail

DcComboBoxEditor

public DcComboBoxEditor()
Method Detail

getEditorComponent

public java.awt.Component getEditorComponent()
Specified by:
getEditorComponent in interface javax.swing.ComboBoxEditor
Overrides:
getEditorComponent in class javax.swing.plaf.basic.BasicComboBoxEditor

setItem

public void setItem(java.lang.Object anObject)
Sets the item that should be edited.

Specified by:
setItem in interface javax.swing.ComboBoxEditor
Overrides:
setItem in class javax.swing.plaf.basic.BasicComboBoxEditor
Parameters:
anObject - the displayed value of the editor

getItem

public java.lang.Object getItem()
Specified by:
getItem in interface javax.swing.ComboBoxEditor
Overrides:
getItem in class javax.swing.plaf.basic.BasicComboBoxEditor

selectAll

public void selectAll()
Specified by:
selectAll in interface javax.swing.ComboBoxEditor
Overrides:
selectAll in class javax.swing.plaf.basic.BasicComboBoxEditor

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener
Overrides:
focusGained in class javax.swing.plaf.basic.BasicComboBoxEditor

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener
Overrides:
focusLost in class javax.swing.plaf.basic.BasicComboBoxEditor

addActionListener

public void addActionListener(java.awt.event.ActionListener l)
Specified by:
addActionListener in interface javax.swing.ComboBoxEditor
Overrides:
addActionListener in class javax.swing.plaf.basic.BasicComboBoxEditor

removeActionListener

public void removeActionListener(java.awt.event.ActionListener l)
Specified by:
removeActionListener in interface javax.swing.ComboBoxEditor
Overrides:
removeActionListener in class javax.swing.plaf.basic.BasicComboBoxEditor