ilog.views.maps.beans.editor
Class IlvLabelAttributePropertyEditor

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

public class IlvLabelAttributePropertyEditor
extends PropertyEditorSupport

A property edition to choose a string among an array of strings.

Since:
JViews 7.5

Field Summary
static String NO_LABEL_AVAILABLE
          String indicating that no labeling is available.
static String NO_LABELING
          String indicating that no labeling should occur.
 
Constructor Summary
IlvLabelAttributePropertyEditor()
          Constructs a IlvLabelAttributePropertyEditor
 
Method Summary
 String getAsText()
          Returns the selected object's value.
 String[] getTags()
          Returns the value of this object, which is an array of strings, as tagged values.
 Object getValue()
          Gets the value of the property.
 void setAsText(String text)
          Sets the selected value
 void setTarget(Object target)
          Sets the target (an IlvMapStyle) for this editor.
 void setValue(Object value)
          Set (or change) the object that is to be edited.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_LABEL_AVAILABLE

public static final String NO_LABEL_AVAILABLE
String indicating that no labeling is available.


NO_LABELING

public static final String NO_LABELING
String indicating that no labeling should occur.

Constructor Detail

IlvLabelAttributePropertyEditor

public IlvLabelAttributePropertyEditor()
Constructs a IlvLabelAttributePropertyEditor

Method Detail

setTarget

public void setTarget(Object target)
Sets the target (an IlvMapStyle) for this editor.

Parameters:
target - The style to set.

setValue

public void setValue(Object value)
Set (or change) the object that is to be edited.

Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
Parameters:
value - the new object value.

getValue

public Object getValue()
Gets the value of the property.

Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
Returns:
The value of the property. The returned value is of type String[]

getTags

public String[] getTags()
Returns the value of this object, which is an array of strings, as tagged values.

Specified by:
getTags in interface PropertyEditor
Overrides:
getTags in class PropertyEditorSupport
Returns:
The value of this object.

getAsText

public String getAsText()
Returns the selected object's value.

Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
Returns:
The selected value.

setAsText

public void setAsText(String text)
Sets the selected value

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Parameters:
text -


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