|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.SchemaEditor
SchemaEditor is a generic PropertyEditor for the Schema property of different beans.
At dev time, this property editor will launch a frame containing an
AttributesSelectorList
, allowing the user to select a class and some of its attributes.
Note: subclasses can override the
Note: override this method in subclasses to change the root node
classes shown in the ClassExplorer.
getInitialClassNames()
method to
have the ClassExplorer display different top level nodes in the ClassExplorer.
Supported API: false
Extendable: false
ClassExplorer
,
Schema
,
Serialized Form
Field Summary
protected String[]
attributeNames
protected PropertyChangeSupport
listeners
protected String
objectClassName
protected Schema
value
Constructor Summary
SchemaEditor()
Method Summary
void
addPropertyChangeListener(PropertyChangeListener l)
String
getAsText()
Component
getCustomEditor()
String[]
getInitialClassNames()
Gets the initial class names to display in the ClassExplorer.
String
getJavaInitializationString()
String[]
getTags()
Object
getValue()
boolean
isPaintable()
static void
main(String[] args)
A short main method to allow standalone testing.
void
paintValue(Graphics g,
Rectangle rc)
void
removePropertyChangeListener(PropertyChangeListener l)
void
setAsText(String s)
void
setValue(Object o)
boolean
supportsCustomEditor()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
value
protected Schema value
objectClassName
protected String objectClassName
attributeNames
protected String[] attributeNames
listeners
protected PropertyChangeSupport listeners
Constructor Detail
SchemaEditor
public SchemaEditor()
Method Detail
setValue
public void setValue(Object o)
setValue
in interface PropertyEditor
getValue
public Object getValue()
getValue
in interface PropertyEditor
setAsText
public void setAsText(String s)
throws IllegalArgumentException
setAsText
in interface PropertyEditor
IllegalArgumentException
getJavaInitializationString
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getAsText
public String getAsText()
getAsText
in interface PropertyEditor
getTags
public String[] getTags()
getTags
in interface PropertyEditor
supportsCustomEditor
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
getCustomEditor
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
isPaintable
public boolean isPaintable()
isPaintable
in interface PropertyEditor
paintValue
public void paintValue(Graphics g,
Rectangle rc)
paintValue
in interface PropertyEditor
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in interface PropertyEditor
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
in interface PropertyEditor
getInitialClassNames
public String[] getInitialClassNames()
main
public static void main(String[] args)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD