Constructor and Description |
---|
SIPCommButtonUI() |
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.
|
protected void |
paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton b)
Overriden to do nothing.
|
protected void |
paintFocus(java.awt.Graphics g,
javax.swing.AbstractButton b,
java.awt.Rectangle viewRect,
java.awt.Rectangle textRect,
java.awt.Rectangle iconRect)
Paints the focused view of the given AbstractButton.
|
void |
uninstallDefaults(javax.swing.AbstractButton b)
Uninstalls default configurations for the given AbstractButton.
|
createButtonListener, getDisabledTextColor, getFocusColor, getSelectColor, paintText, update
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, 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.metal.MetalButtonUI
b
- the button, for which we're installing the defaultspublic void uninstallDefaults(javax.swing.AbstractButton b)
uninstallDefaults
in class javax.swing.plaf.metal.MetalButtonUI
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.BasicButtonUI
g
- the Graphics object used for paintingc
- the Component to paintprotected void paintFocus(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle viewRect, java.awt.Rectangle textRect, java.awt.Rectangle iconRect)
paintFocus
in class javax.swing.plaf.metal.MetalButtonUI
g
- the Graphics object used for paintingb
- the button to paintviewRect
- the rectangle indicating the bounds of the focused buttontextRect
- the rectangle indicating the bounds of the texticonRect
- the rectangle indicating the bounds of the iconprotected void paintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton b)
paintButtonPressed
in class javax.swing.plaf.metal.MetalButtonUI
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.