org.herac.tuxguitar.gui.tools.browser
Class TGBrowserConnection

java.lang.Object
  extended by org.herac.tuxguitar.gui.tools.browser.TGBrowserConnection

public class TGBrowserConnection
extends java.lang.Object


Constructor Summary
TGBrowserConnection(TGBrowserConnectionHandler handler)
           
 
Method Summary
 void cd(int callId, TGBrowserElement element)
           
 void cdRoot(int callId)
           
 void cdUp(int callId)
           
 void close(int callId)
           
 TGBrowser getBrowser()
           
 boolean isLocked()
           
 boolean isOpen()
           
 void listElements(int callId)
           
protected  void lock()
           
 void notifyCd(int callId)
           
 void notifyClosed(int callId)
           
 void notifyElements(int callId, java.util.List elements)
           
 void notifyError(int callId, java.lang.Throwable throwable)
           
 void notifyOpened(int callId)
           
 void notifyStream(int callId, java.io.InputStream stream, TGBrowserElement element)
           
 void open(int callId, TGBrowser browser)
           
 void openStream(int callId, TGBrowserElement element)
           
 void release()
           
protected  void unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGBrowserConnection

public TGBrowserConnection(TGBrowserConnectionHandler handler)
Method Detail

lock

protected void lock()

unlock

protected void unlock()

isLocked

public boolean isLocked()

getBrowser

public TGBrowser getBrowser()

isOpen

public boolean isOpen()

open

public void open(int callId,
                 TGBrowser browser)

close

public void close(int callId)

cdRoot

public void cdRoot(int callId)

cdUp

public void cdUp(int callId)

cd

public void cd(int callId,
               TGBrowserElement element)

listElements

public void listElements(int callId)

openStream

public void openStream(int callId,
                       TGBrowserElement element)

release

public void release()

notifyCd

public void notifyCd(int callId)

notifyClosed

public void notifyClosed(int callId)

notifyElements

public void notifyElements(int callId,
                           java.util.List elements)

notifyError

public void notifyError(int callId,
                        java.lang.Throwable throwable)

notifyOpened

public void notifyOpened(int callId)

notifyStream

public void notifyStream(int callId,
                         java.io.InputStream stream,
                         TGBrowserElement element)