|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.jbo.server.rules.ValueListEditor
Provides support for GUIs that allow lists of values to be editied.
| Constructor Summary | |
ValueListEditor() |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)Registers a listener to be notified when values are modified. |
java.lang.String |
getAsText()Generates a string representing this list's values. |
java.awt.Component |
getCustomEditor()Gets the editor that may be used to modify this list's values. |
java.lang.String |
getJavaInitializationString()Generates a Java code fragment representing a constructor for this list's values. |
java.lang.String[] |
getTags()Has no effect: this list cannot be represented by tagged values. |
java.lang.Object |
getValue()Gets the editied values. |
java.util.Vector |
getValues()Gets the editied values. |
boolean |
isPaintable()Reports that this list is not paintable. |
void |
paintValue(java.awt.Graphics g, java.awt.Rectangle box)Has no effect: this list cannot be painted. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)De-registers a listener. |
void |
setAsText(java.lang.String str)Sets this list's values from a text string. |
void |
setValue(java.lang.Object o)Sets the values to be edited. |
void |
setValues(java.util.Vector vec)Sets the values to be edited. |
boolean |
supportsCustomEditor()Reports that this list's values may be modified by an editor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValueListEditor()
| Method Detail |
public java.util.Vector getValues()
public void setValues(java.util.Vector vec)
vec - a list of values.public void setValue(java.lang.Object o)
setValue in interface java.beans.PropertyEditoro - the values, in a form that casts to Vector.public java.lang.Object getValue()
getValue in interface java.beans.PropertyEditorVector.public boolean isPaintable()
isPaintable in interface java.beans.PropertyEditorfalse.public java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditornull.
public void paintValue(java.awt.Graphics g,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorg - ignored.box - ignored.public java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorsetAsText.setAsText(java.lang.String)public java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditor
public void setAsText(java.lang.String str)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorstr - a string in a form generated by getAsText.java.lang.IllegalArgumentException - if the string is invalid.getAsText()public java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditortrue.public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener in interface java.beans.PropertyEditorl - a listener to be notified when PropertyChange events occur.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener in interface java.beans.PropertyEditorl - a listener that is not to receive further notification of PropertyChange events.
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle. All rights reserved.