DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

# com.bea.ide.lang.java.driver
JavaNavigationBarDriver Class

public class JavaNavigationBarDriver
extends `com.bea.ide.sourceeditor.driver.DefaultDocumentDriver`
implements `com.bea.ide.sourceeditor.driver.INavigationBarDriver`

Implements support for the navigation bar in Java files.

Hierarchy
  `Object`
  `com.bea.ide.sourceeditor.driver.DefaultDocumentDriver`
  `JavaNavigationBarDriver`

All Implemented Interfaces
  `com.bea.ide.sourceeditor.driver.INavigationBarDriver`

## Constructor Summary

JavaNavigationBarDriver(`ISourceDocument` file)

## Method Summary

`protected `JavaVisitor`` | `createGetIconVisitor`()
`protected `JavaVisitor`` | `createIsControlVisitor`()
`protected `JavaVisitor`` | `createIsEventHandlerVisitor`()
`protected `JavaVisitor`` | `createIsEventVisitor`()
`protected `JavaVisitor`` | `createIsMemberVisitor`()
`protected `JavaVisitor`` | `createIsTypeVisitor`()
`public `IElement`` | `getControlForHandler`(`IElement` handler) Returns the node for the control corresponding to the given handler.
`public `IElement`` | `getEventForHandler`(`IElement` handler) Returns the node for the event that is caught by the given handler.
`public `IElement`` | `getHandlerForEvent`(`IElement` type, `IElement` control, `IElement` event) Returns the handler in the given type for the given event.
`public `Icon`` | `getIcon`(`IElement` node) Returns the icon to be used for the given node.
`public boolean` | `isControl`(`IElement` node) Determines whether the given node represents a control that is being used by this type.
`public boolean` | `isEvent`(`IElement` node) Determines whether the given node represents an event that is exported by this type (for use as a control).
`public boolean` | `isEventHandler`(`IElement` node) Determines whether the given node represents an event handler for an event thrown by a control used by this type.
`public boolean` | `isMember`(`IElement` node) Determines whether the given node represents a member of the enclosing type to be shown in the members list.
`public boolean` | `isType`(`IElement` node) Determines whether the given node represents a type to be shown in the types list.

Methods from `com.bea.ide.sourceeditor.driver.`com.bea.ide.sourceeditor.driver.DefaultDocumentDriver``
``getDocument`, `setDocument``

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.ide.sourceeditor.driver.`com.bea.ide.sourceeditor.driver.INavigationBarDriver``
``getControlForHandler`, `getEventForHandler`, `getHandlerForEvent`, `getIcon`, `isControl`, `isEvent`, `isEventHandler`, `isMember`, `isType``

## Constructor Detail

### JavaNavigationBarDriver

    public JavaNavigationBarDriver(ISourceDocument file)

## Method Detail

### createGetIconVisitor() Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    protected JavaVisitor createGetIconVisitor()

### createIsControlVisitor() Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    protected JavaVisitor createIsControlVisitor()

### createIsEventHandlerVisitor() Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    protected JavaVisitor createIsEventHandlerVisitor()

### createIsEventVisitor() Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    protected JavaVisitor createIsEventVisitor()

### createIsMemberVisitor() Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    protected JavaVisitor createIsMemberVisitor()

### createIsTypeVisitor() Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    protected JavaVisitor createIsTypeVisitor()

### getControlForHandler(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public IElement getControlForHandler(IElement handler)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.getControlForHandler(com.bea.ide.element.IElement)`
Returns the node for the control corresponding to the given handler.

### getEventForHandler(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public IElement getEventForHandler(IElement handler)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.getEventForHandler(com.bea.ide.element.IElement)`
Returns the node for the event that is caught by the given handler. This may return null if it is a handler for an event that is not thrown.

### getHandlerForEvent(IElement, IElement, IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public IElement getHandlerForEvent(IElement type,
                                       IElement control,
                                       IElement event)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.getHandlerForEvent(com.bea.ide.element.IElement, com.bea.ide.element.IElement, com.bea.ide.element.IElement)`
Returns the handler in the given type for the given event. This should create the handler if it does not exist.

### getIcon(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public Icon getIcon(IElement node)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.getIcon(com.bea.ide.element.IElement)`
Returns the icon to be used for the given node. It may be showing up in either the types or members list, for the current file or as a control being used.

### isControl(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public boolean isControl(IElement node)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.isControl(com.bea.ide.element.IElement)`
Determines whether the given node represents a control that is being used by this type. (Note that controls should be symblic links.)

### isEvent(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public boolean isEvent(IElement node)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.isEvent(com.bea.ide.element.IElement)`
Determines whether the given node represents an event that is exported by this type (for use as a control).

### isEventHandler(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public boolean isEventHandler(IElement node)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.isEventHandler(com.bea.ide.element.IElement)`
Determines whether the given node represents an event handler for an event thrown by a control used by this type.

### isMember(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public boolean isMember(IElement node)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.isMember(com.bea.ide.element.IElement)`
Determines whether the given node represents a member of the enclosing type to be shown in the members list.

### isType(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

    public boolean isType(IElement node)

Description copied from `com.bea.ide.sourceeditor.driver.INavigationBarDriver.isType(com.bea.ide.element.IElement)`
Determines whether the given node represents a type to be shown in the types list.