Skip to content

Commit 2e5c48c

Browse files
author
gustavnavar
committed
0.0.1
0 parents  commit 2e5c48c

85 files changed

Lines changed: 3426 additions & 0 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
!**/src/main/**/target/
4+
!**/src/test/**/target/
5+
6+
### IntelliJ IDEA ###
7+
.idea/modules.xml
8+
.idea/jarRepositories.xml
9+
.idea/compiler.xml
10+
.idea/libraries/
11+
*.iws
12+
*.iml
13+
*.ipr
14+
15+
### Eclipse ###
16+
.apt_generated
17+
.classpath
18+
.factorypath
19+
.project
20+
.settings
21+
.springBeans
22+
.sts4-cache
23+
24+
### NetBeans ###
25+
/nbproject/private/
26+
/nbbuild/
27+
/dist/
28+
/nbdist/
29+
/.nb-gradle/
30+
build/
31+
!**/src/main/**/build/
32+
!**/src/test/**/build/
33+
34+
### VS Code ###
35+
.vscode/
36+
37+
### Mac OS ###
38+
.DS_Store

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jpa-buddy.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/uiDesigner.xml

Lines changed: 124 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gridcore/pom.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>me.agno</groupId>
8+
<artifactId>Grid.Core</artifactId>
9+
<version>0.0.1</version>
10+
</parent>
11+
12+
<groupId>me.agno.gridcore</groupId>
13+
<artifactId>gridcore</artifactId>
14+
<version>0.0.1</version>
15+
16+
<properties>
17+
<maven.compiler.source>20</maven.compiler.source>
18+
<maven.compiler.target>20</maven.compiler.target>
19+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20+
</properties>
21+
22+
<dependencies>
23+
<dependency>
24+
<groupId>org.projectlombok</groupId>
25+
<artifactId>lombok</artifactId>
26+
<optional>true</optional>
27+
<version>1.18.28</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>org.jinq</groupId>
31+
<artifactId>jinq-jpa</artifactId>
32+
<version>2.0.1</version>
33+
</dependency>
34+
</dependencies>
35+
36+
</project>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package me.agno.gridcore;
2+
3+
import me.agno.gridcore.columns.IGridColumn;
4+
import me.agno.gridcore.utils.IGrid;
5+
6+
import java.util.Collection;
7+
import java.util.Comparator;
8+
import java.util.function.Function;
9+
10+
public interface IGridColumnCollection<T> extends Collection<IGridColumn<T>>
11+
{
12+
IGrid<T> getGrid();
13+
14+
IGridColumn<T> Add(IGridColumn<T> column);
15+
16+
IGridColumn<T> Add();
17+
18+
IGridColumn<T> Add(boolean hidden);
19+
20+
IGridColumn<T> Add(String columnName);
21+
22+
IGridColumn<T> Add(boolean hidden, String columnName);
23+
24+
<TKey> IGridColumn<T> Add(Function<T, TKey> expression);
25+
26+
<TKey> IGridColumn<T> Add(Function<T, TKey> expression, String columnName);
27+
28+
<TKey> IGridColumn<T> Add(Function<T, TKey> expression, boolean hidden);
29+
30+
<TKey> IGridColumn<T> Add(Function<T, TKey> expression, Comparator<TKey> comparer);
31+
32+
<TKey> IGridColumn<T> Add(Function<T, TKey> expression, Comparator<TKey> comparer, String columnName);
33+
34+
<TKey> IGridColumn<T> Add(Function<T, TKey> expression, Comparator<TKey> comparer, boolean hidden);
35+
36+
<TKey> IGridColumn<T> Get(Function<T, TKey> expression);
37+
38+
IGridColumn<T> Get(String name);
39+
40+
IGridColumn<T> GetByName(String name);
41+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package me.agno.gridcore;
2+
3+
public interface IGridOptions {
4+
5+
boolean isSumEnabled();
6+
7+
boolean isAverageEnabled();
8+
9+
boolean isMaxEnabled();
10+
11+
boolean isMinEnabled();
12+
13+
boolean isCalculationEnabled();
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package me.agno.gridcore;
2+
3+
import lombok.Getter;
4+
import lombok.Setter;
5+
6+
@Getter
7+
@Setter
8+
public class SearchOptions {
9+
10+
private boolean Enabled = true;
11+
private boolean OnlyTextColumns = true;
12+
private boolean HiddenColumns = false;
13+
private boolean SplittedWords = false;
14+
}

0 commit comments

Comments
 (0)