QJCC homepage

biz.chitec.quarterback.util
Class Hotkeys.FindCounter

java.lang.Object
  extended bybiz.chitec.quarterback.util.Hotkeys.FindCounter
Enclosing class:
Hotkeys

private class Hotkeys.FindCounter
extends java.lang.Object

Counting sentinel to prevent search from going mad. Needed to ensure that the recursive hotkey search does not go mad and searches indefinitely (or almost as long...) Initialized with a maximum calling number. If calling count exceeds this number, incrementation routine returns false.


Field Summary
private  int maxvalue
           
private  int myvalue
           
 
Constructor Summary
Hotkeys.FindCounter(int maxx)
           
 
Method Summary
 boolean incCounterOverrunsMaxValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myvalue

private int myvalue

maxvalue

private int maxvalue
Constructor Detail

Hotkeys.FindCounter

public Hotkeys.FindCounter(int maxx)
Method Detail

incCounterOverrunsMaxValue

public boolean incCounterOverrunsMaxValue()

QJCC homepage