|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.inspector.layout.CustomGUIComponent
public abstract class CustomGUIComponent
When a CustomComponent is shown in a DisplayGroup the UI for that component must be encapsulated in a CustomGUIComponent subclass.
| Constructor Summary | |
|---|---|
CustomGUIComponent() |
|
| Method Summary | |
|---|---|
static CustomGUIComponent |
getCustomGUIComponent(javax.swing.JComponent component)Retrieve the CustomGUIComponent for which the specified JComponent is the root component. |
abstract GUIPanel |
getGUIPanel() |
javax.swing.JLabel |
getLabel() |
boolean |
hasContent()Indicates whether this custom component is displaying any property. |
abstract void |
onApply(oracle.bali.inspector.PropertyModel model)Called to apply changes made to the custom UI component property values. |
abstract void |
onInitialize(oracle.bali.inspector.PropertyModel model)Called to initialize the custom UI component with property values. |
void |
onUpdate(oracle.bali.inspector.PropertyModel model)Called to update the GUI component with the given model, without redrawing GUI components or updating the model. |
static void |
setCustomGUIComponent(javax.swing.JComponent component, CustomGUIComponent guiComponent)Set the specified JComponent to be the root component of the specified CustomGUIComponent. |
boolean |
shouldApplyOnLostFocus() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomGUIComponent()
| Method Detail |
|---|
public abstract GUIPanel getGUIPanel()
public javax.swing.JLabel getLabel()
public boolean shouldApplyOnLostFocus()
onApply should be called if the custom component loses focus. This flag is used only if the GUIPanel returns a JComponent from the the method GUIPanel.getFocusableComponent(). The default value is true.getGUIPanel(), GUIPanel.getFocusableComponent()public boolean hasContent()
true.true if this custom component has content, false if it is empty.public abstract void onInitialize(oracle.bali.inspector.PropertyModel model)
model - the property model to use to initialize the custom UI component.public void onUpdate(oracle.bali.inspector.PropertyModel model)
model - the given model.public abstract void onApply(oracle.bali.inspector.PropertyModel model)
model - the property model containing the changes made (if any).
public static void setCustomGUIComponent(javax.swing.JComponent component,
CustomGUIComponent guiComponent)
component - the root JComponentguiComponent - the CustomGUIComponent with component as its rootpublic static CustomGUIComponent getCustomGUIComponent(javax.swing.JComponent component)
component - the potential root component
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||