Skip to content

Commit 306fcd2

Browse files
committed
migrate from Eclipse project to Maven project
1 parent 49f3ad0 commit 306fcd2

File tree

107 files changed

+28878
-32673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+28878
-32673
lines changed

.classpath

-6
This file was deleted.

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Maven
2+
target/
3+
4+
# Eclipse
5+
.settings/
6+
7+
# IntelliJ IDEA
8+
.idea/**/workspace.xml
9+
10+
# Others
11+
*.db
12+
*.log
13+
*.properties
14+
/dependency-reduced-pom.xml

.idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.project

-17
This file was deleted.

README.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# KaboomSwing
2+
3+
Based on aephyr: <https://code.google.com/archive/p/aephyr/>
4+
5+
Swing components, accessories, utilities, etc for use in a GUI
6+
7+
## CachingList & CachingTable
8+
9+
JList & JTable extensions that manage the loading and cache of their data.
10+
11+
### Features
12+
13+
#### Cache Size
14+
* The cache size can be customized by specifying a threshold float value between 0.0f and Float.POSITIVE\_INFINITY:
15+
* 0.0f: Only the visible data is cached
16+
* 1.0f: The visible data and one block increment in both directions is cached
17+
* Float.POSITIVE\_INFINITY: All data remains cached once loaded
18+
19+
#### Delayed Loading
20+
* Loading is delayed when the view is undergoing a constant scroll by:
21+
* Dragging of the JScrollBar thumb
22+
* Mouse wheel scroll
23+
* Repeated key presses that induce scrolling (e.g. VK\_DOWN)
24+
25+
## TreeMenuBar
26+
27+
A breadcrumb component that combines JTree & JMenuBar. The structure of the breadcrumb is determined by a TreeModel and a TreePath. Each component in the TreePath has it's own JMenu in the JMenuBar. The popup for each JMenu contains the JTree with its root set to the node for the specified JMenu.
28+
29+
## TreeTable
30+
31+
### Features
32+
33+
#### Tree-aware Drag & Drop
34+
* Provides visual feedback for where a node will be inserted when dragging over the tree column
35+
* All properties of JTable.DropLocation & JTree.DropLocation are included in TreeTable.DropLocation
36+
* Expands nodes that are hovered over similar to JTree but only if the location is over the "path bounds"
37+
38+
#### Sorting & Filtering
39+
* Enable sorting by calling setAutoCreateRowSorter(true)
40+
* DefaultTreeTableSorter allows sorting & filtering of all nodes (Table Header Sorting) and single nodes (Node Specific Sorting)
41+
42+
#### JTree-style Row Heights
43+
* When the row height property is less than or equal to zero, the height of each row is determined by the greatest preferred height of all cell renderers for that row
44+
45+
#### Row Focus
46+
* Enable row focus by calling setColumnFocusEnabled(false)
47+
* The entire row is rendered with the focus border
48+
* JTable's or JTree's key binding actions will be used for VK\_LEFT, VK\_RIGHT, VK\_HOME, VK\_END when column focus is enabled or disabled, respectively
49+
50+
#### Keyboard Selection
51+
* Selects the next row that matches the typed String
52+
* Similar to JTree but it acts upon the focused column or the tree column if column focus is disabled
53+
54+
## MnemonicManager
55+
56+
MnemonicManager determines unique mnemonics for components registered with it. Only components that are actively showing on the screen or components that have the client property key MnemonicManager.IGNORE_SHOWING set to true are considered. Control over the selection process can be custimized via the Mnemonic interface's getPriority(JComponent c) and getPreferredMnemonic(JComponent c, int index) methods. The DefaultMnemonic implementation uses the following order for determining preferred mnemonics: Uppercase letters, lowercase consonants, lowercase vowels, numbers.
57+
58+
### Features
59+
60+
#### Extended Modifiers
61+
* Specify addition modifiers that will trigger the mnemonic's action
62+
* If the extended modifier is 0, then the action will occur when no modifier keys are pressed (mainly for JOptionPane purposes)
63+
64+
#### Generate Mnemonics for JOptionPane
65+
* Use MnemonicsGenerator.registerDialogMnemonicGenerator(JComponent c) to automatically generate mnemonics for JOptionPane dialogs, where c is a JComponent sent as JOptionPane's message parameter.
66+
67+
#### Automatic Updates
68+
* Mnemonics will be reconfigured if a component's text changes
69+
* Mnemonics will automatically be added or removed for JTabbedPane & JMenuBar as tabs & menus are added or removed
70+
71+
#### TitledBorderMnemonic
72+
* A Mnemonic implementation for TitledBorders
73+
74+
## License
75+
76+
* GNU Lesser GPL <http://www.gnu.org/licenses/lgpl.html>

0 commit comments

Comments
 (0)