public class GlobalShortcutDialog.ShortcutFieldUI extends SIPCommTextFieldUI implements Skinnable
BUTTON_GAP, deleteButton, isDeleteMouseOver, isDeleteMousePressed
Constructor and Description |
---|
ShortcutFieldUI()
Creates a SIPCommTextFieldUI.
|
Modifier and Type | Method and Description |
---|---|
protected void |
customPaintBackground(java.awt.Graphics g)
Paints the background of the associated component.
|
protected void |
installListeners()
Adds the custom mouse listeners defined in this class to the installed
listeners.
|
protected void |
paintSafely(java.awt.Graphics g)
Implements parent paintSafely method and enables antialiasing.
|
protected void |
updateDeleteIcon(java.awt.event.MouseEvent evt)
Updates the delete icon, changes the cursor and deletes the content of
the associated text component when the mouse is pressed over the delete
icon.
|
createUI, getDeleteButtonRect, getVisibleEditorRect, isDeleteButtonEnabled, loadSkin, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setBgBorderEndColor, setBgBorderStartColor, setBgEndColor, setBgStartColor, setDeleteButtonEnabled, uninstallListeners
create, getBaseline, getBaselineResizeBehavior, getPropertyPrefix
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, installDefaults, installKeyboardActions, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, setView, uninstallDefaults, uninstallKeyboardActions, uninstallUI, update, viewToModel, viewToModel
contains, getAccessibleChild, getAccessibleChildrenCount
protected void installListeners()
installListeners
in class SIPCommTextFieldUI
protected void updateDeleteIcon(java.awt.event.MouseEvent evt)
updateDeleteIcon
in class SIPCommTextFieldUI
evt
- the mouse event that has prompted us to update the delete
icon.protected void paintSafely(java.awt.Graphics g)
paintSafely
in class javax.swing.plaf.basic.BasicTextUI
g
- the Graphics object that notified usprotected void customPaintBackground(java.awt.Graphics g)
customPaintBackground
in class SIPCommTextFieldUI
g
- the Graphics object used for painting
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.