|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fourthline.cling.controlpoint.ActionCallback
org.fourthline.cling.support.contentdirectory.callback.Browse
org.fourthline.cling.support.contentdirectory.ui.ContentBrowseActionCallback
public abstract class ContentBrowseActionCallback
Updates a tree model after querying a backend ContentDirectory service.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.fourthline.cling.support.contentdirectory.callback.Browse |
|---|
Browse.Status |
| Nested classes/interfaces inherited from class org.fourthline.cling.controlpoint.ActionCallback |
|---|
ActionCallback.Default |
| Field Summary | |
|---|---|
protected DefaultTreeModel |
treeModel
|
protected DefaultMutableTreeNode |
treeNode
|
| Fields inherited from class org.fourthline.cling.support.contentdirectory.callback.Browse |
|---|
CAPS_WILDCARD |
| Fields inherited from class org.fourthline.cling.controlpoint.ActionCallback |
|---|
actionInvocation, controlPoint |
| Constructor Summary | |
|---|---|
ContentBrowseActionCallback(Service service,
DefaultTreeModel treeModel,
DefaultMutableTreeNode treeNode)
|
|
ContentBrowseActionCallback(Service service,
DefaultTreeModel treeModel,
DefaultMutableTreeNode treeNode,
String filter,
long firstResult,
long maxResults,
SortCriterion... orderBy)
|
|
| Method Summary | |
|---|---|
void |
failure(ActionInvocation invocation,
UpnpResponse operation,
String defaultMsg)
|
abstract void |
failureUI(String failureMessage)
|
DefaultTreeModel |
getTreeModel()
|
DefaultMutableTreeNode |
getTreeNode()
|
protected void |
insertChild(MutableTreeNode childNode)
|
void |
received(ActionInvocation actionInvocation,
DIDLContent didl)
|
protected void |
removeChildren()
|
void |
updateStatus(Browse.Status status)
|
abstract void |
updateStatusUI(Browse.Status status,
DefaultMutableTreeNode treeNode,
DefaultTreeModel treeModel)
|
protected void |
updateTreeModel(List<DefaultMutableTreeNode> childNodes)
|
| Methods inherited from class org.fourthline.cling.support.contentdirectory.callback.Browse |
|---|
getDefaultMaxResults, receivedRaw, run, success |
| Methods inherited from class org.fourthline.cling.controlpoint.ActionCallback |
|---|
createDefaultFailureMessage, failure, getActionInvocation, getControlPoint, setControlPoint, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final DefaultTreeModel treeModel
protected final DefaultMutableTreeNode treeNode
| Constructor Detail |
|---|
public ContentBrowseActionCallback(Service service,
DefaultTreeModel treeModel,
DefaultMutableTreeNode treeNode)
public ContentBrowseActionCallback(Service service,
DefaultTreeModel treeModel,
DefaultMutableTreeNode treeNode,
String filter,
long firstResult,
long maxResults,
SortCriterion... orderBy)
| Method Detail |
|---|
public DefaultTreeModel getTreeModel()
public DefaultMutableTreeNode getTreeNode()
public void received(ActionInvocation actionInvocation,
DIDLContent didl)
received in class Browsepublic void updateStatus(Browse.Status status)
updateStatus in class Browse
public void failure(ActionInvocation invocation,
UpnpResponse operation,
String defaultMsg)
failure in class ActionCallbackprotected void updateTreeModel(List<DefaultMutableTreeNode> childNodes)
protected void removeChildren()
protected void insertChild(MutableTreeNode childNode)
public abstract void updateStatusUI(Browse.Status status,
DefaultMutableTreeNode treeNode,
DefaultTreeModel treeModel)
public abstract void failureUI(String failureMessage)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||