|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
ilog.views.util.beans.editor.IlvTaggedValueEditor
ilog.views.maps.beans.editor.IlvDecorationPropertyEditor
public class IlvDecorationPropertyEditor
A property editor to edit decorations.
| Nested Class Summary | |
|---|---|
static class |
IlvDecorationPropertyEditor.PredefinedDecoration
The editor will manage a table of PredefinedDecoration instances attached to a single unique String key. |
| Constructor Summary | |
|---|---|
IlvDecorationPropertyEditor()
Creates a new IlvDecorationPropertyEditor. |
|
IlvDecorationPropertyEditor(boolean ignoreCase)
Creates a new IlvDecorationPropertyEditor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ilog.views.util.beans.editor.IlvTaggedValueEditor |
|---|
createLocalizedTextValues, getAsCSSValue, getAsLocalizedText, getJavaInitializationString, getValuesAsLocalizedText, init, setAsLocalizedText, setAsText |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, 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 |
| Methods inherited from interface java.beans.PropertyEditor |
|---|
addPropertyChangeListener, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
| Methods inherited from interface java.beans.PropertyEditor |
|---|
addPropertyChangeListener, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public String getAsText()
getTags() that corresponds to the
current value.
getAsText in interface PropertyEditorgetAsText in class ilog.views.util.beans.editor.IlvTaggedValueEditorIlvTaggedValueEditor.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.IlvTaggedValueEditorIlvTaggedValueEditor.createTags()protected String[] createStringValues()
This method in used in the implementation of
IlvTaggedValueEditor.getJavaInitializationString().
createStringValues in class ilog.views.util.beans.editor.IlvTaggedValueEditorIlvTaggedValueEditor.createStringValues()protected static IlvPathDecoration[] getDecorationList()
protected Object[] createValues()
createValues in class ilog.views.util.beans.editor.IlvTaggedValueEditorIlvTaggedValueEditor.createValues()public String[] getTags()
getTags in interface PropertyEditorgetTags in class ilog.views.util.beans.editor.IlvTaggedValueEditor
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||