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)
ContextLifecycle
contextChanged
in interface ContextLifecycle
replacementContext
- The replacement context.public void contextAdded()
ContextLifecycle
contextAdded
in interface ContextLifecycle
public void contextRemoved()
ContextLifecycle
contextRemoved
in interface ContextLifecycle
public ViewCapable contextToPropagate()
ContextLifecycle
contextToPropagate
in interface ContextLifecycle
Copyright © 2020. All rights reserved.