Skip to content

RebootSTR/pretty-university-schedule-awt

Repository files navigation

pretty-university-schedule-awt

This is a java-awt implementation CORE for drawing university schedule.

Instalation

  • Gradle
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
  
 dependencies {
	 implementation 'com.github.RebootSTR:pretty-university-schedule-awt:Tag'
 }
  • Maven
<repositories>
  <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependency>
    <groupId>com.github.RebootSTR</groupId>
    <artifactId>pretty-university-schedule-awt</artifactId>
    <version>Tag</version>
</dependency>

Usage

  1. Build Schedule with SheduleBuilder.
  2. Pass Schedule in AwtDrawer.
  3. Call AwtDrawer::drawSchedule.
  4. Call AwtDrawer::save with File object, where you want save a shedule.

Customize

Also you can customize some colors and sizes in generated schedule. To do this you should create new implementation from AwtDrawer and override some values.

BulderExample

You can find example for creatnig schedule with builder in rafikov.prettyuniversityschedule.example.AwtExample.kt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages