Constructor and Description |
---|
SIPCommToggleButtonUI() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates the UI for the given JComponent.
|
void |
installDefaults(javax.swing.AbstractButton b)
Installs default configurations for the given AbstractButton.
|
void |
loadSkin()
Reloads buffered images.
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paints this button UI.
|
void |
uninstallDefaults(javax.swing.AbstractButton b)
Uninstalls default configurations for the given AbstractButton.
|
getPropertyPrefix, getTextShiftOffset, paintIcon
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- the JComponent, for which to create an UIpublic void installDefaults(javax.swing.AbstractButton b)
installDefaults
in class javax.swing.plaf.basic.BasicButtonUI
b
- the button, for which we're installing the defaultspublic void uninstallDefaults(javax.swing.AbstractButton b)
uninstallDefaults
in class javax.swing.plaf.basic.BasicButtonUI
b
- the button, for which we're uninstalling the defaultspublic void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.basic.BasicToggleButtonUI
g
- the Graphics object used for paintingc
- the Component to paint
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.