FileDocCategorySizeDatePackage
UIFunctions.javaAPI DocAzureus 3.0.3.43527Sun Sep 23 04:57:42 BST 2007com.aelitis.azureus.ui

UIFunctions

public interface UIFunctions implements com.aelitis.azureus.core.AzureusCoreComponent
author
TuxPaper
created
Jun 14, 2006 TODO: Replace showXxxx(..) with showView(ID, ..) + ID Constants

Fields Summary
public static int
STATUSICON_NONE
public static int
STATUSICON_WARNING
public static int
STATUSICON_ERROR
Constructors Summary
Methods Summary
public voidbringToFront()
Bring main window to the front

public voidbringToFront(boolean noTricks)
Bring main window to the front

param
noTricks Don't try any tricks to force it to the top
since
3.0.1.7

public booleandispose(boolean for_restart, boolean close_already_in_progress)

public UIFunctionsUserPromptergetUserPrompter(java.lang.String title, java.lang.String text, java.lang.String[] buttons, int defaultOption)

public voidopenManagerView(org.gudy.azureus2.core3.download.DownloadManager dm)

param
dm

public intpromptUser(java.lang.String title, java.lang.String text, java.lang.String[] buttons, int defaultOption, java.lang.String rememberID, java.lang.String rememberText, boolean bRememberByDefault, int autoCloseInMS)

public voidrefreshIconBar()

public voidrefreshLanguage()
Change/Refresh the language of the UI

public voidremoveManagerView(org.gudy.azureus2.core3.download.DownloadManager dm)

param
manager

public booleanrequestShutdown()
Request the UI be shut down.

return
true - request granted, UI is being shut down false - request denied (example: password entry failed)

public voidsetStatusText(java.lang.String string)

param
string

public voidsetStatusText(int statustype, java.lang.String string, UIStatusTextClickListener l)

public voidshowAllPeersView()

public booleanshowConfig(java.lang.String string)
Display the config window

param
string Section to show. null for root
return
true: section was found

public voidshowConsole()

public voidshowMyShares()

public voidshowMyTorrents()

public voidshowMyTracker()

public voidshowStats()
Display the stats view

public voidshowStatsDHT()
Display the Stats View -> HHT subview

public voidshowStatsTransfers()
Display the Stats View -> Transfer subview

public booleanviewURL(java.lang.String url, java.lang.String target, int w, int h, boolean allowResize, boolean isModal)

param
url
param
target TODO
param
w
param
h
param
allowResize
return
success level

public booleanviewURL(java.lang.String url, java.lang.String target, double wPct, double hPct, boolean allowResize, boolean isModal)