Package VASSAL.launch
Class UseTracker
java.lang.Object
VASSAL.launch.UseTracker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
anyInUse()
void
decrementUsed
(File file) void
incrementUsed
(File file) boolean
boolean
void
markEditing
(File file) void
void
unmarkEditing
(File file)
-
Constructor Details
-
UseTracker
public UseTracker()
-
-
Method Details
-
anyInUse
public boolean anyInUse()- Returns:
true
iff any files are in use
-
isInUse
- Parameters:
file
- the file to check- Returns:
true
iff the file is in use
-
isEditing
- Parameters:
file
- the file to check- Returns:
true
iff the file is being edited
-
incrementUsed
-
decrementUsed
-
markEditing
-
unmarkEditing
-
addPropertyChangeListener
-
removePropertyChangeListener
-