Class KeyTipManager
java.lang.Object
org.pushingpixels.radiance.component.internal.utils.KeyTipManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceAnnotation to mark a command button that shows UI content with associated keytips on clicking its action area.static classstatic classstatic classstatic interfacestatic interfaceprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Componentprivate static final KeyTipManagerprivate List<KeyTipManager.KeyTipChain> private List<KeyTipManager.KeyTipListener> private BlockingQueue<Character> private JRibbonFrame -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddCommandButtonLinks(JCommandButton commandButton, KeyTipManager.KeyTipChain chain) voidaddKeyTipListener(KeyTipManager.KeyTipListener keyTipListener) static KeyTipManagerprivate voidfireKeyTipsHidden(JRibbonFrame ribbonFrame) private voidfireKeyTipsShown(JRibbonFrame ribbonFrame) private KeyTipManager.KeyTipLinkprivate KeyTipManager.KeyTipLinkprivate KeyTipManager.KeyTipLinkvoidhandleKeyPress(char keyChar) voidbooleanprivate voidpopulateChain(Component c, KeyTipManager.KeyTipChain chain) private voidprocessNextKeyPress(char keyChar) voidvoidremoveKeyTipListener(KeyTipManager.KeyTipListener keyTipListener) private voidvoidvoidshowRootKeyTipChain(JRibbonFrame ribbonFrame) private void
-
Field Details
-
keyTipChains
-
listenerList
-
processingQueue
-
rootOwner
-
focusOwner
-
instance
-
-
Constructor Details
-
KeyTipManager
private KeyTipManager()
-
-
Method Details
-
defaultManager
-
isShowingKeyTips
public boolean isShowingKeyTips() -
hideAllKeyTips
public void hideAllKeyTips() -
tryRestoringFocusOwner
private void tryRestoringFocusOwner() -
showRootKeyTipChain
-
getCurrentlyShownKeyTips
-
getCurrentlyShownKeyTipChain
-
showPreviousChain
public void showPreviousChain() -
addCommandButtonLinks
-
populateChain
-
getCommandButtonActionLink
-
getRibbonComponentLink
-
getCommandButtonPopupLink
-
handleKeyPress
public void handleKeyPress(char keyChar) -
processNextKeyPress
private void processNextKeyPress(char keyChar) -
repaintWindows
private void repaintWindows() -
addKeyTipListener
-
removeKeyTipListener
-
fireKeyTipsShown
-
fireKeyTipsHidden
-
refreshCurrentChain
public void refreshCurrentChain()
-