|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIFunctions
Nested Class Summary | |
---|---|
static interface |
UIFunctions.actionListener
|
static interface |
UIFunctions.TagReturner
|
Field Summary | |
---|---|
static int |
ACTION_FULL_UPDATE
|
static int |
ACTION_UPDATE_RESTART_REQUEST
|
static String |
MAIN_WINDOW_NAME
|
static String |
MAIN_WINDOW_NAME_PLUS
|
static String |
OTO_DEFAULT_TO_STOPPED
|
static boolean |
OTO_DEFAULT_TO_STOPPED_DEFAULT
|
static String |
OTO_FORCE_OPEN
|
static boolean |
OTO_FORCE_OPEN_DEFAULT
|
static String |
OTO_HIDE_ERRORS
|
static boolean |
OTO_HIDE_ERRORS_DEFAULT
|
static String |
OTO_SILENT
|
static boolean |
OTO_SILENT_DEFAULT
|
static int |
STATUSICON_ERROR
|
static int |
STATUSICON_NONE
|
static int |
STATUSICON_WARNING
|
static int |
VIEW_CONFIG
Deprecated. Used by rcm |
static int |
VIEW_DM_DETAILS
Deprecated. Used by rcm |
static int |
VIEW_MYTORRENTS
Deprecated. Used by azburn |
static int |
VS_ACTIVE
|
static int |
VS_MINIMIZED
|
static int |
VS_MINIMIZED_TO_TRAY
|
static int |
VS_TRAY_ONLY
|
Method Summary | |
---|---|
boolean |
addTorrentWithOptions(boolean force,
TorrentOpenOptions torrentOptions)
Opens the Torrent Add Options Window, if configured to |
boolean |
addTorrentWithOptions(TorrentOpenOptions torrentOptions,
Map<String,Object> addOptions)
|
int |
adjustPXForDPI(int px)
|
void |
bringToFront()
Bring main window to the front |
void |
bringToFront(boolean tryTricks)
Bring main window to the front |
boolean |
dispose(boolean for_restart,
boolean close_already_in_progress)
Request the UI be shut down. |
void |
doSearch(String searchText)
|
void |
doSearch(String searchText,
boolean toSubscribe)
|
void |
forceNotify(int iconID,
String title,
String text,
String details,
Object[] relatedObjects,
int timeoutSecs)
Might launch the old-school Mr Slidey |
MultipleDocumentInterface |
getMDI()
Retrieve the MDI (Sidebar, TabbedMDI) |
int |
getUIType()
|
UIUpdater |
getUIUpdater()
Retrieves the class that handles periodically updating the UI |
UIFunctionsUserPrompter |
getUserPrompter(String title,
String text,
String[] buttons,
int defaultOption)
|
int |
getVisibilityState()
|
void |
installPlugin(String plugin_id,
String resource_prefix,
UIFunctions.actionListener listener)
|
boolean |
isProgramInstalled(String extension,
String name)
|
void |
openRemotePairingWindow()
|
void |
openView(int viewID,
Object datasource)
Deprecated. Use getMDI() |
void |
performAction(int action_id,
Object args,
UIFunctions.actionListener listener)
|
void |
playOrStreamDataSource(Object ds,
String referal,
boolean launch_already_checked,
boolean complete_only)
|
void |
promptUser(String title,
String text,
String[] buttons,
int defaultOption,
String rememberID,
String rememberText,
boolean bRememberByDefault,
int autoCloseInMS,
UserPrompterResultListener l)
|
void |
refreshIconBar()
|
void |
refreshLanguage()
Change/Refresh the language of the UI |
void |
runOnUIThread(int ui_type,
Runnable runnable)
|
void |
setStatusText(int statustype,
String string,
UIStatusTextClickListener l)
|
void |
setStatusText(String string)
|
void |
showCreateTagDialog(UIFunctions.TagReturner tagReturner)
|
void |
showErrorMessage(String keyPrefix,
String details,
String[] textParams)
|
boolean |
viewURL(String url,
String target,
double wPct,
double hPct,
boolean allowResize,
boolean isModal)
|
boolean |
viewURL(String url,
String target,
int w,
int h,
boolean allowResize,
boolean isModal)
|
void |
viewURL(String url,
String target,
String sourceRef)
|
Field Detail |
---|
static final String MAIN_WINDOW_NAME
static final String MAIN_WINDOW_NAME_PLUS
static final int STATUSICON_NONE
static final int STATUSICON_WARNING
static final int STATUSICON_ERROR
static final int VIEW_MYTORRENTS
static final int VIEW_CONFIG
static final int VIEW_DM_DETAILS
static final int ACTION_FULL_UPDATE
static final int ACTION_UPDATE_RESTART_REQUEST
static final int VS_TRAY_ONLY
static final int VS_MINIMIZED_TO_TRAY
static final int VS_MINIMIZED
static final int VS_ACTIVE
static final String OTO_DEFAULT_TO_STOPPED
static final boolean OTO_DEFAULT_TO_STOPPED_DEFAULT
static final String OTO_FORCE_OPEN
static final boolean OTO_FORCE_OPEN_DEFAULT
static final String OTO_SILENT
static final boolean OTO_SILENT_DEFAULT
static final String OTO_HIDE_ERRORS
static final boolean OTO_HIDE_ERRORS_DEFAULT
Method Detail |
---|
int getUIType()
void bringToFront()
void bringToFront(boolean tryTricks)
tryTricks:
- try tricks to force it to the topint getVisibilityState()
void refreshLanguage()
void refreshIconBar()
void setStatusText(String string)
string
- void setStatusText(int statustype, String string, UIStatusTextClickListener l)
boolean dispose(boolean for_restart, boolean close_already_in_progress)
boolean viewURL(String url, String target, int w, int h, boolean allowResize, boolean isModal)
boolean viewURL(String url, String target, double wPct, double hPct, boolean allowResize, boolean isModal)
void viewURL(String url, String target, String sourceRef)
UIFunctionsUserPrompter getUserPrompter(String title, String text, String[] buttons, int defaultOption)
void promptUser(String title, String text, String[] buttons, int defaultOption, String rememberID, String rememberText, boolean bRememberByDefault, int autoCloseInMS, UserPrompterResultListener l)
UIUpdater getUIUpdater()
void openView(int viewID, Object datasource)
getMDI()
void doSearch(String searchText)
void doSearch(String searchText, boolean toSubscribe)
void installPlugin(String plugin_id, String resource_prefix, UIFunctions.actionListener listener)
void performAction(int action_id, Object args, UIFunctions.actionListener listener)
action_id
- args
- listener
- MultipleDocumentInterface getMDI()
void forceNotify(int iconID, String title, String text, String details, Object[] relatedObjects, int timeoutSecs)
void runOnUIThread(int ui_type, Runnable runnable)
boolean isProgramInstalled(String extension, String name)
void openRemotePairingWindow()
void playOrStreamDataSource(Object ds, String referal, boolean launch_already_checked, boolean complete_only)
boolean addTorrentWithOptions(boolean force, TorrentOpenOptions torrentOptions)
force
- Override configuration, show it!
boolean addTorrentWithOptions(TorrentOpenOptions torrentOptions, Map<String,Object> addOptions)
void showErrorMessage(String keyPrefix, String details, String[] textParams)
void showCreateTagDialog(UIFunctions.TagReturner tagReturner)
int adjustPXForDPI(int px)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |