Uses of Class
leafchat.core.api.GeneralException

Packages that use GeneralException
com.leafdigital.audio.api   
com.leafdigital.irc.api The IRC api provides low-level support for the events and communication involved in connection with an IRC server. 
com.leafdigital.ircui.api The IRC UI plugin API allows plugins to add actions that are available in a particular context so that these can appear on right-click menus. 
com.leafdigital.ui.api The UI API provides a basic windowing interface library of widgets that can be constructed from XML. 
leafchat.core.api leafChat's core API, available to all plugins. 
 

Uses of GeneralException in com.leafdigital.audio.api
 

Subclasses of GeneralException in com.leafdigital.audio.api
 class AudioSetupException
          Exception thrown in cases where a user's audio setup isn't capable of playing sound (in current settings).
 

Methods in com.leafdigital.audio.api that throw GeneralException
 java.lang.String[] Audio.getSounds()
          Obtains a list of all available sounds in system/user folders.
 void Audio.play(java.io.File ogg)
          Plays the given audio file, which must be in .ogg format.
 void Audio.play(java.io.InputStream oggStream)
          Plays audio from the given InputStream, which must be in .ogg format.
 void Audio.play(java.lang.String oggName)
          Plays an audio file from the system or user 'sounds' folder, which must be in .ogg format.
 

Uses of GeneralException in com.leafdigital.irc.api
 

Subclasses of GeneralException in com.leafdigital.irc.api
 class NetworkException
          Exception that occurs due to networking error
 

Uses of GeneralException in com.leafdigital.ircui.api
 

Methods in com.leafdigital.ircui.api that throw GeneralException
 void GeneralChatWindow.Handler.doCommand(Commands c, java.lang.String line)
          User has entered a command line.
 void GeneralChatWindow.Handler.internalAction(org.w3c.dom.Element e)
          User has clicked on an link.
 void GeneralChatWindow.Handler.windowClosed()
          User has closed the window.
 

Uses of GeneralException in com.leafdigital.ui.api
 

Methods in com.leafdigital.ui.api that throw GeneralException
 void TextView.ActionHandler.action(org.w3c.dom.Element e, java.awt.event.MouseEvent me)
          Called when a user clicks on the element in question.
 void TextView.addLine(java.lang.String line)
          Add a line of text.
 void TextView.addPara(java.lang.String block)
          Add a paragraph of text.
 void TextView.addXML(java.lang.String xml)
          Adds arbitrary text data.
 void SimpleTool.clicked()
          Called when tool is clicked.
 void UI.installUserTheme(java.io.File newTheme)
          Installs a new theme file into the user's theme folder, checking it for errors.
 void TextView.setStyleSheet(java.io.InputStream is)
          Sets the stylesheet for the textview.
 void TextView.setStyleSheet(java.lang.String styles)
          Sets the stylesheet for the textview.
 

Uses of GeneralException in leafchat.core.api
 

Methods in leafchat.core.api with parameters of type GeneralException
 void PluginLoadReporter.reportFailure(java.io.File f, GeneralException ge)
           
 void PluginLoadReporter.reportFailure(leafchat.core.PluginClassLoader pcl, GeneralException ge)
           
 

Methods in leafchat.core.api that throw GeneralException
 void Plugin.close()
          Plugin is being closed and should free resources etc if necessary.
 boolean PluginContext.dispatchExternalMessage(java.lang.Class<? extends Msg> message, Msg m, boolean immediate)
          Dispatch a message that is controlled by a MessageOwner in another plugin.
 void PluginContext.dispatchMsgToTarget(Msg m, java.lang.Object target)
          Dispatch message to a specific target (useful for re-handling your own messages, basically just calls the right msg() method).
 void Plugin.init(PluginContext pc, PluginLoadReporter status)
          Plugin should store context for future use (if necessary) and register itself with events in which it has interest.
 PluginInfo PluginList.loadPluginFile(java.io.File f)
          Loads a plugin.
<C extends FactoryObject>
C
PluginContext.newFactoryObject(java.lang.Class<C> objectInterface)
          Get a new instance of a factory-created object.
 java.lang.Object PluginContext.newInstance(java.lang.Class<? extends FactoryObject> objectInterface)
          Deprecated. Replaced by PluginContext.newFactoryObject(Class)
<C extends FactoryObject>
C
Factory.newInstance(java.lang.Class<C> objectInterface)
          Requests factory to create a new object implementing the given interface.
 void PluginList.saveAPIJar(java.lang.String[] packages, java.io.File target)
          Saves a jar file containing all API classes.
 void PluginList.unloadPluginFile(PluginInfo plugin)
          Unloads a plugin.
 



Copyright © 2011 Samuel Marshall. All rights reserved.