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

## com.google.gwt.user.client.ui
Interface TreeImages

All Superinterfaces:
  ImageBundle

    public interface TreeImages

extends ImageBundle

An `ImageBundle` that provides images for `Tree`.

### Example

>     public class TreeImagesExample implements EntryPoint {

>       /**
>        * Allows us to override Tree default images. If we don't override one of the
>        * methods, the default will be used.
>        */
>       interface MyTreeImages extends TreeImages {

>         /**
>          * @gwt.resource downArrow.png
>          */
>         AbstractImagePrototype treeOpen();

>         /**
>          * @gwt.resource rightArrow.png
>          */
>         AbstractImagePrototype treeClosed();
>       }

>       public void onModuleLoad() {
>         TreeImages images = (TreeImages)GWT.create(MyTreeImages.class);
>         Tree tree = new Tree(images);
>         RootPanel.get().add(tree);
>       }
>     }

Method Summary
`AbstractImagePrototype` | `treeClosed()` An image indicating a closed branch.
`AbstractImagePrototype` | `treeLeaf()` An image indicating a leaf.
`AbstractImagePrototype` | `treeOpen()` An image indicating an open branch.

Method Detail

### treeOpen

    AbstractImagePrototype treeOpen()

  An image indicating an open branch.

  Returns:
    a prototype of this image

### treeClosed

    AbstractImagePrototype treeClosed()

  An image indicating a closed branch.

  Returns:
    a prototype of this image

### treeLeaf

    AbstractImagePrototype treeLeaf()

  An image indicating a leaf.

  Returns:
    a prototype of this image

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