public class MissionPackageListFileItem extends MissionPackageListItem
_content
Constructor and Description |
---|
MissionPackageListFileItem(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) |
boolean |
exists(MapView mapView)
Check if "this" item exists in context of mapView
|
java.lang.String |
getMarkerUid()
Get UID of marker this file is attached to, or null if not attached
|
java.lang.String |
getPath() |
long |
getsizeInBytes() |
int |
hashCode() |
boolean |
isFile() |
void |
removeContent()
Remove content from ATAK
|
java.lang.String |
toString() |
getContent, geticon, getname, gettype, seticon, seticon, setname, settype
public MissionPackageListFileItem(Icon icon, java.lang.String type, java.lang.String name, MissionPackageContent content)
public boolean isFile()
isFile
in class MissionPackageListItem
public java.lang.String getPath()
public java.lang.String getMarkerUid()
public boolean exists(MapView mapView)
MissionPackageListItem
exists
in class MissionPackageListItem
public void removeContent()
MissionPackageListItem
removeContent
in class MissionPackageListItem
public java.lang.String toString()
toString
in class java.lang.Object
public long getsizeInBytes()
getsizeInBytes
in class MissionPackageListItem
public void addHashtags(java.util.Collection<java.lang.String> tags)
addHashtags
in class MissionPackageListItem
public int hashCode()
hashCode
in class MissionPackageListItem
public boolean equals(java.lang.Object rhs)
equals
in class MissionPackageListItem