public class VisibilityManager
extends java.lang.Object
Constructor and Description |
---|
VisibilityManager() |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(VisibilityCondition cond)
Add a new visibility condition
|
void |
addListener(VisibilityListener l)
Add listener for when visibility conditions are changed
|
java.util.List<VisibilityCondition> |
getConditions()
Get list of visibility conditions
|
static VisibilityManager |
getInstance() |
void |
refreshConditions()
Refresh visibility conditions by notifying listeners
|
void |
removeCondition(VisibilityCondition cond)
Remove visibility condition
|
void |
removeListener(VisibilityListener l)
Remove visibility condition listener
|
public static VisibilityManager getInstance()
public void addCondition(VisibilityCondition cond)
cond
- Visibility conditionpublic void removeCondition(VisibilityCondition cond)
cond
- Visibility conditionpublic java.util.List<VisibilityCondition> getConditions()
public void addListener(VisibilityListener l)
l
- Listenerpublic void removeListener(VisibilityListener l)
l
- Listenerpublic void refreshConditions()