ilog.views.maps.beans.editor
Class IlvCoordinateEditor

java.lang.Object
  extended by ilog.views.maps.beans.editor.IlvCoordinateEditor
All Implemented Interfaces:
PropertyEditor
Direct Known Subclasses:
IlvLatitudeEditor, IlvLongitudeEditor

Deprecated. Beginning with ILOG JViews 8.1, use the class IlvCoordinateEditor

public abstract class IlvCoordinateEditor
extends Object
implements PropertyEditor

Generic Coordinate Editor. Allows to edit coordinate values in degrees / minutes / seconds. This class must be used in one of its two derived forms.

Since:
JViews 7.5
See Also:
IlvLatitudeEditor, IlvLongitudeEditor

Field Summary
protected  double current
          Deprecated. Current value edited.
 
Constructor Summary
IlvCoordinateEditor()
          Deprecated. Creates a new IlvCoordinateEditor.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Deprecated. 
 void firePropertyChange(double old, double newval)
          Deprecated. fire the properyChangeEvent on all listeners of the property editor.
 Component getCustomEditor()
          Deprecated. No custom editor for the property.
 String getJavaInitializationString()
          Deprecated. 
 String[] getTags()
          Deprecated. No tags for the property
 Object getValue()
          Deprecated. Returns the current value of the editor.
 boolean isPaintable()
          Deprecated. Editor in not paintable.
 void paintValue(Graphics g, Rectangle r)
          Deprecated. Does nothing since editor is not paintable.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Deprecated. 
 void setAsText(String text)
          Deprecated. Changes the value of the editor as a text.
 void setValue(Object value)
          Deprecated. Changes the value of the editor.
 boolean supportsCustomEditor()
          Deprecated. This property editor does not support a custom editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
getAsText
 

Field Detail

current

protected double current
Deprecated. 
Current value edited.

Constructor Detail

IlvCoordinateEditor

public IlvCoordinateEditor()
Deprecated. 
Creates a new IlvCoordinateEditor.

Method Detail

setValue

public void setValue(Object value)
Deprecated. 
Changes the value of the editor.

Specified by:
setValue in interface PropertyEditor
Parameters:
value - new value.
See Also:
PropertyEditor.setValue(java.lang.Object)

getValue

public Object getValue()
Deprecated. 
Returns the current value of the editor.

Specified by:
getValue in interface PropertyEditor
Returns:
Returns the current value of the editor.
See Also:
PropertyEditor.getValue()

isPaintable

public boolean isPaintable()
Deprecated. 
Editor in not paintable.

Specified by:
isPaintable in interface PropertyEditor
Returns:
false.
See Also:
PropertyEditor.isPaintable()

paintValue

public void paintValue(Graphics g,
                       Rectangle r)
Deprecated. 
Does nothing since editor is not paintable.

Specified by:
paintValue in interface PropertyEditor
Parameters:
g - unused.
r - unused.
See Also:
PropertyEditor.paintValue(java.awt.Graphics, java.awt.Rectangle)

getJavaInitializationString

public String getJavaInitializationString()
Deprecated. 

Specified by:
getJavaInitializationString in interface PropertyEditor
Returns:
Returns "0";
See Also:
PropertyEditor.getJavaInitializationString()

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Deprecated. 
Changes the value of the editor as a text. This method will decode the argument string using IlvProjectionUtil.DMSToRadian(java.lang.String).

Specified by:
setAsText in interface PropertyEditor
Parameters:
text - coordinate string.
Throws:
IllegalArgumentException
See Also:
PropertyEditor.setAsText(java.lang.String)

getTags

public String[] getTags()
Deprecated. 
No tags for the property

Specified by:
getTags in interface PropertyEditor
Returns:
null.
See Also:
PropertyEditor.getTags()

getCustomEditor

public Component getCustomEditor()
Deprecated. 
No custom editor for the property.

Specified by:
getCustomEditor in interface PropertyEditor
Returns:
null.
See Also:
PropertyEditor.getCustomEditor()

supportsCustomEditor

public boolean supportsCustomEditor()
Deprecated. 
This property editor does not support a custom editor.

Specified by:
supportsCustomEditor in interface PropertyEditor
Returns:
false.
See Also:
PropertyEditor.supportsCustomEditor()

firePropertyChange

public void firePropertyChange(double old,
                               double newval)
Deprecated. 
fire the properyChangeEvent on all listeners of the property editor.

Parameters:
old - old property value
newval - new property value.

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Deprecated. 

Specified by:
addPropertyChangeListener in interface PropertyEditor
See Also:
PropertyEditor.addPropertyChangeListener(java.beans.PropertyChangeListener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Deprecated. 

Specified by:
removePropertyChangeListener in interface PropertyEditor
See Also:
PropertyEditor.removePropertyChangeListener(java.beans.PropertyChangeListener)


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