Package PamDetection
Interface LocalisationInfo
- All Known Implementing Classes:
LocContents
public interface LocalisationInfo
Holds information about a localisation. e.g. this might be the type of information calculated, the way it was calculated etc.
- Author:
- Jamie Macaulay
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLocContent
(int type) Add a flag to the loclaisation.int
The integer speciofying whihc flags are present in the loclaisation.boolean
hasLocContent
(int type) Check if the localisation info contains the integer flag.int
removeLocContent
(int type) Remove a lfag from the loclaisationvoid
setLocContent
(int locContents) Set the overall bitmap flag.
-
Method Details
-
hasLocContent
boolean hasLocContent(int type) Check if the localisation info contains the integer flag.- Parameters:
type
- - the type of localisation.- Returns:
- true if the localisation contains the flag.
-
addLocContent
void addLocContent(int type) Add a flag to the loclaisation.- Parameters:
type
- the flag to add.
-
removeLocContent
int removeLocContent(int type) Remove a lfag from the loclaisation- Parameters:
type
- the flag to remove.- Returns:
- new or remaining localisation content flags.
-
getLocContent
int getLocContent()The integer speciofying whihc flags are present in the loclaisation.- Returns:
- bitmap of loclaisation contents.
-
setLocContent
void setLocContent(int locContents) Set the overall bitmap flag. This deletes all porevious flags.- Parameters:
locContents
- - the obverall bitmap flag.
-