com.partnersoft.codex.editors
Class CogComboBox

java.lang.Object
  extended by com.partnersoft.codex.editors.AbstractCogField
      extended by com.partnersoft.codex.editors.CogComboBox
All Implemented Interfaces:
CogField

public class CogComboBox
extends AbstractCogField

Author:
Russell Cagle, Paul Reavis Copyright 2006-2007 Partner Software, Inc.

Field Summary
 
Fields inherited from class com.partnersoft.codex.editors.AbstractCogField
listener, model, path
 
Constructor Summary
CogComboBox(CogModel model, java.lang.String path, java.lang.String... options)
           
 
Method Summary
 javax.swing.JComponent getGui()
           
 PicklistField getPicklistField()
           
protected  void updateValueImp(java.lang.String newValue)
          Subclasses should implement this to update their GUIs.
 
Methods inherited from class com.partnersoft.codex.editors.AbstractCogField
close, getModel, getPath, getValue, setValueImp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CogComboBox

public CogComboBox(CogModel model,
                   java.lang.String path,
                   java.lang.String... options)
Method Detail

getPicklistField

public PicklistField getPicklistField()

getGui

public javax.swing.JComponent getGui()

updateValueImp

protected void updateValueImp(java.lang.String newValue)
Description copied from class: AbstractCogField
Subclasses should implement this to update their GUIs. RDC: changed this to take a String because that's what the underlying Cog was returning, and I didn't know all the other possibile return types of Cog.getObject().

Specified by:
updateValueImp in class AbstractCogField