com.partnersoft.codex.editors
Class CogIconField

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

public class CogIconField
extends AbstractCogField

Copyright 2006 Partner Software, Inc.

Author:
Paul Reavis

Field Summary
 
Fields inherited from class com.partnersoft.codex.editors.AbstractCogField
listener, model, path
 
Constructor Summary
CogIconField(CogModel model, java.lang.String path)
           
 
Method Summary
 javax.swing.JComponent getGui()
           
 IconField getIconField()
           
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

CogIconField

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

getIconField

public IconField getIconField()

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

getGui

public javax.swing.JComponent getGui()