|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.staccatocommons.instrument.handler.deactivator.StackedDeactivableSupport
public class StackedDeactivableSupport
| Constructor Summary | |
|---|---|
StackedDeactivableSupport()
Creates a new StackedDeactivableSupport initially inactive |
|
| Method Summary | |
|---|---|
void |
activate()
Requests the handler to be deactivated. |
void |
deactivate()
Requests the handler to be activated. |
boolean |
isActive()
Answers if this Deactivable is active, that is, if the number of
activations - times activate() has been sent to it - is greater
than the number of deactivations - times deactivate() has been
sent to it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StackedDeactivableSupport()
StackedDeactivableSupport initially inactive
| Method Detail |
|---|
public void activate()
Deactivable
activate in interface Deactivablepublic void deactivate()
Deactivable
deactivate in interface Deactivablepublic boolean isActive()
Deactivable is active, that is, if the number of
activations - times activate() has been sent to it - is greater
than the number of deactivations - times deactivate() has been
sent to it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||