public class Location extends Object implements ViewCapable, ContextLifecycle
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY |
static EnumSet<PropagationMode> |
PROP_MODES |
| Modifier | Constructor and Description |
|---|---|
protected |
Location(View aView) |
| Modifier and Type | Method and Description |
|---|---|
void |
contextAdded()
Informs this Context that it was added to the ContextMap.
|
void |
contextChanged(Object replacementContext)
Informs the receiver that a new context is taking its place in the
ContextMap
|
void |
contextRemoved()
Informs this Context that it was removed from the ContextMap
|
ViewCapable |
contextToPropagate()
Sent to a Context just before it is propagated.
|
String |
getLocationId() |
String |
getOrigin() |
public static final EnumSet<PropagationMode> PROP_MODES
public static final String KEY
protected Location(View aView)
public String getOrigin()
public String getLocationId()
public void contextChanged(Object replacementContext)
ContextLifecyclecontextChanged in interface ContextLifecyclereplacementContext - The replacement context.public void contextAdded()
ContextLifecyclecontextAdded in interface ContextLifecyclepublic void contextRemoved()
ContextLifecyclecontextRemoved in interface ContextLifecyclepublic ViewCapable contextToPropagate()
ContextLifecyclecontextToPropagate in interface ContextLifecycleCopyright © 2017. All rights reserved.