|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.ui.common.UITemplate
public abstract class UITemplate
Constructor Summary | |
---|---|
UITemplate()
Creates a new instance of UITemplate |
Method Summary | |
---|---|
void |
init(boolean first,
boolean others)
Initializes the UI. |
boolean |
isStarted()
Determine if the UI is already started You usually don't need to override this from UITemplate |
abstract void |
openTorrent(java.lang.String fileName)
Open a torrent file. |
abstract java.lang.String[] |
processArgs(java.lang.String[] args)
Process UI specific command line arguments. |
void |
startUI()
Start the UI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UITemplate()
Method Detail |
---|
public void init(boolean first, boolean others)
IUserInterface
init
in interface IUserInterface
first
- This UI Instance is the first on the command line and should take control of singular stuff (LocaleUtil and torrents added via Command Line).others
- Indicates wether other UIs run along.public abstract void openTorrent(java.lang.String fileName)
IUserInterface
openTorrent
in interface IUserInterface
public abstract java.lang.String[] processArgs(java.lang.String[] args)
IUserInterface
processArgs
in interface IUserInterface
public void startUI()
IUserInterface
startUI
in interface IUserInterface
public boolean isStarted()
IUserInterface
isStarted
in interface IUserInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |