Extension SDK 10.1.2

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

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

See Also:
Constant Field Values

HIDDEN

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

See Also:
Constant Field Values

CLOSED

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

See Also:
Constant Field Values
Method Detail

toolbarStateChanged

public 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

public 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

public void setOwner(InspectorWindow owner)
Set the owning InspectorWindow.

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

getDefaultFocusComponent

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

Returns:
the Component that should receive focus.

Extension SDK

 

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