File: README.md

package info (click to toggle)
libmnemonicsetter-java 0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: java: 570; makefile: 8
file content (39 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# mnemonicsetter
 Automatically assigns mnemonics to menu items and toolbar elements.

Use it just like `MnemonicSetter.INSTANCE.setComponentMnemonics(menubar, toolbar)`.
All items belonging to given elements are given different mnemonic letters if possible.

You can also attach `MnemonicSetter.INSTANCE` to a popup menu as a PopupMenuListener 
so that mnemonics are automatically calculated when the popup menu becomes visible.

### Maven configuration
```
<repository>
	<snapshots>
 		<enabled>false</enabled>
 	</snapshots>
	<id>bintray-freeplane-maven</id>
	<name>bintray</name>
	<url>https://dl.bintray.com/freeplane/freeplane</url>
</repository>


<dependency> 
	<groupId>org.dpolivaev.mnemonicsetter</groupId> 
	<artifactId>mnemonicsetter</artifactId> 
	<version>0.4</version> 
	<type>pom</type> 
</dependency>
```

### Gradle configuration
```
repositories {
		maven { url "http://dl.bintray.com/freeplane/freeplane" }
}

dependencies {		
	compile 'org.dpolivaev.mnemonicsetter:mnemonicsetter:0.4'
}	
```