My modern widgets!

Overview

Imperador-Widgets

My modern widgets!

IM NOT ENGLISH, MY ENGLISH MAY BE NOT GOOD!!

For you implement in your game/client/project, remember, the code use OpenGL, the scissor! You can replace the all render methods on the code with your own classes!

I use my own system font, I use the hal font renderer! You can look in TurokFramework!

Configuration

final ImperadorEntryBox entry = new ImperadorEntryBox(new TurokFont(new Font(...)), "default_text");

entry.scissor(); // For you sync automatically the space.
// Or you can edit the scissor!
entry.getScissor(); // Its a TurokRect class!
// The scissor works for label, button & entry.

// For you set the size of entry/label/button!
entry.getRect();

// The label/button have center, left & right methods;
label.center();
label.left(int offset);
label.right(int offset);
// Or edit.
label.setOffsetX(int v);

// You can modify the string offset Y!
label.setOffsetY(int v);

// The entry box have a Save entry!
final String typing = entry.getText(); // The current typed!
final String last = entry.getSave(); // The last text before unfocus!

Events

final TurokMouse mouse = new TurokMouse(mousePositionX, mousePositionY);

// For entry box, you always need update the scroll!
entry.doMouseScroll(mouse);

// For you sync the mouse over of entry/button;
button.doMouseOver(mouse);

// The event click for button & entry is the mouseClicked(int mx, int my, int button) (Minecraft GUI);
button.onMouseClicked(button);
entry.onMouseClicked(button);
// Remember do onMouseReleased in mouseReleased (Minecraft GUI);
entry.doSetIndexAB(button); // For sync the entry box selections.

// For entry box keytyped, the keyTyped method in (Minecraft GUI);
entry.onKeyboardPressed(char character, int key);

Sorry

I dont want to make a library or a big thing, I want only share my works and help who is starting!

You might also like...

A modern testing and behavioural specification framework for Java 8

Introduction If you're a Java developer and you've seen the fluent, modern specification frameworks available in other programming languages such as s

Sep 12, 2022

A modern I/O library for Android, Kotlin, and Java.

Okio See the project website for documentation and APIs. Okio is a library that complements java.io and java.nio to make it much easier to access, sto

Dec 31, 2022

Open Source Identity and Access Management For Modern Applications and Services

Keycloak Keycloak is an Open Source Identity and Access Management solution for modern Applications and Services. This repository contains the source

Jan 5, 2023

An evolving set of open source web components for building mobile and desktop web applications in modern browsers.

Vaadin components Vaadin components is an evolving set of high-quality user interface web components commonly needed in modern mobile and desktop busi

Dec 31, 2022

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.

Greetings, Java Hipster! Full documentation and information is available on our website at https://www.jhipster.tech/ Please read our guidelines befor

Jan 5, 2023

Modern Java - A Guide to Java 8

