|
||||||||||
| 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
public class HotkeysProperties
Class displays a PropertyPage to assign hotkeys to common actions in RSSOwl
| Field Summary | |
|---|---|
(package private) Button |
assignKeyButton
|
(package private) Text |
charSequence
|
(package private) int |
countFullKey
|
(package private) boolean |
firstKeyPress
|
(package private) boolean |
fullKeyWasPressed
|
(package private) java.util.Vector |
keys
|
(package private) int |
keyValue
|
(package private) Combo |
selectCategoryCombo
|
(package private) Combo |
selectCommandCombo
|
| Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
|---|
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui |
| Constructor Summary | |
|---|---|
HotkeysProperties(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) java.lang.String |
isKeyOccupied(int keySequence,
boolean matchSelf)
Check if a given key sequence is occupied by a command |
(package private) void |
onKeyPressed(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 |
|---|
Button assignKeyButton
Text charSequence
int countFullKey
boolean firstKeyPress
boolean fullKeyWasPressed
java.util.Vector keys
int keyValue
Combo selectCategoryCombo
Combo selectCommandCombo
| Constructor Detail |
|---|
public HotkeysProperties(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
java.lang.String isKeyOccupied(int keySequence,
boolean matchSelf)
keySequence - Selected key sequencematchSelf - TRUE if selected command should be checked too
void onKeyPressed(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 | |||||||||