|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.properties.PropertyPage
net.sourceforge.rssowl.controller.properties.HotkeysProperties
Class displays a PropertyPage to assign hotkeys to common actions in RSSOwl
| Field Summary | |
(package private) org.eclipse.swt.widgets.Button |
assignKeyButton
|
(package private) org.eclipse.swt.widgets.Text |
charSequence
|
(package private) int |
countFullKey
|
(package private) boolean |
firstKeyPress
|
(package private) boolean |
fullKeyWasPressed
|
(package private) Vector |
keys
|
(package private) int |
keyValue
|
(package private) org.eclipse.swt.widgets.Combo |
selectCategoryCombo
|
(package private) org.eclipse.swt.widgets.Combo |
selectCommandCombo
|
| Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui |
| Constructor Summary | |
HotkeysProperties(org.eclipse.swt.widgets.Composite parent,
GUI rssOwlGui)
Instatiate a new HotkeysProperties PropertyPage |
|
| Method Summary | |
void |
applyButtonPressed()
The apply button has been pressed |
protected void |
initComponents()
Init all components |
(package private) boolean |
isFullKey(int keyCode)
A full key is any key, that is not Ctrl, Shift or Alt. |
(package private) String |
isKeyOccupied(int keySequence,
boolean matchSelf)
Check if a given key sequence is occupied by a command |
(package private) void |
onKeyPressed(org.eclipse.swt.events.KeyEvent e)
A key was pressed inside the hotkey input field. |
(package private) void |
onKeyReleased()
A key was released inside the hotkey input field. |
protected void |
restoreButtonPressed()
The restore button has been pressed |
(package private) void |
setKeySequenceText()
Set the entered key sequence formatted as text |
void |
updatePropertiesChangeManager()
No action is done here. |
| Methods inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
createButtons, createComposite, dispose, getPropertyChangeManager, initPropertyChangeManager, setApplyButtonState, setButtonLayoutData, setButtonLayoutData, setErrorMessage, setRestoreButtonState, setSuccessMessage, setWarningMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
org.eclipse.swt.widgets.Button assignKeyButton
org.eclipse.swt.widgets.Text charSequence
int countFullKey
boolean firstKeyPress
boolean fullKeyWasPressed
Vector keys
int keyValue
org.eclipse.swt.widgets.Combo selectCategoryCombo
org.eclipse.swt.widgets.Combo selectCommandCombo
| Constructor Detail |
public HotkeysProperties(org.eclipse.swt.widgets.Composite parent,
GUI rssOwlGui)
parent - Composite's parentrssOwlGui - The MainController| Method Detail |
public void applyButtonPressed()
PropertyPage
applyButtonPressed in class PropertyPagePropertyPage.applyButtonPressed()public void updatePropertiesChangeManager()
updatePropertiesChangeManager in class PropertyPageprotected void initComponents()
initComponents in class PropertyPageprotected void restoreButtonPressed()
PropertyPage
restoreButtonPressed in class PropertyPagePropertyPage.restoreButtonPressed()boolean isFullKey(int keyCode)
keyCode - Selected key
String isKeyOccupied(int keySequence,
boolean matchSelf)
keySequence - Selected key sequencematchSelf - TRUE if selected command should be checked too
void onKeyPressed(org.eclipse.swt.events.KeyEvent e)
e - The occuring KeyEventvoid onKeyReleased()
void setKeySequenceText()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||