com.partnersoft.codex.editors
Class CogBooleanField

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

public class CogBooleanField
extends AbstractCogField

Connects a boolean value in a CogModel to a checkbox.

Copyright 2006-2007 Partner Software, Inc.

Version:
$Id$
Author:
Russell Cagle, Paul Reavis

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

CogBooleanField

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

getGui

public javax.swing.JComponent getGui()

updateValueImp

protected void updateValueImp(java.lang.String value)
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