Class KeyTipManager
java.lang.Object
org.pushingpixels.radiance.component.internal.utils.KeyTipManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Annotation to mark a command button that shows UI content with associated keytips on clicking its action area.class
static class
static class
static interface
static interface
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Component
private static final KeyTipManager
private List
<KeyTipManager.KeyTipChain> private List
<KeyTipManager.KeyTipListener> private BlockingQueue
<Character> private JRibbonFrame
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addCommandButtonLinks
(JCommandButton commandButton, KeyTipManager.KeyTipChain chain) void
addKeyTipListener
(KeyTipManager.KeyTipListener keyTipListener) static KeyTipManager
private void
fireKeyTipsHidden
(JRibbonFrame ribbonFrame) private void
fireKeyTipsShown
(JRibbonFrame ribbonFrame) private KeyTipManager.KeyTipLink
private KeyTipManager.KeyTipLink
private KeyTipManager.KeyTipLink
void
handleKeyPress
(char keyChar) void
boolean
private void
populateChain
(Component c, KeyTipManager.KeyTipChain chain) private void
processNextKeyPress
(char keyChar) void
void
removeKeyTipListener
(KeyTipManager.KeyTipListener keyTipListener) private void
void
void
showRootKeyTipChain
(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()
-