|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.spark.SparkManager
public final class SparkManager
Used as the System Manager for the Spark IM client. The SparkManager is responsible for the loading of other system managers on an as needed basis to prevent too much upfront loading of resources. Some of the Managers and components you can access from here are:
Field Summary | |
---|---|
static java.text.SimpleDateFormat |
DATE_SECOND_FORMATTER
The Date Formatter to use in Spark. |
Method Summary | |
---|---|
static AlertManager |
getAlertManager()
Returns the AlertManager. |
static ChatManager |
getChatManager()
Returns the ChatManager. |
static java.lang.String |
getClipboard()
Returns the String in the system clipboard. |
static org.jivesoftware.smack.XMPPConnection |
getConnection()
Gets the XMPPConnection instance. |
static java.awt.Component |
getFocusedComponent()
Return the component in focus at any particular instance. |
static MainWindow |
getMainWindow()
Gets the MainWindow instance. |
static org.jivesoftware.smackx.MessageEventManager |
getMessageEventManager()
Returns the MessageEventManager used in Spark. |
static Notifications |
getNotificationsEngine()
Returns the Notification System to handle general notification in either the system tray or "toaster" popups. |
static PreferenceManager |
getPreferenceManager()
Gets the PreferenceManager instance. |
static SearchManager |
getSearchManager()
Returns the SearchManager . |
static SessionManager |
getSessionManager()
Gets the SessionManager instance. |
static SoundManager |
getSoundManager()
Gets the SoundManager instance. |
static SparkTransferManager |
getTransferManager()
Returns the SparkTransferManager . |
static java.io.File |
getUserDirectory()
Returns the User Directory to used by individual users. |
static UserManager |
getUserManager()
Returns the UserManager for LiveAssistant. |
static VCardManager |
getVCardManager()
Returns the VCardManager. |
static Workspace |
getWorkspace()
Retrieves the inner container for Spark. |
static void |
printChatRoomTranscript(ChatRoom room)
Prints the transcript of a given chat room. |
static void |
printChatTranscript(TranscriptWindow transcriptWindow)
Displays a print dialog to print the transcript found in a TranscriptWindow |
static void |
setClipboard(java.lang.String str)
Adds a string to the system clipboard. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.text.SimpleDateFormat DATE_SECOND_FORMATTER
Method Detail |
---|
public static MainWindow getMainWindow()
MainWindow
instance. The MainWindow is the frame container used
to hold the Workspace container and Menubar of the Spark Client.
public static SessionManager getSessionManager()
SessionManager
instance.
public static SoundManager getSoundManager()
SoundManager
instance.
public static PreferenceManager getPreferenceManager()
PreferenceManager
instance.
public static org.jivesoftware.smack.XMPPConnection getConnection()
XMPPConnection
instance.
XMPPConnection
associated with this session.public static UserManager getUserManager()
UserManager
for LiveAssistant. The UserManager
keeps track of all users in current chats.
UserManager
for LiveAssistant.public static ChatManager getChatManager()
ChatManager
for this instance.public static Workspace getWorkspace()
public static Notifications getNotificationsEngine()
public static org.jivesoftware.smackx.MessageEventManager getMessageEventManager()
MessageEventManager
used in Spark. The MessageEventManager is responsible
for XMPP specific operations such as notifying users that you have received their message or
inform a users that you are typing a message to them.
public static VCardManager getVCardManager()
public static AlertManager getAlertManager()
public static void printChatRoomTranscript(ChatRoom room)
room
- the chat room that contains the transcript to print.public static java.lang.String getClipboard()
public static void setClipboard(java.lang.String str)
str
- the string to add the clipboard.public static void printChatTranscript(TranscriptWindow transcriptWindow)
TranscriptWindow
transcriptWindow
- the TranscriptWindow
containing the transcript.public static SparkTransferManager getTransferManager()
SparkTransferManager
. This is used
for any transfer operations within Spark. You may use the manager to
intercept file transfers for filtering of transfers or own plugin operations
with the File Transfer object.
public static SearchManager getSearchManager()
SearchManager
. This is used to allow
plugins to register their own search service.
public static java.io.File getUserDirectory()
public static java.awt.Component getFocusedComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |