|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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)
o
- the values, in a form that casts to Vector
.public java.lang.Object getValue()
Vector
.public boolean isPaintable()
false
.public java.lang.String[] getTags()
null
.public void paintValue(java.awt.Graphics g, java.awt.Rectangle box)
g
- ignored.box
- ignored.public java.lang.String getAsText()
setAsText
.setAsText(java.lang.String)
public java.lang.String getJavaInitializationString()
public void setAsText(java.lang.String str) throws java.lang.IllegalArgumentException
str
- a string in a form generated by getAsText
.getAsText()
public java.awt.Component getCustomEditor()
public boolean supportsCustomEditor()
true
.public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l
- a listener to be notified when PropertyChange
events occur.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l
- a listener that is not to receive further notification of
PropertyChange
events.
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |