public class IlvDecorationPropertyEditor
extends ilog.views.util.beans.editor.IlvTaggedValueEditor
Modifier and Type | Class and Description |
---|---|
static class |
IlvDecorationPropertyEditor.PredefinedDecoration
The editor will manage a table of PredefinedDecoration instances attached to a single unique String key.
|
Constructor and Description |
---|
IlvDecorationPropertyEditor()
Creates a new
IlvDecorationPropertyEditor . |
IlvDecorationPropertyEditor(boolean ignoreCase)
Creates a new
IlvDecorationPropertyEditor . |
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 |
getAsText()
Returns the element of
getTags() that corresponds to the
current value. |
protected static IlvPathDecoration[] |
getDecorationList()
Returns the table of possible decorations.
|
String[] |
getTags()
Returns the tags for the editor.
|
getAsCSSValue, getAsLocalizedText, getJavaInitializationString, getLocale, getValuesAsLocalizedText, init, setAsLocalizedText, setAsText
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
public IlvDecorationPropertyEditor()
IlvDecorationPropertyEditor
.public IlvDecorationPropertyEditor(boolean ignoreCase)
IlvDecorationPropertyEditor
.ignoreCase
- If set to true
, case is ignored to look up
the constant value corresponding to a specified tag.public String getAsText()
getTags()
that corresponds to the
current value.getAsText
in interface PropertyEditor
getAsText
in class ilog.views.util.beans.editor.IlvTaggedValueEditor
IlvTaggedValueEditor.getAsText()
protected String[] createTags()
If 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.IlvTaggedValueEditor
IlvTaggedValueEditor.createTags()
protected String[] createStringValues()
This method in used in the implementation of
IlvTaggedValueEditor.getJavaInitializationString()
.
createStringValues
in class ilog.views.util.beans.editor.IlvTaggedValueEditor
IlvTaggedValueEditor.createStringValues()
protected String[] createLocalizedTextValues()
null
if no localized strings are available.createLocalizedTextValues
in class ilog.views.util.beans.editor.IlvTaggedValueEditor
protected static IlvPathDecoration[] getDecorationList()
protected Object[] createValues()
createValues
in class ilog.views.util.beans.editor.IlvTaggedValueEditor
IlvTaggedValueEditor.createValues()
public String[] getTags()
getTags
in interface PropertyEditor
getTags
in class ilog.views.util.beans.editor.IlvTaggedValueEditor
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.