|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.metal.MetalButtonUI
net.java.sip.communicator.impl.gui.lookandfeel.SIPCommButtonUI
public class SIPCommButtonUI
SIPCommButtonUI implementation.
| Field Summary |
|---|
| Fields inherited from class javax.swing.plaf.metal.MetalButtonUI |
|---|
disabledTextColor, focusColor, selectColor |
| Fields inherited from class javax.swing.plaf.basic.BasicButtonUI |
|---|
defaultTextIconGap, defaultTextShiftOffset |
| Constructor Summary | |
|---|---|
SIPCommButtonUI()
|
|
| Method Summary | |
|---|---|
static ComponentUI |
createUI(JComponent c)
Creates the UI for the given JComponent. |
void |
installDefaults(AbstractButton b)
Installs default configurations for the given AbstractButton. |
void |
loadSkin()
Reloads buffered images. |
void |
paint(Graphics g,
JComponent c)
Paints this button UI. |
protected void |
paintButtonPressed(Graphics g,
AbstractButton b)
Overriden to do nothing. |
protected void |
paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
Paints the focused view of the given AbstractButton. |
void |
uninstallDefaults(AbstractButton b)
Uninstalls default configurations for the given AbstractButton. |
| Methods inherited from class javax.swing.plaf.metal.MetalButtonUI |
|---|
createButtonListener, getDisabledTextColor, getFocusColor, getSelectColor, paintText, update |
| Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
|---|
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIPCommButtonUI()
| Method Detail |
|---|
public static ComponentUI createUI(JComponent c)
c - the JComponent, for which to create an UI
public void installDefaults(AbstractButton b)
installDefaults in class MetalButtonUIb - the button, for which we're installing the defaultspublic void uninstallDefaults(AbstractButton b)
uninstallDefaults in class MetalButtonUIb - the button, for which we're uninstalling the defaults
public void paint(Graphics g,
JComponent c)
paint in class BasicButtonUIg - the Graphics object used for paintingc - the Component to paint
protected void paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
paintFocus in class MetalButtonUIg - 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 icon
protected void paintButtonPressed(Graphics g,
AbstractButton b)
paintButtonPressed in class MetalButtonUIpublic void loadSkin()
loadSkin in interface Skinnable
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||