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.teleal.cling.support.contentdirectory.ui
Class ContentBrowseActionCallback

    java.lang.Object
      org.teleal.cling.controlpoint.ActionCallback
          org.teleal.cling.support.contentdirectory.BrowseActionCallback
              org.teleal.cling.support.contentdirectory.ui.ContentBrowseActionCallback

All Implemented Interfaces:
  Runnable

    public abstract class ContentBrowseActionCallback

extends BrowseActionCallback

Nested Class Summary

Nested classes/interfaces inherited from class org.teleal.cling.support.contentdirectory.BrowseActionCallback
`BrowseActionCallback.Status`

Field Summary
`protected DefaultTreeModel` | `treeModel`
`protected DefaultMutableTreeNode` | `treeNode`

Fields inherited from class org.teleal.cling.controlpoint.ActionCallback
`actionInvocation, controlPoint`

Constructor Summary
`ContentBrowseActionCallback(org.teleal.cling.model.meta.DeviceService service, DefaultTreeModel treeModel, DefaultMutableTreeNode treeNode)`
`ContentBrowseActionCallback(org.teleal.cling.model.meta.DeviceService service, DefaultTreeModel treeModel, DefaultMutableTreeNode treeNode, String filter, long firstResult, long maxResults, String orderBy)`

Method Summary
`void` | `failure(String failureMessage)`
`abstract void` | `failureUI(String failureMessage)`
`DefaultTreeModel` | `getTreeModel()`
`DefaultMutableTreeNode` | `getTreeNode()`
`protected void` | `insertChild(MutableTreeNode childNode)`
`void` | `received(org.teleal.cling.model.action.ActionInvocation actionInvocation, DIDLLite didl)`
`protected void` | `removeChildren()`
`void` | `updateStatus(BrowseActionCallback.Status status)`
`abstract void` | `updateStatusUI(BrowseActionCallback.Status status, DefaultMutableTreeNode treeNode, DefaultTreeModel treeModel)`
`protected void` | `updateTreeModel(List<DefaultMutableTreeNode> childNodes)`

Methods inherited from class org.teleal.cling.support.contentdirectory.BrowseActionCallback
`failure, getDefaultMaxResults, run, success`

Methods inherited from class org.teleal.cling.controlpoint.ActionCallback
`createDefaultFailureMessage, getActionInvocation, getControlPoint, setControlPoint, toString`

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

Field Detail

### treeModel

    protected final DefaultTreeModel treeModel

### treeNode

    protected final DefaultMutableTreeNode treeNode

Constructor Detail

### ContentBrowseActionCallback

    public ContentBrowseActionCallback(org.teleal.cling.model.meta.DeviceService service,
                                       DefaultTreeModel treeModel,
                                       DefaultMutableTreeNode treeNode)

### ContentBrowseActionCallback

    public ContentBrowseActionCallback(org.teleal.cling.model.meta.DeviceService service,
                                       DefaultTreeModel treeModel,
                                       DefaultMutableTreeNode treeNode,
                                       String filter,
                                       long firstResult,
                                       long maxResults,
                                       String orderBy)

Method Detail

### getTreeModel

    public DefaultTreeModel getTreeModel()

### getTreeNode

    public DefaultMutableTreeNode getTreeNode()

### received

    public void received(org.teleal.cling.model.action.ActionInvocation actionInvocation,
                         DIDLLite didl)

  Specified by:
    `received` in class `BrowseActionCallback`

### updateStatus

    public void updateStatus(BrowseActionCallback.Status status)

  Specified by:
    `updateStatus` in class `BrowseActionCallback`

### failure

    public void failure(String failureMessage)

  Specified by:
    `failure` in class `BrowseActionCallback`

### updateTreeModel

    protected void updateTreeModel(List<DefaultMutableTreeNode> childNodes)

### removeChildren

    protected void removeChildren()

### insertChild

    protected void insertChild(MutableTreeNode childNode)

### updateStatusUI

    public abstract void updateStatusUI(BrowseActionCallback.Status status,
                                        DefaultMutableTreeNode treeNode,
                                        DefaultTreeModel treeModel)

### failureUI

    public abstract void failureUI(String failureMessage)

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

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.