| 
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.ide.db.controls.DBObjectChooserDelegate
public abstract class DBObjectChooserDelegate
Part of the DBObjectChooser implementation.  A DBObjectChooser will
 delegate all UI aspects, concerned with setting and getting the value of a
 DBObject, to a concrete subclass of DBObjectChooserDelegate
| Constructor Summary | |
|---|---|
DBObjectChooserDelegate()
 | 
|
| Method Summary | |
|---|---|
protected abstract  boolean | 
accept(DBObjectChooser chooser,
       DBObjectProvider prov)
gives the delegate a veto option  | 
protected  void | 
add(java.awt.Component comp,
    java.awt.GridBagConstraints constraints)
Convenience method for subclasses to layout their UI on the DBObjectChooser panel  | 
protected  void | 
addIDToList(DBObjectID id)
 | 
protected abstract  void | 
buildMaintainID()
Add listeners to the UI to call DBObjectChooser.updateID(oracle.javatools.db.DBObjectID) to ensure
 the DBObjectChooser.getDBObjectID() would return the ID of the currently
 selected value. | 
protected abstract  void | 
contextChanged()
Called by the DBObjectChooser in response to a call to DBObjectChooser.setContextDBObjectID(oracle.javatools.db.DBObjectID). | 
protected  DBObjectID | 
fixProvider(DBObjectID id)
 | 
protected  DBObjectChooser | 
getChildChooser()
See DBObjectChooser.getChildChooser(). | 
protected  DBObjectChooser | 
getChooser()
Return the DBObjectChooser that this delegates for  | 
protected  DBObjectID | 
getContextDBObjectID()
See DBObjectChooser.getContextDBObjectID(). | 
protected  DBObjectID | 
getIDFromString(java.lang.String text)
Convenience method to return a DBObjectID that is represented by a String  | 
protected abstract  java.lang.String | 
getName()
See DBObjectChooser.getName(). | 
protected  java.lang.String | 
getNullText()
See DBObjectChooser.getNullText(). | 
protected abstract  DBObject | 
getOrCreateDBObject()
 | 
protected  DBObjectChooser | 
getParentChooser()
See DBObjectChooser.getParentChooser(). | 
protected  DBObjectProvider | 
getProvider()
Return the DBObjectProvider  | 
protected  boolean | 
getShowIcon()
See DBObjectChooser.getShowIcon(). | 
protected  java.lang.String | 
getStringFromID(DBObjectID id)
Convenience method to return a string representation of a DBObjectID  | 
protected  java.lang.String[] | 
getTypes()
See DBObjectChooser.getTypes(). | 
protected abstract  void | 
initialiseUI()
Create the UI and layout on the DBObjectChooser panel.  | 
protected abstract  boolean | 
isEditable()
See DBObjectChooser.isEditable(). | 
protected abstract  boolean | 
isEnabled()
See DBObjectChooser.isEnabled(). | 
protected  void | 
setChooser(DBObjectChooser chooser)
Set the DBObjectChooser that this delegates for  | 
protected abstract  void | 
setEditable(boolean enabled)
See DBObjectChooser.setEditable(boolean). | 
protected abstract  void | 
setEnabled(boolean enabled)
See DBObjectChooser.setEnabled(boolean). | 
protected abstract  void | 
setName(java.lang.String name)
See DBObjectChooser.setName(String). | 
protected  void | 
setProvider(DBObjectProvider prov)
Set the DBObjectProvider  | 
protected abstract  void | 
showID()
Called by the DBObjectChooser in response to a call to DBObjectChooser.setDBObjectID(oracle.javatools.db.DBObjectID). | 
protected  void | 
updateID(DBObjectID id)
See DBObjectChooser.updateID(oracle.javatools.db.DBObjectID). | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DBObjectChooserDelegate()
| Method Detail | 
|---|
protected abstract boolean accept(DBObjectChooser chooser,
                                  DBObjectProvider prov)
protected abstract void initialiseUI()
protected abstract void buildMaintainID()
DBObjectChooser.updateID(oracle.javatools.db.DBObjectID) to ensure
 the DBObjectChooser.getDBObjectID() would return the ID of the currently
 selected value.
protected abstract void contextChanged()
DBObjectChooser.setContextDBObjectID(oracle.javatools.db.DBObjectID).
 The delegate can then update the UI accordingly.
protected abstract void showID()
DBObjectChooser.setDBObjectID(oracle.javatools.db.DBObjectID).
 The delegate can then update the UI accordingly.
protected abstract void setName(java.lang.String name)
DBObjectChooser.setName(String).
protected abstract java.lang.String getName()
DBObjectChooser.getName().
protected abstract void setEnabled(boolean enabled)
DBObjectChooser.setEnabled(boolean).
protected abstract boolean isEnabled()
DBObjectChooser.isEnabled().
protected abstract void setEditable(boolean enabled)
DBObjectChooser.setEditable(boolean).
protected abstract boolean isEditable()
DBObjectChooser.isEditable().
protected abstract DBObject getOrCreateDBObject()
protected void setChooser(DBObjectChooser chooser)
protected final DBObjectChooser getChooser()
protected void setProvider(DBObjectProvider prov)
protected final DBObjectProvider getProvider()
protected final void add(java.awt.Component comp,
                         java.awt.GridBagConstraints constraints)
protected void addIDToList(DBObjectID id)
id - protected final java.lang.String getStringFromID(DBObjectID id)
protected final DBObjectID getIDFromString(java.lang.String text)
protected void updateID(DBObjectID id)
DBObjectChooser.updateID(oracle.javatools.db.DBObjectID).
protected java.lang.String[] getTypes()
DBObjectChooser.getTypes().
protected boolean getShowIcon()
DBObjectChooser.getShowIcon().
protected java.lang.String getNullText()
DBObjectChooser.getNullText().
protected DBObjectID getContextDBObjectID()
DBObjectChooser.getContextDBObjectID().
protected DBObjectChooser getParentChooser()
DBObjectChooser.getParentChooser().
protected DBObjectChooser getChildChooser()
DBObjectChooser.getChildChooser().
protected DBObjectID fixProvider(DBObjectID id)
  | 
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 | |||||||||