Modern Java - A Guide to Java 8 This article was originally posted on my blog. You should also read my Java 11 Tutorial (including new language and AP

Dec 29, 2022

A java implementation of Enigma, and a modern attack to decrypt it.

Java Enigma This is a Java implementation of an Enigma machine, along with code that attempts to break the encryption. This code is associated with an

Jan 4, 2023

A modern engine for modded Minecraft.

A modern engine for modded Minecraft.

Flywheel A modern engine for modded Minecraft. About The goal of this project is to provide tools for mod developers so they no longer have to worry a

Dec 30, 2022

The application is a PoC that helps in identifying modern bankers, potentially malicious and remote controlling applications abusing Android AccessibilityService.

Motivation Project aims to help in: identifying keyloggers and events hijacking malicious applications such as Anubis/TeaBot, identifying a "fake bank

Dec 9, 2022

A modern and lightweight library for working with email addresses in Java

JMail A modern, fast, zero-dependency library for working with email addresses and performing email address validation in Java. Built for Java 8 and u

Dec 22, 2022

Dremio - the missing link in modern data

Dremio Dremio enables organizations to unlock the value of their data. Documentation Documentation is available at https://docs.dremio.com. Quickstart

Dec 31, 2022

Sui - Modern super user interface implementation on Android.

Sui Modern super user interface (SUI) implementation on Android. The name, Sui, also comes from a character. Introduction Sui provides Java APIs, Shiz

Jan 5, 2023

Piranha - a modern cloud runtime

Piranha Project The Piranha Project delivers you with Cloud ready containers and useful add-on / integration modules. Getting Started To get started w

Dec 24, 2022

Free and 100% open source Progressive Java Runtime for modern Java™ deployments supported by a leading OpenJDK contributor

BellSoft Liberica JDK is a build of OpenJDK that is tested and verified to be compliant with the Java SE specification using OpenJDK Technology Compat

Dec 22, 2022

MockNeat - the modern faker lib.

MockNeat - the modern faker lib.

Mockneat is an arbitrary data-generator open-source library written in Java. It provides a simple but powerful (fluent) API that enables developers to

Dec 26, 2022

The modern Java bytecode editor

The modern Java bytecode editor

Recaf An easy to use modern Java bytecode editor that abstracts away the complexities of Java programs. Recaf abstracts away: Constant pool Stack fram

Dec 31, 2022

ZapIt - An advanced MQTT client made for the modern age

ZapIt - An advanced MQTT client made for the modern age

ZapIt An advanced MQTT client made for the modern age. Documentation Please refer to the Wiki Section. Installing Go to the Releases section and downl

Oct 8, 2022

The goal of the project is to create a web application using Java EE and database (PostgreSQL) without connecting a modern technology stack like spring boot and hibernate

The goal of the project is to create a web application using Java EE and database (PostgreSQL) without connecting a modern technology stack like spring boot and hibernate

About The Project SignIn page SignUp page Profile page The goal of the project is to create a web application using Java EE and database (PostgreSQL)

Mar 23, 2022

InterfaceMaker is a modern plugin to handle and customize join items, hotbars and menus with a developer and administrator friendly API.

InterfaceMaker is a modern plugin to handle and customize join items, hotbars and menus with a developer and administrator friendly API.

Interface Maker InterfaceMaker is a modern plugin to handle and customize join items, hotbars and menus with a developer friendly API. Features Simple

Nov 27, 2022
Owner
Wks JanStudio
A good programmer!
Wks JanStudio
JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.

Greetings, Java Hipster! Full documentation and information is available on our website at https://www.jhipster.tech/ Please read our guidelines befor

JHipster 20.2k Jan 5, 2023
Modern configuration library for distributed apps written in Java.

Overview cfg4j ("configuration for Java") is a configuration library for Java distributed apps (and more). Features: Open source Easy to use Auto-relo

cfg4j 544 Nov 23, 2022
Modern tool for microservice configuration management

Quick start We recommend to start with Microconfig Features guide and then continue reading this documentation. Microconfig overview and features Micr

Microconfig 262 Dec 19, 2022
requery - modern SQL based query & persistence for Java / Kotlin / Android

A light but powerful object mapping and SQL generator for Java/Kotlin/Android with RxJava and Java 8 support. Easily map to or create databases, perfo

requery 3.1k Jan 5, 2023
A modern JSON library for Kotlin and Java.

Moshi Moshi is a modern JSON library for Android and Java. It makes it easy to parse JSON into Java objects: String json = ...; Moshi moshi = new Mos

Square 8.7k Dec 31, 2022
Vaadin 6, 7, 8 is a Java framework for modern Java web applications.

Vaadin Framework Vaadin allows you to build modern web apps efficiently in plain Java, without touching low level web technologies. This repository co

Vaadin 1.7k Jan 5, 2023
Bootique is a minimally opinionated platform for modern runnable Java apps.

Bootique is a minimally opinionated java launcher and integration technology. It is intended for building container-less runnable Java applications. W

Bootique Project 1.4k Dec 29, 2022
Modern Java - A Guide to Java 8

Modern Java - A Guide to Java 8 This article was originally posted on my blog. You should also read my Java 11 Tutorial (including new language and AP

Benjamin Winterberg 16.1k Jan 5, 2023
modular and modern graph-theory algorithms framework in Java

Erdos is a very light, modular and super easy to use modern Graph theoretic algorithms framework for Java. It contains graph algorithms that you can a

Erdos 111 Aug 14, 2022
Java modern template engine

Jtwig Project Documentation Project Status Coverage Version jtwig-reflection jtwig-core jtwig-web jtwig-pluralization jtwig-spring jtwig-translate-ext

Jtwig 298 May 19, 2022