public final class BoxListItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TOTAL_FILE_TYPES |
static int |
TYPE_BOX_FILE_ITEM |
static int |
TYPE_BOX_FOLDER_ITEM |
static int |
TYPE_FUTURE_TASK |
Constructor and Description |
---|
BoxListItem(BoxItem boxItem,
java.lang.String identifier)
Constructor.
|
BoxListItem(java.util.concurrent.FutureTask<?> task,
java.lang.String identifier)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BoxItem |
getBoxItem() |
java.lang.String |
getIdentifier() |
java.util.concurrent.FutureTask<?> |
getTask() |
int |
getType() |
void |
setTask(java.util.concurrent.FutureTask<?> task)
Set a future task for the
|
public static final int TYPE_BOX_FOLDER_ITEM
public static final int TYPE_BOX_FILE_ITEM
public static final int TYPE_FUTURE_TASK
public static final int TOTAL_FILE_TYPES
public BoxListItem(BoxItem boxItem, java.lang.String identifier)
boxItem
- box item that should be displayed to user.public BoxListItem(java.util.concurrent.FutureTask<?> task, java.lang.String identifier)
task
- task that should be performed if this item is gotten from the list.public void setTask(java.util.concurrent.FutureTask<?> task)
task
- public java.util.concurrent.FutureTask<?> getTask()
public BoxItem getBoxItem()
public int getType()
public java.lang.String getIdentifier()