|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.logic.util.AbstractActivatableComponentImpl
public abstract class AbstractActivatableComponentImpl
Implementation of the activatable component.
Field Summary | |
---|---|
private AtomicBoolean |
active
Activation state flag |
Constructor Summary | |
---|---|
AbstractActivatableComponentImpl()
Constructor |
Method Summary | |
---|---|
boolean |
isActive()
Test method for the actiation state. |
protected abstract void |
onActivationStateChange(boolean active)
Handler for activation state changes |
void |
setActivationState(boolean active)
Method to set the activation state of the component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final AtomicBoolean active
Constructor Detail |
---|
public AbstractActivatableComponentImpl()
Method Detail |
---|
public final void setActivationState(boolean active)
ActivatableComponent
setActivationState
in interface ActivatableComponent
active
- the activation sate flagprotected abstract void onActivationStateChange(boolean active)
active
- the new activation statepublic final boolean isActive()
ActivatableComponent
isActive
in interface ActivatableComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |