public class PresencePanel extends TransparentPanel implements java.awt.event.ActionListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
PresencePanel(SIPAccountRegistrationForm regform)
Creates an instance of PresencePanel.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent) |
(package private) char[] |
getClistOptionPassword()
Gets the contact list password.
|
(package private) java.lang.String |
getClistOptionServerUri()
Gets the contact list server uri.
|
(package private) java.lang.String |
getClistOptionUser()
Gets the contact list user.
|
(package private) java.lang.String |
getPollPeriod()
Returns the poll period.
|
(package private) java.lang.String |
getSubscriptionExpiration()
Returns the subscription expiration information.
|
(package private) boolean |
isClistOptionUseSipCredentials()
Indicates if contact list has to use SIP account credentials.
|
(package private) boolean |
isForcePeerToPeerMode()
Indicates if the peer-to-peer presence mode is selected.
|
(package private) boolean |
isPresenceEnabled()
Indicates if the presence is enabled.
|
(package private) boolean |
isXCapEnable()
Indicates if XCAP has to use its capabilities.
|
(package private) boolean |
isXiVOEnable()
Indicates if XCAP has to use its capabilities.
|
void |
reinit()
Reinits labels and combobox to default values.
|
(package private) void |
setClistOptionEnableEnabled(boolean isEnabled)
Enables or disable contact list related options.
|
(package private) void |
setClistOptionPassword(java.lang.String xCapPassword)
Sets the contact list password.
|
(package private) void |
setClistOptionServerUri(java.lang.String xCapServerUri)
Sets the contact list server uri.
|
(package private) void |
setClistOptionUser(java.lang.String clistOptionUser)
Sets the contact list user.
|
(package private) void |
setClistOptionUseSipCredentials(boolean clistOptionUseSipCredentials)
Sets if contact list has to use SIP account credentials.
|
(package private) void |
setClistOptionUseSipCredentialsEnabled(boolean isEnabled)
Enables or disable contact list credentials related options.
|
(package private) void |
setForcePeerToPeerMode(boolean forceP2P)
Enables/disables the peer-to-peer presence mode.
|
(package private) void |
setPollPeriod(java.lang.String pollPeriod)
Sets the poll period.
|
(package private) void |
setPresenceEnabled(boolean isPresenceEnabled)
Enables/disables the presence.
|
(package private) void |
setPresenceOptionsEnabled(boolean isEnabled)
Enables or disable all presence related options.
|
(package private) void |
setSubscriptionExpiration(java.lang.String subscExp)
Sets the subscription expiration information.
|
(package private) void |
setXCapEnable(boolean xCapEnable)
Sets if has to use its capabilities.
|
(package private) void |
setXiVOEnable(boolean xivoEnable)
Sets if has to use its capabilities.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public PresencePanel(SIPAccountRegistrationForm regform)
regform
- the parent registration formvoid setPresenceOptionsEnabled(boolean isEnabled)
isEnabled
- true
to enable the presence related
options, false
- to disable them.void setClistOptionUseSipCredentialsEnabled(boolean isEnabled)
isEnabled
- true
to enable the credentials related
options, false
- to disable them.void setClistOptionEnableEnabled(boolean isEnabled)
isEnabled
- true
to enable the clist options related
options, false
- to disable them.boolean isPresenceEnabled()
void setPresenceEnabled(boolean isPresenceEnabled)
isPresenceEnabled
- true to enable the presence,
false - otherwiseboolean isForcePeerToPeerMode()
void setForcePeerToPeerMode(boolean forceP2P)
forceP2P
- true to select the peer-to-peer presence mode,
false - otherwise.java.lang.String getPollPeriod()
void setPollPeriod(java.lang.String pollPeriod)
pollPeriod
- the poll periodjava.lang.String getSubscriptionExpiration()
void setSubscriptionExpiration(java.lang.String subscExp)
subscExp
- the subscription expiration informationboolean isXCapEnable()
void setXCapEnable(boolean xCapEnable)
xCapEnable
- if has to use its capabilities.boolean isXiVOEnable()
void setXiVOEnable(boolean xivoEnable)
xivoEnable
- if has to use its capabilities.boolean isClistOptionUseSipCredentials()
void setClistOptionUseSipCredentials(boolean clistOptionUseSipCredentials)
clistOptionUseSipCredentials
- if contact list
has to use SIP account credentials.java.lang.String getClistOptionServerUri()
void setClistOptionServerUri(java.lang.String xCapServerUri)
xCapServerUri
- the contact list server uri.java.lang.String getClistOptionUser()
void setClistOptionUser(java.lang.String clistOptionUser)
clistOptionUser
- the contact list user.char[] getClistOptionPassword()
void setClistOptionPassword(java.lang.String xCapPassword)
xCapPassword
- the contact list password.public void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed
in interface java.awt.event.ActionListener
public void reinit()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.