https://github.com/gleidsonmt/presentation
https://github.com/gleidsonmt/presentation
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gleidsonmt/presentation
- Owner: gleidsonmt
- License: gpl-3.0
- Created: 2024-10-02T17:08:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-02-18T00:12:40.000Z (4 months ago)
- Last Synced: 2025-02-18T01:23:03.744Z (4 months ago)
- Language: Java
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Presentation Creator
## 📑 Overview
The idea behind this component is to create a top-down structure like a document.## Style
The base class PresentationCreator uses a declarative style like this
```java
PresentationCreator = new PresentationCreator()
...
.build();
```As you grow up, you can pass components like this
```java
PresentationCreator = new PresentationCreator()
.title("")
.build()
.getRoot(); // Here you can get the root node
```
Getting typographic```java
PresentationCreator = new PresentationCreator()
.h1("h1") // the title component is the same and have the h1 class to style
.h2("h2")
...
.h6("h6")
.build()
.getRoot(); // Here you can get the root node
```
## See others
```java
PresentationCreator = new PresentationCreator()
.image(new Image("avatar.jpg")) // tha can be responsive, (cover)
.demo(new Button("Demo")) // a single demonstration of a component
.code("code") // A portion of code that uses hightlighted
.demonstration(new Button("Demo"), "java code") // That can be detailed whit a portion of code
.demonstration(new Button("Demo"), "java code", "fxml code", "css code") // Create tabs to navigate
.build()
.getRoot(); // Here you can get the root node
```## System of parents
```java
PresentationCreator = new PresentationCreator()
.h1("Title One")
.h2("Title two", "Title One") // heres second parameters act likes root to future navigation
.build()
.getRoot(); // Here you can get the root node
```
## See with some style
