Class KeyTipManager
- java.lang.Object
-
- org.pushingpixels.radiance.component.internal.utils.KeyTipManager
-
public class KeyTipManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
KeyTipManager.HasNextKeyTipChain
Annotation to mark a command button that shows UI content with associated keytips on clicking its action area.class
KeyTipManager.KeyTipChain
static class
KeyTipManager.KeyTipEvent
static class
KeyTipManager.KeyTipLink
static interface
KeyTipManager.KeyTipLinkTraversal
static interface
KeyTipManager.KeyTipListener
private class
KeyTipManager.ProcessingThread
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Component
focusOwner
private static KeyTipManager
instance
private java.util.List<KeyTipManager.KeyTipChain>
keyTipChains
private java.util.List<KeyTipManager.KeyTipListener>
listenerList
private java.util.concurrent.BlockingQueue<java.lang.Character>
processingQueue
private JRibbonFrame
rootOwner
-
Constructor Summary
Constructors Modifier Constructor Description private
KeyTipManager()
-
Method Summary
-
-
-
Field Detail
-
keyTipChains
private java.util.List<KeyTipManager.KeyTipChain> keyTipChains
-
listenerList
private java.util.List<KeyTipManager.KeyTipListener> listenerList
-
processingQueue
private java.util.concurrent.BlockingQueue<java.lang.Character> processingQueue
-
rootOwner
private JRibbonFrame rootOwner
-
focusOwner
private java.awt.Component focusOwner
-
instance
private static final KeyTipManager instance
-
-
Method Detail
-
defaultManager
public static KeyTipManager defaultManager()
-
isShowingKeyTips
public boolean isShowingKeyTips()
-
hideAllKeyTips
public void hideAllKeyTips()
-
tryRestoringFocusOwner
private void tryRestoringFocusOwner()
-
showRootKeyTipChain
public void showRootKeyTipChain(JRibbonFrame ribbonFrame)
-
getCurrentlyShownKeyTips
public java.util.Collection<KeyTipManager.KeyTipLink> getCurrentlyShownKeyTips()
-
getCurrentlyShownKeyTipChain
public KeyTipManager.KeyTipChain getCurrentlyShownKeyTipChain()
-
showPreviousChain
public void showPreviousChain()
-
addCommandButtonLinks
private void addCommandButtonLinks(JCommandButton commandButton, KeyTipManager.KeyTipChain chain)
-
populateChain
private void populateChain(java.awt.Component c, KeyTipManager.KeyTipChain chain)
-
getCommandButtonActionLink
private KeyTipManager.KeyTipLink getCommandButtonActionLink(JCommandButton cb)
-
getRibbonComponentLink
private KeyTipManager.KeyTipLink getRibbonComponentLink(JRibbonComponent rc)
-
getCommandButtonPopupLink
private KeyTipManager.KeyTipLink getCommandButtonPopupLink(JCommandButton cb)
-
handleKeyPress
public void handleKeyPress(char keyChar)
-
processNextKeyPress
private void processNextKeyPress(char keyChar)
-
repaintWindows
private void repaintWindows()
-
addKeyTipListener
public void addKeyTipListener(KeyTipManager.KeyTipListener keyTipListener)
-
removeKeyTipListener
public void removeKeyTipListener(KeyTipManager.KeyTipListener keyTipListener)
-
fireKeyTipsShown
private void fireKeyTipsShown(JRibbonFrame ribbonFrame)
-
fireKeyTipsHidden
private void fireKeyTipsHidden(JRibbonFrame ribbonFrame)
-
refreshCurrentChain
public void refreshCurrentChain()
-
-