java.lang.Object
javax.ide.view.GUIPanel
- public final class GUIPanel
- extends java.lang.Object
A GUIPanel opaquely encapsulates the gui panel that is to
be hosted by an IDE's service such as: the IDE preferences panel,
the editor's panel, etc..
There are two components in a GUI component hierarchy that need to be
identified: the root component, and the focusable component. The root
component will be added to the children list of the IDE host, and the
focusable component will be given the focus when the IDE host becomes
active.
For Swing based IDE's the type of the root and focusable components
should be: javax.swing.JComponent.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rootComponent
private java.lang.Object _rootComponent
_focusableComponent
private java.lang.Object _focusableComponent
GUIPanel
public GUIPanel(java.lang.Object root,
java.lang.Object focusable)
- Constructor.
getRootComponent
public java.lang.Object getRootComponent()
- Get the root component in the component hierarchy of the panel encapsulated
by this class.
getFocusableComponent
public java.lang.Object getFocusableComponent()
- Get the component that can take input focus in the component hierarchy of
the encapsulated panel.