Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.resolvers
Class ToolbarResolver

    java.lang.Object
      org.eclipse.swtbot.swt.finder.resolvers.ToolbarResolver

All Implemented Interfaces:
  IChildrenResolver, IParentResolver, IResolvable

    public class ToolbarResolver

extends Object
implements IChildrenResolver, IParentResolver

Version:
  $Id$
Author:
  Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
`ToolbarResolver()`

Method Summary
`boolean` | `canResolve(Widget w)`
`List` | `getChildren(Widget w)`
`Widget` | `getParent(Widget w)`
`Class[]` | `getResolvableClasses()`
`boolean` | `hasChildren(Widget w)`
`boolean` | `hasParent(Widget w)`

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

Constructor Detail

### ToolbarResolver

    public ToolbarResolver()

Method Detail

### canResolve

    public boolean canResolve(Widget w)

  Specified by:
    `canResolve` in interface `IResolvable`
  Parameters:
    `w` - the widget
  Returns:
    `true` if this widget can resolve the widget, `false` otherwise

### getChildren

    public List getChildren(Widget w)

  Specified by:
    `getChildren` in interface `IChildrenResolver`
  Parameters:
    `w` - the widget
  Returns:
    the children of the specified widget

### getParent

    public Widget getParent(Widget w)

  Specified by:
    `getParent` in interface `IParentResolver`
  Parameters:
    `w` - the widget
  Returns:
    the children of the specified widget

### getResolvableClasses

    public Class[] getResolvableClasses()

  Specified by:
    `getResolvableClasses` in interface `IResolvable`
  Returns:
    the list of classes that this resolver can resolve

### hasChildren

    public boolean hasChildren(Widget w)

  Specified by:
    `hasChildren` in interface `IChildrenResolver`
  Parameters:
    `w` - the widget
  Returns:
    `true` if the resolver can provide children of the specified widget, `false` otherwise.

### hasParent

    public boolean hasParent(Widget w)

  Specified by:
    `hasParent` in interface `IParentResolver`
  Parameters:
    `w` - the widget
  Returns:
    `true` if the resolver can provide children of the specified widget, `false` otherwise.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD