ilog.views.maps.beans.editor
Class IlvNonNullStringEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by ilog.views.maps.beans.editor.IlvNonNullStringEditor
All Implemented Interfaces:
PropertyEditor

public class IlvNonNullStringEditor
extends PropertyEditorSupport

A String editor that avoids having null garbage in the property sheet.

Since:
JViews 7.5

Constructor Summary
IlvNonNullStringEditor()
          Construct a IlvNonNullStringEditor.
 
Method Summary
 String getAsText()
          Gets the property value as a string suitable for presentation to a human to edit.
 void setAsText(String t)
          
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvNonNullStringEditor

public IlvNonNullStringEditor()
Construct a IlvNonNullStringEditor.

Method Detail

getAsText

public String getAsText()
Gets the property value as a string suitable for presentation to a human to edit.

Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
Returns:
The property value as a string suitable for presentation to a human to edit.

setAsText

public void setAsText(String t)

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
See Also:
PropertyEditorSupport.setAsText(java.lang.String)


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.