bibliothek.gui.dock
Class DockHierarchyLock.Token

java.lang.Object
  extended by bibliothek.gui.dock.DockHierarchyLock.Token
Enclosing class:
DockHierarchyLock

public static class DockHierarchyLock.Token
extends Object

Is acquired from a DockHierarchyLock and releases the lock.


Method Summary
 void release()
          Releases the lock.
 void releaseNoCheck()
          Releases this lock without doing the usual checks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

release

public void release()
Releases the lock.

Throws:
IllegalStateException - if the state is not as suggested by the acquierer when acquiering the lock
IllegalStateException - if blocking access to the EDT was required and an InterruptedException occured

releaseNoCheck

public void releaseNoCheck()
Releases this lock without doing the usual checks.