Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.inspector
Interface InspectorPage

All Superinterfaces:
Displayable

public interface InspectorPage
extends Displayable

InspectorPage is an interface which allows GUI 'pages' hosted in the InspectorWindow the opportunity to interact with the hosting InspectorWindow with respect to populating toolbars and receiving focus. Usually the objects returned from Inspectable.getAdditionalTabPages would implement InspectorPage.


Field Summary
static int CLOSED
          Change ID indicating that page has been closed.
static int HIDDEN
          Change ID indicating that page or toolbar has been hidden.
static int SHOWN
          Change ID indicating that page or toolbar has been shown.
 
Method Summary
 java.awt.Component getDefaultFocusComponent()
          Get the Component that should receive focus upon activation of this page.
 void setOwner(InspectorWindow owner)
          Set the owning InspectorWindow.
 void stateChanged(int state)
          Respond to a change of state between SHOWN, HIDDEN, CLOSED.
 void toolbarStateChanged(int state)
          Respond to a change in state of the shared toolbar between SHOWN, HIDDEN.
 
Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 

Field Detail

SHOWN

static final int SHOWN
Change ID indicating that page or toolbar has been shown.

See Also:
Constant Field Values

HIDDEN

static final int HIDDEN
Change ID indicating that page or toolbar has been hidden.

See Also:
Constant Field Values

CLOSED

static final int CLOSED
Change ID indicating that page has been closed.

See Also:
Constant Field Values
Method Detail

toolbarStateChanged

void toolbarStateChanged(int state)
Respond to a change in state of the shared toolbar between SHOWN, HIDDEN.

Parameters:
state - new state of the InspectorWindow Toolbar.

stateChanged

void stateChanged(int state)
Respond to a change of state between SHOWN, HIDDEN, CLOSED. If ever SHOWN, CLOSE will always be preceded by HIDDEN, though CLOSE may be called without ever first being SHOWN.

Parameters:
state - new state of this page.

setOwner

void setOwner(InspectorWindow owner)
Set the owning InspectorWindow.

Parameters:
owner - the InspectorWindow into which this page has been hosted.

getDefaultFocusComponent

java.awt.Component getDefaultFocusComponent()
Get the Component that should receive focus upon activation of this page.

Returns:
the Component that should receive focus.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.