Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //archiwizacja - external component
- interface Archiwizacja {
- String aktualnaData(in String format)
- void dodajDoArchiwum()
- void dodajDoArchiwum(in String rozmowca, in String wiadomosc)
- void utworzFolderArchiwum()
- void utworzFolderArchiwum(in String[][] kontakty)
- }
- //BeanFactory
- interface IBeanFactory{
- IMainFrame getMainFrame()
- IMessageControl getMessageControl()
- Odczyt getArchiveFrame()
- }//ConfigProvider
- interface IConfigProvider{
- IConfigProvider getNewInstance()
- Type getConfig(Type clazz)
- void setInstance( in IConfigProvider config)
- void putConfig(in Object obj)
- void loadDefaults()
- }
- //ConfigProviderDefaults
- interface IConfigProviderDefaults {
- Object Initialize()
- }
- //InputControl
- IInputControl : IVisualControl{
- void pushMessage()
- }
- //IRCEventOwnListener
- interface IIRCEventOwnListener {
- string unknown(in string prefix, in string command, in string middle, in string trailing)
- string onRegistered()
- string onDisconnected()
- string onError(in string msg)
- string onError(in int num, in string msg)
- string onInvite(in string chan, in string user, in string passiveNick)
- string onJoin(in string chan, in string user)
- string onKick(in string chan, in string user, in string passiveNick, in string msg)
- string onMode(in string chan, in string user, in IRCModeParser modeParser)
- string onMode(in string user, in string passiveNick, in string mode)
- string onNick(in string user, in string newNick)
- string onNotice(in string target, in string user, in string msg)
- string onPart(in string chan, in string user, in string msg)
- string onPrivmsg(in string target, in string user, in string msg)
- string onQuit(in string user, in string msg)
- string onReply(int num, in string value, in string msg)
- string onTopic(in string chan, string user)
- string OnRegisterNicks(in string string, List<string> list)
- string onTopicChange(in string chan, in string string, in string topic)
- string onMessage(in string msg)
- }
- //IRCProvider
- interface IIRCProvider {
- void addListener(in IReceive receive)
- string getCurrentNick()
- void sendRaw(in string text)
- void connect()
- boolean isConnected()
- void disconnect()
- void doQuit()
- void joinChannel(in string channel)
- void changeNick(in string nick)
- void whoIs()
- void whoIs(in string nick)
- }//Settings Tab
- interface ISettingsControlTab : IVisualControl {
- String getName()
- void validate()
- }
- //MainFrame
- interface IMainFrame {
- JFrame getFrame()
- }//MessageControl (GUI)
- interface IMessageControl : IVisualControl{
- string addTopicMsg(in String text)
- string addNickChangeMsg(in String text)
- string addMessage(in String text)
- string addMessage(in String currentNick, String msg)
- IMessageControl getInstance()
- JTextPane getTextPane()
- StyledDocument getStyledDocument()
- void setName(in String target)
- String getName()
- void clear()
- }
- interface IMessageControlFormatting {
- void initListener(in IMessageControl messageControl)
- }
- //Message Handler
- interface IMessageControlHandler : IMessageControl{
- String getHandlerName()
- boolean isEnabledHandler()
- void setEnabledHandler(in bool b)
- }
- //Real MessageControl - empty interface
- interface IMessageControlMain : IMessageControl {
- }
- //MessagePanelFacade
- interface IMessagePanelFacade : VisualControl{
- IMessageControl getMessageControl()
- NickList getNickList()
- IMessagePanelFacade getInstance()
- void setChanPanel()
- void setNickList(in List<string> list)
- }
- //Multithreader
- interface IMultithreader {
- void addToPool(in Runnable object)
- }//NotifyCondition structure
- interface INotifyCondition {
- String getRegex()
- void setRegex(String regex)
- boolean isNotifiedBySound()
- void setNotifiedBySound(in Boolean notifiedBySound)
- String getNotifySound()
- void setNotifySound(in String notifySound)
- boolean isNotifiedByTrayBlink()
- void setNotifiedByTrayBlink(in boolean notifiedByTrayBlink)
- boolean isNotifiedByPopup()
- void setNotifiedByPopup(in boolean notifiedByPopup)
- String getPopupMessage()
- void setPopupMessage(in String popupMessage)
- }
- interface INotifyConfig {
- Set<INotifyCondition> getNotifyConditions()
- void setNotifyConditions(in Set<INotifyCondition> notifyConditions)
- }
- //Odczyt - external component
- interface Odczyt {
- void wczytajWszystkieRozmowy()
- void wczytajWszystkieRozmowy(in String rozmowca)
- void wczytajRozmowe()
- String wczytajRozmowe(in String wybranaRozmowa)
- }
- //Receive
- interface IReceive :IVisualControl, IIRCEventListener {
- string getContext()
- }
- //Send
- interface ISend{
- void pushMessage(in string text)
- }
- //ServerConfiguration
- interface IServerConfiguration {
- string getServerAddress()
- void setServerAddress(in string serverAddress)
- int getServerPort()
- void setServerPort(in int serverPort)
- Set<string> getAvailableNicks()
- void setAvailableNicks(in Set<string> availableNicks)
- string getNickNext()
- string getUserName()
- void setUserName(in string userName)
- string getRealName()
- void setRealName(in string realName)
- string getQuitMsg()
- void setQuitMsg(in string quitMsg)
- void setEncoding(in string encoding)
- string getEncoding()
- }
- //SettingsControl
- interface ISettingControl {
- JDialog getDialog()
- }//SpellCheck - external component
- interface ISpellCheck{
- void CheckWord(in String word)
- }
- //VisibilityConfig
- interface IVisibilityConfig {
- Color getNickStyleColor()
- Color getMessageStyleColor()
- Color getTimeStyleColor()
- Color getNickChangeStyleColor()
- Color getTopicStyleColor()
- void setNickStyleColor(in Color nickStyleColor)
- void setMessageStyleColor(in Color messageStyleColor)
- void setTimeStyleColor(in Color timeStyleColor)
- void setNickChangeStyleColor(in Color nickChangeStyleColor)
- void setTopicStyleColor(in Color topicStyleColor)
- }//VisualControl
- interface IVisualControl {
- JPanel getPanel()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement