public abstract class MissionPackageListItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MissionPackageContent |
_content |
Constructor and Description |
---|
MissionPackageListItem(Icon icon,
java.lang.String type,
java.lang.String name,
MissionPackageContent content) |
Modifier and Type | Method and Description |
---|---|
void |
addHashtags(java.util.Collection<java.lang.String> tags) |
boolean |
equals(java.lang.Object rhs) |
abstract boolean |
exists(MapView mapView)
Check if "this" item exists in context of mapView
|
MissionPackageContent |
getContent() |
Icon |
geticon() |
java.lang.String |
getname() |
abstract long |
getsizeInBytes() |
java.lang.String |
gettype() |
int |
hashCode() |
abstract boolean |
isFile() |
abstract void |
removeContent()
Remove content from ATAK
|
void |
seticon(Icon _icon) |
void |
seticon(java.lang.String iconUri,
int iconColor) |
void |
setname(java.lang.String _name) |
void |
settype(java.lang.String _type) |
protected final MissionPackageContent _content
public MissionPackageListItem(Icon icon, java.lang.String type, java.lang.String name, MissionPackageContent content)
public abstract boolean isFile()
public abstract long getsizeInBytes()
public abstract boolean exists(MapView mapView)
mapView
- public abstract void removeContent()
public Icon geticon()
public void seticon(Icon _icon)
public void seticon(java.lang.String iconUri, int iconColor)
public java.lang.String gettype()
public void settype(java.lang.String _type)
public java.lang.String getname()
public void setname(java.lang.String _name)
public MissionPackageContent getContent()
public void addHashtags(java.util.Collection<java.lang.String> tags)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object