|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.controls.classpick.ClassPickerFactory
public class ClassPickerFactory
This class implements the class picker dropdown that can be attached to a control in a dialog.
Example:
JTextField textField = ...;
final TextFieldAdapter textFieldAdapter = ClassPickerFactory.attach(textField, getContext());
textFieldAdapter.setFlags(ClassPickerFactory.FLAG_PROJECT_CLASSES |
ClassPickerFactory.FLAG_SHOW_INTERFACES |
ClassPickerFactory.FLAG_SHOW_CLASSES);
| Field Summary | |
|---|---|
static int |
FLAG_BASE_PROJECT_SOURCES
Use this flag to only show the project sources and all other base project sources |
static int |
FLAG_PROJECT_CLASSES
Use this flag to allow any class accessible from the project |
static int |
FLAG_PROJECT_SOURCES
Use this flag to only show project sources |
static int |
FLAG_SHOW_CLASSES
Use this flag to show classes |
static int |
FLAG_SHOW_INTERFACES
Use this flag to show interfaces |
| Constructor Summary | |
|---|---|
ClassPickerFactory()
|
|
| Method Summary | |
|---|---|
static TextFieldAdapter |
attach(javax.swing.JTextField textField,
Context context,
int flags)
Create an adapter for a JTextField. |
static TextFieldAdapter |
attach(javax.swing.JTextField textField,
JavaManager javaManager,
int flags)
Create an adapter for a JTextField, using a specific JavaManager instance to find classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FLAG_PROJECT_CLASSES
public static final int FLAG_PROJECT_SOURCES
public static final int FLAG_BASE_PROJECT_SOURCES
public static final int FLAG_SHOW_CLASSES
public static final int FLAG_SHOW_INTERFACES
| Constructor Detail |
|---|
public ClassPickerFactory()
| Method Detail |
|---|
public static TextFieldAdapter attach(javax.swing.JTextField textField,
Context context,
int flags)
textField - the JTextField to controlcontext - the context in which the classes are to be foundflags - see TextFieldAdapter.setFlags(int)
public static TextFieldAdapter attach(javax.swing.JTextField textField,
JavaManager javaManager,
int flags)
JavaManager instance to find classes.
textField - the JTextField to controljavaManager - the JavaManager used to find classesflags - see TextFieldAdapter.setFlags(int)
TextFieldAdapter
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||