public class IlvGraphLayoutEditor
extends ilog.views.util.beans.editor.IlvTaggedValueEditor
implements ilog.views.util.beans.editor.IlvInternationalizedPropertyEditor
IlvGraphLayoutRenderer.| Constructor and Description |
|---|
IlvGraphLayoutEditor()
Creates a new
IlvGraphLayoutEditor. |
IlvGraphLayoutEditor(Locale locale,
boolean ignoreCase)
Creates a new
IlvGraphLayoutEditor. |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
createLocalizedTextValues()
Returns a new array of localized strings representing the values of the
property, or
null if no localized strings are available. |
protected String[] |
createStringValues()
Returns a new array of Strings representing Java expressions that
evaluate to the values of the property.
|
protected String[] |
createTags()
Returns a new array of Strings representing the values of the property.
|
protected Object[] |
createValues()
Returns a new array of Objects representing the values of the property.
|
String |
getAsLocalizedText()
Returns the property value as a localized, human editable string.
|
String |
getAsText()
Returns the value of the editor as text.
|
String |
getJavaInitializationString()
Returns the Java initialization string.
|
boolean |
isPaintable()
Returns
false. |
void |
setAsLocalizedText(String string)
Sets the property value by parsing a given string.
|
void |
setAsText(String text)
Sets the value of the editor as text.
|
getAsCSSValue, getLocale, getTags, getValuesAsLocalizedText, initaddPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValuesAsLocalizedTextaddPropertyChangeListener, getCustomEditor, getTags, getValue, paintValue, removePropertyChangeListener, setValue, supportsCustomEditorpublic IlvGraphLayoutEditor()
IlvGraphLayoutEditor.public IlvGraphLayoutEditor(Locale locale, boolean ignoreCase)
IlvGraphLayoutEditor.locale - The locale this editor is made for.ignoreCase - If set to true, case is ignored to look up
the constant value corresponding to a specified localized tag.protected String[] createTags()
ilog.views.util.beans.editor.IlvTaggedValueEditorIf the method IlvTaggedValueEditor.getAsCSSValue() is not overridden,
this method is used for representing the values in a CSS style sheet.
Therefore, this method should not return localized strings.
This method is also used for representing the values in a property sheet. Therefore, this method should not return strings starting with a full Java class name.
Backward compatibility constraint: If the set of tags of a class changes,
you need to make sure that the getAsText method still accepts
the older values. This is needed for reading old CSS files.
createTags in class ilog.views.util.beans.editor.IlvTaggedValueEditorprotected String[] createStringValues()
ilog.views.util.beans.editor.IlvTaggedValueEditorThis method in used in the implementation of
IlvTaggedValueEditor.getJavaInitializationString().
createStringValues in class ilog.views.util.beans.editor.IlvTaggedValueEditorprotected Object[] createValues()
ilog.views.util.beans.editor.IlvTaggedValueEditorcreateValues in class ilog.views.util.beans.editor.IlvTaggedValueEditorprotected String[] createLocalizedTextValues()
ilog.views.util.beans.editor.IlvTaggedValueEditornull if no localized strings are available.createLocalizedTextValues in class ilog.views.util.beans.editor.IlvTaggedValueEditorpublic boolean isPaintable()
false.isPaintable in interface PropertyEditorisPaintable in class PropertyEditorSupportpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class ilog.views.util.beans.editor.IlvTaggedValueEditorpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class ilog.views.util.beans.editor.IlvTaggedValueEditorpublic void setAsText(String text)
setAsText in interface PropertyEditorsetAsText in class ilog.views.util.beans.editor.IlvTaggedValueEditortext - The value of the editor as a String.public String getAsLocalizedText()
null if the value cannot be expressed as a string.
If a non-null value is returned, it can be fed back to
setAsLocalizedText.getAsLocalizedText in interface ilog.views.util.beans.editor.IlvInternationalizedPropertyEditorgetAsLocalizedText in class ilog.views.util.beans.editor.IlvTaggedValueEditorpublic void setAsLocalizedText(String string) throws IllegalArgumentException
setAsLocalizedText in interface ilog.views.util.beans.editor.IlvInternationalizedPropertyEditorsetAsLocalizedText in class ilog.views.util.beans.editor.IlvTaggedValueEditorIllegalArgumentException - if the string is invalid or the property
cannot be expressed as a string at all© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.