com.partnersoft.gui
Class CogStringEditor

java.lang.Object
  extended by com.partnersoft.gui.CogEditControl
      extended by com.partnersoft.gui.CogStringEditor

public class CogStringEditor
extends CogEditControl

A data-entry control for Cog primitive strings.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc. All rights reserved.

Field Summary
 
Fields inherited from class com.partnersoft.gui.CogEditControl
cogUndoStack, gui, path
 
Constructor Summary
CogStringEditor()
           
 
Method Summary
 boolean getSelectAllOnFocus()
          If true, this causes the contents to be selected whenever this component gets the focus.
 void refresh()
           
 void setDocument(javax.swing.text.Document newDoc)
           
 void setSelectAllOnFocus(boolean tizit)
           
 
Methods inherited from class com.partnersoft.gui.CogEditControl
getCogUndoStack, getEditedCog, getEditedValue, getGUI, getPath, setCogUndoStack, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CogStringEditor

public CogStringEditor()
Method Detail

refresh

public void refresh()
Specified by:
refresh in class CogEditControl

setDocument

public void setDocument(javax.swing.text.Document newDoc)

getSelectAllOnFocus

public boolean getSelectAllOnFocus()
If true, this causes the contents to be selected whenever this component gets the focus.


setSelectAllOnFocus

public void setSelectAllOnFocus(boolean tizit)